I update my phone to iOS 10.3 today. And I suddenly faced a networking issue. I am using AFNetworking. I also try NSURLConnection but no luck.
The error is "Network connection was lost (1005)".
It is working fine in all lower version.
The important things i noticed that some small response body API is working but large response body API is not working.
My request time out is 60.
In Postman all the small and large API is working fine.
I also check for keep-alive header in server side but no luck.
Following are my request header paramater:
Content-Type : application/json
Content-Encoding : gzip
Content-Length : 217125
Connection : close
Server : Apache/2.4.18(Ubuntu)
Vary : Accept-Encoding
Date : Tue, 28 Mar 2017 06:33:50 GMT
I tried this link ==> https://mcmap.net/q/100130/-error-domain-nsurlerrordomain-code-1005-quot-the-network-connection-was-lost-quot but no luck
One more thing I tried to load URL in safari and google chrome in my V10.3 iOS device but same error occurred ==> "Network connection was lost (1005)"
Is this issue of iOS 10.3?
Anyone who faced and solve this issue please help me.
Thanks.
-1005
-unless I'm mistaken). Did you try any of the solutions? – TufthunterNSURLConnection
. I expect this might be a factor, so I'm currently in the process of upgrading to v3. I expect this will resolve the issues, but I'll report back whether this was successful or not! – Freud