Http call not working when testing on iPhone


#1

I have an app that does a $http call to get some data from amazon aws. The app works fine on the browse, but when I compile on xcode and test on the device I get the following error.

NSURLConnection HTTP load fail (kCFStramErrorDomainSSL,-9802).

Thanks,
Ennio


#2

You ran into App Transport Security restriction introduced in iOS9. Please read:

http://blog.ionic.io/preparing-for-ios-9/


#3

Missed that post :slight_smile: that fixed the issue.