Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Constant -1003 or -1005 network error #2806
All of a sudden all request returns -1003 or -1005 immediately within a split second. Its mostly happening for GET request, as that is being used more. But this happens out of the blue. Retrying it doesn't make any difference, after a 2-5 minute gap if you try again it works.
I'm using 2.5.0, here is the code below how is use, its pretty same as the example code.
I've in one of the issues (forgot which one) someone said that calling it twice will solve it, i tried the same, not just twice, but like a 100 times, still fails. Not sure if the root cause if from AFNetworking or underlying Apple libraries. Any help will be appreciated.
All of our tests are currently passing, so I would assume there is something going on with your network and/or server.
If you can create a sample project/test that reproduces the problem, I'd be happy to look into it further.
Also, it might be time to look into to migrating to