Ever since IOS 9 was released I’ve started getting this error and I am unable to send web requests to our server and get any response.
NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)
This is despite the fact that as far as I can see all my uses of the WWW class are to https url’s
I found various answers to this issue when using http: saying you can add domains to NSAppTransportSecurity in the Info.plist or even allow all domains to use http (not advised) by adding
NSAllowsArbitraryLoads
However this has not solved the issue for me and anyway I’m already using https calls so why would I need it.
So 2 questions:
- How can I get to see the actual URL that Xcode is choking on? All you get in the console is the error above and no record of the actual url.
- Does the WWW class work nicely with the new IOS 9 protocols?