Post

Replies

Boosts

Views

Activity

What is kCFStreamErrorCodeKey=-4 (kCFStreamErrorDomainKey=4)
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
1
1
4.7k
Oct ’21
Timeout for attestKey(_:clientDataHash:completionHandler:)
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
Replies
0
Boosts
0
Views
894
Activity
May ’22
What is kCFStreamErrorCodeKey=-4 (kCFStreamErrorDomainKey=4)
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
Replies
1
Boosts
1
Views
4.7k
Activity
Oct ’21