A server with the specified hostname could not be found in AFNetworking

亡梦爱人 提交于 2019-12-03 17:04:48
Mohit

Basically it's a server side issue. This error occur when your server is not responding or your server looks like in sleep mode.

I have also fetch this same issues many time. But, in my case when i switch to another WiFi network or Switch ON/OFF WiFi then it was automatically solved. Please try that and let us know your comments.

Thanks!

I know this is an old thread, but I was also running into this problem. Resetting the device fixed the issue for me. I believe it may have something to do with DNS Pollution. I didn't have the issue after resetting so I couldn't keep testing, but I have read that turning on airplane mode and turning it off again works too.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!