I upgrade my phone to iOS 10.3 today. And I suddenly ran into a network interaction problem. I am using AFNetworking. I also tried NSURLConnection, but no luck.
Error: "Network connection was lost (1005)."
It works fine in all lower versions.
Important things I noticed that some small response body API works, but a large response body API does not work.
My request time is 60.
In Postman, all small and large APIs work fine.
I also check the keep-alive header on the server side, but no luck.
Below is my header paramater request:
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://stackoverflow.com >
Another thing I tried to download the URL in Safari and Google Chrome on my V10.3 iOS device, but the same error occurred ==> "Network connection was lost (1005)"
Is this issue iOS 10.3?
Whoever comes across and resolves this problem, please help me.
Thanks.
source share