ios9 NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)

NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)


i have this error if i run my ios8 application inside ios9 simulator, what's the problem?

Replies

This is ATS related: iOS 9 and OSX 10.11 require TLSv1.2 SSL for all hosts you plan to request data from. If it's 1.1 or lower, you need to specify exception domains in your app's Info.plist file.


For futher info on how to do that:

https://forums.developer.apple.com/thread/4017

https://forums.developer.apple.com/message/5857%235857

Is there a way to get more details on what url exaclty was called that caused that error?