1 Reply
      Latest reply: Dec 7, 2016 6:53 AM by eskimo RSS
      nk90 Level 1 Level 1 (0 points)

        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?

        • Re: Getting timeout while making a network post request with ATS enabled
          eskimo Apple Staff Apple Staff (6,665 points)

          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"