最近开发ios遇到这个问题 (-1003 a server with the specified hostname could not be found )。
每隔30分钟-1小时必然出现一次这个错误。
服务器网络正常(生产服务器,如果有问题早就有用户反馈了)。
客户端网络应该也没问题(同样连接一台服务器的安卓版的程序也没出现过网络异常)。
迷茫2017-04-17 13:30:04
Visual guess is that it is caused by the instability of local domain name resolution. It will not affect the online process
大家讲道理2017-04-17 13:30:04
I also encountered such a problem, and I don’t know how to solve it. It usually lasts for one minute after such an error occurs, but it seems that this has not happened in the Android client.