Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection Timed out Error #101

Open
MohamedJaffer-24 opened this issue Jul 22, 2022 · 0 comments
Open

Connection Timed out Error #101

MohamedJaffer-24 opened this issue Jul 22, 2022 · 0 comments

Comments

@MohamedJaffer-24
Copy link

"Error! Error Domain=com.instacart.TrueTimeErrorDomain Code=2 "The connection timed out." UserInfo={NSLocalizedDescription=The connection timed out.}"

Version : TrueTime (5.0.3)

My code:

let client = TrueTimeClient.sharedInstance
client.start()
let now = client.referenceTime?.now()
client.fetchIfNeeded { result in
    switch result {
        case let .success(referenceTime):
            let now = referenceTime.now()
        case let .failure(error):
            print("Error! \(error)")
    }
}

It was working before. When i check this yesterday, I came with this error. Kindly check this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant