Skip to content

Connection Timed out Error  #101

@MohamedJaffer-24

Description

@MohamedJaffer-24

"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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions