Getting timeout while making a network post request with ATS enabled

Hi,

I am getting timeout while making a post request with large payload, ATS (Allow Arbitary Loads is false)is enabled and the url is secured. And the same is working fine when "AllowArbitaryloads" is set to true. I am using NSURLConnection class for the request. Could anyone please help me with this?

Replies

I am getting timeout while making a post request with large payload …

Does the size of the payload matter?

Regardless, you need to look at what’s happening on the ‘wire’. My guess is that ATS is forcing the server to negotiate a more secure flavour of TLS, and that the server is not handling that properly (I’ve seen this sort of problem many times before). However, it’s hard to know for sure without looking at a packet trace. See QA1176 Getting a Packet Trace for information about how to get one.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"