appwrite/sdk-for-apple

Getting HTTPClientError.cancelled on any request made

chellem opened this issue ยท 0 comments

๐Ÿ‘Ÿ Reproduction steps

let client = Client()
    .setEndpoint("https://192.168.73.147/v1") // Your API Endpoint
    .setProject("6191fa814055a") // Your project ID
    .setSelfSigned()
let account = Account(client)
        account.create(email: "email@example.com", password: "password") { result in
            DispatchQueue.main.async {
            switch result {
            case .failure(let error): print(error.message)
            case .success(let user): print(String(describing: user))
            }
     }
}

๐Ÿ‘ Expected behavior

// New user created?

๐Ÿ‘Ž Actual Behavior

HTTPClientError.cancelled
2021-11-16 12:35:26.529613+0400 main[8722:1715522] [connection] nw_endpoint_handler_set_adaptive_read_handler [C2 192.168.73.147:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed
2021-11-16 12:35:26.529971+0400 main[8722:1715522] [connection] nw_endpoint_handler_set_adaptive_write_handler [C2 192.168.73.147:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed

๐ŸŽฒ Appwrite version

Version 0.10.x

๐Ÿ’ป Operating system

MacOS

๐Ÿงฑ Your Environment

I use AppWrite locally

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?