[ad_1]
My app was working fine on my device until yesterday. It suddenly stopped doing network requests. All of the network requests (including the first one) are dropping with a 1005 error code. I haven’t changed anything. My network library is Alamofire.
-
I have tested it on another device and it still works well.
-
I have tested it on simulators and it works well.
-
I have changed my router and restarted my device and nothing changed.
-
I have changed the keep-alive timeout to a bigger number and nothing
changed. -
I always retry the request but nothing changes. Each request is
dropping with the same error code. -
Tried on LTE nothing changed.
I feel like this is an iOS bug. Because most of the Stackoverflow posts say this is happening because of the Keep-Alive timeout. But all of my requests are dropping on my device including the first one.
Is there a way to resolve this?
[ad_2]