getting intermittent SSL error in iOS. I disabled ATS, and we know that this happens in OS versions, iOS9 also
Domain Error = NSURLErrorDomain Code = 1011 "An SSL error has occurred and a secure connection to the server is not possible." UserInfo = {NSLocalizedDescription = An SSL error has occurred and a secure connection to the server is not possible. NSLocalizedRecoverySuggestion = Do you want to connect to the server? anyway ?, _kCFStreamErrorCodeKey = -9806 NSErrorFailingURLStringKey =, _kCFStreamErrorDomainKey = 3, NSUnderlyingError = 0x1471b600
from our criterism journals, it seems some users can replicate this. but we could not
Would you like to connect to the server anyway? <- this makes me suspect that there was authentication. How can I check this?
kCFStreamErrorCodeKey=-9806 - Does anyone know what this error means?
Edit:
-9806 means errSSLClosedAbort http://www.opensource.apple.com/source/Security/Security-55179.13/libsecurity_ssl/Security/SecureTransport.h
what can cause this? I donβt think this is due to the spotted network, because from our snooping tools, SSL connections to other hosts look fine. and when the user encounters this problem, he is re-processed. I think we need to check the failure using wirehark in order to get more information. but we could not repeat it. Does anyone have ideas logging additional information from applications in the wild to debug this?
source share