iOS Question Error trying to connect via HTTP

AHilton

Active Member
Licensed User
Longtime User
I'm getting this error ...

HTTP Job Error: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.

... When trying to connect via the iHTTP V1.01 and HttpJob / HttpUtils2Service.

I'm porting an Android app over to iOS and haven't changed much at all in the http stuff so I may not be going about it correctly from the beginning. I'm running this on a local Mac with the simulator (verson 9) on XCode 7 beta. It's trying to connect to another computer on the same LAN running a B4J server.

Does something need to be changed in the code or is it something to do with settings on the Mac/Simulator?
 

AHilton

Active Member
Licensed User
Longtime User
That works. Thanks.

When the app goes "live" (as opposed to the testing I'm doing now), it'll be connecting to a B4J server running on a machine with a webserver with SSL certs. Should I re-enable ATS for the "live" app and support SSL in the B4J application?
 
Upvote 0
Top