Linked Questions
48 questions linked to/from NSURLSession/NSURLConnection HTTP load failed on iOS 9
-6 votes
1 answer
1k views
call http:// is not working in ios 9 [duplicate]
NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9843) no data found: Optional(Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might ...
2 votes
1 answer
774 views
xCode 7 update broke Cordova jQuery $.ajax() calls [duplicate]
I recently updated xCode to version 7 and it appears that the update broke the $.ajax() call in a Cordova applicatoin. I used HTTP scoop to try to see what type of call was being made to attempt to ...
0 votes
3 answers
292 views
NSURLSession - DownloadTask doesn't work with some URL [duplicate]
Here the code: let url = NSURL(string: "http://a337.phobos.apple.com/us/r30/Music/d5/a8/6b/mzi.msfqeogi.aac.p.m4a") let downloadTask = self.downloadSession.downloadTaskWithURL(url!) downloadTask....
2 votes
0 answers
88 views
API calls doesn't run with iOS9 [duplicate]
I was testing iOS9 in my iPhone5 and I have realized that my API calls doesn't run. I made the call but it doesn't send anything to my backend. This is my method: -(void)placePostRequest:(NSString *)...
206 votes
11 answers
121k views
CFNetwork SSLHandshake failed iOS 9
has anyone with the iOS 9 beta 1 had this issue? I use standard NSURLConnection to connect to a webservice and as soon as a call is made to the webservice i get the below error. This is currently ...
38 votes
6 answers
44k views
App Transport Security Xcode 7 beta 6
I'm currently working on Xcode 7 beta 6. I'm trying to send a "DELETE" request to http://mySubdomain.herokuapp.com The error I receive is: App Transport Security has blocked a cleartext HTTP (...
42 votes
7 answers
76k views
NSURLSession "HTTP load failed kCFStreamErrorDomainSSL, -9813 ; Self signing certificate
I'm trying to connect my iOS app to an HTTPS Rails app which is currently run on a local host in my network. I can access the site from my browser with https://myIP:3000/display as well as in the ...
30 votes
4 answers
8k views
Is it possible to disable ATS in iOS 9 just for debug environment?
I'm working on a development environment without HTTPS setup. Is it possible to automatically disable ATS just for the development (debug) mode?
23 votes
5 answers
33k views
kCFStreamErrorDomainSSL, -9802 when connecting to a server by IP address through HTTPS in iOS 9
We have an iOS app that connects to our server through HTTPS. When the app is built with the new iOS 9 SDK and ran under iOS 9, the following error occurs: NSURLSession/NSURLConnection HTTP load ...
8 votes
3 answers
17k views
Swift/https: NSURLSession/NSURLConnection HTTP load failed
Unfortunately this morning my XCode updated to version 7 and the iOS app I was developing with http now wants https. So, following many tutorials, I configured my MAMP server in order to use https/ssl ...
5 votes
2 answers
11k views
IOS 9 NSURLConnection deprecated
I upgraded to IOS9 xcode, and I do not work the method of obtaining answer of my webservice , this part NSData *urlData=[NSURLConnection sendSynchronousRequest:request returningResponse:&response ...
4 votes
2 answers
7k views
NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)
I am getting the error: NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802), and I suspect that it is because of querying for images from Parse. Here is the method where I ...
7 votes
2 answers
3k views
Strange (bug ?) with Xcode 7 / iOS 9 b5 with dataWithContentsOfURL
I have a part of code who works as expected on all iOS versions, but not on iOS 9: NSData *response = [NSData dataWithContentsOfURL: [NSURL URLWithString: url] options:NSDataReadingUncached error:&...
4 votes
3 answers
11k views
NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)
I am trying for an HTTP call on https. Here is my code snippet. NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:[NSURL ...
1 vote
1 answer
8k views
How do you bypass SSL security errors in iOS apps?
I'm trying to connect to an ASP.NET MVC server from iOS but since I am running it locally I don't have a real certificate for it. I can browse to the HTTPS URL I am connecting to, but Simulator throws ...