java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)
有一天我的androidHttpURLConnection 报这种错。
你看 to reduce latency,this class may reuse the same underlying Socket for.......懂了吧 ,我们访问频率又不大,果断关掉。System.setProperty("http.keepAlive", "false");
ok 解决~~。