I faced the below issues in my request logs, the users who have reported this only on iOS 14.6 iOS 14.7 , I do not understand why.
-
only found on iOS 14.6 and iOS 14.7
-
https://developer.apple.com/documentation/cfnetwork/kcferrordomaincfnetwork
-
AFN Version: 4.0.1
-
error logs:
Optional(Error Domain=kCFErrorDomainCFNetwork Code=310 "(null)" UserInfo={_NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <D47C60FA-62F4-4676-B504-B2C181C91263>.<8>, _kCFStreamErrorDomainKey=4, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <D47C60FA-62F4-4676-B504-B2C181C91263>.<8>"
), _kCFStreamErrorCodeKey=-2102})
How can I resolve this issue ? Thanks
How can I resolve this issue ?
A kCFErrorDomainCFNetwork
error code 310 refers to a HTTPS proxy failure, or rather kCFErrorHTTPSProxyConnectionFailure
. So, this is what I would focus your debugging efforts if you have a LocalDataTask
that is connecting to a HTTPS proxy.
Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com