iOS 14.6 & 14.7 Request Error with Domain=kCFErrorDomainCFNetwork Code=310

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.


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

Answered by Systems Engineer in 683221022

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
Accepted Answer

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

I have the same question. How can I solve it?

error is Error Domain=kCFErrorDomainCFNetwork Code=310 "(null)" UserInfo={_NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask .<529>, _kCFStreamErrorDomainKey=4, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask .<529>" ), _kCFStreamErrorCodeKey=-2102}

iOS 14.6 &amp; 14.7 Request Error with Domain=kCFErrorDomainCFNetwork Code=310
 
 
Q