Post not yet marked as solved
Hi,
Is there a default timeout for the attestKey method?
From doc:
If the method’s completion handler returns the serverUnavailable error — typically due to network connectivity issues — it means that the framework failed to reach the App Attest service to complete the attestation
Br, Johan
Hi,
Got the following error when connecting to a server (which I'm not in control of):
Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo={_kCFStreamErrorCodeKey=-4, NSUnderlyingError=0x6000034bd530 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 "(null)" UserInfo={NSErrorPeerAddressKey=<CFData 0x6000018f02d0 [0x7fff8a349bf0]>{length = 16, capacity = 16, bytes = 0x100201bb8b7011830000000000000000}, _kCFStreamErrorCodeKey=-4, _kCFStreamErrorDomainKey=4}
Looks like NSURLErrorDomain Code=-1005 is:
https://developer.apple.com/documentation/cfnetwork/cfnetworkerrors/cfurlerrornetworkconnectionlost
But couldn't find what kCFStreamErrorCodeKey=-4 means.
Is this error code defined anywhere (for example in a header file)? Or is it only an internal error code?
Br, Johan