Http call not working when testing on iPhone


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).



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


Missed that post :slight_smile: that fixed the issue.