三星手机出现recvfromftp recv failedd怎么回事

WWW not responding - java.net.SocketException: recvfrom failed: ETIMEDOUT (Connection timed out) - Unity Answers
Navigation
Unity account
You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio.
WWW not responding - java.net.SocketException: recvfrom failed: ETIMEDOUT (Connection timed out)
I have got this issue in my app. Here's the code:
WWW www = new WWW(URL.ToString());
if (www.error != null)
// error handling.
// something useful.blahblah.
www.Dispose();
This code works well in normal situations. However, when I sleep the device for some time(approximately 10 minutes or more) the app is disconnected a tcp connection by server(The App uses TCP connection).
After that, code above is executed and www is not returned shortly and waits approx. 20 minutes. Then www is returned with error, and the error is like this(www.error):
java.net.SocketException: recvfrom failed: ETIMEDOUT (Connection timed out)
What the hell is this? How I solve this problem?
Hint: You can notify a user about this post by typing @username
Attachments: Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
17 People are following this question.android下载文件出现SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)
用AndroidHttpClient下载文件报错,&在网上搜了好久,都没能解决问题。。。
但是用android UC浏览器,或者在pc上下载都是正常的。
考虑一下是不是跟多线程有关?
--- 共有 1 条评论 ---
只启用了一个线程
ECONNRESET错误是连接重置
在这里可能是 读取里面有什么问题,多余的看不出, 贴代码吧
--- 共有 1 条评论 ---
就是用android的DownloadProvider下载的。
最后解决了吗?
--- 共有 2 条评论 ---
应该都是通过重试解决的 不过你重试多少次 什么情况下重试呢
没从根本上解决
只是增加重试java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by pe...
签到天数: 6 天连续签到: 1 天[LV.2]偶尔看看I主题帖子e币
shanhy 发表于
请问消息头里 connection 字段怎么设置,是在httpget.addHeader(&connection &,value); 这样设置吗 ...
我记得是这样的,你是要修改HTTP传输的头部文件?这个改不改和大小事没有关系的,该的话你先看下http协议的格式。
该用户从未签到主题帖子e币
shanhy 发表于
java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)
11-22 14:49:16.870: ...
服务中断了,抛出这个异常,请问是那里的异常?
我这边的原因是cookies里 少加了个AspxAutoDetectCookieSupport=1&
该用户从未签到主题帖子e币
<font color="#2405333 发表于
服务中断了,抛出这个异常,请问是那里的异常?
我这边的原因是cookies里 少加了个AspxAutoDetectCookieSupport=1
该用户从未签到主题帖子e币
我今天也遇到了这个问题,结果看了下报错代码,发现是360安全卫士把端口占用了,然后我把360给关了,就没有报这个错误。。。
签到天数: 2 天连续签到: 1 天[LV.1]初来乍到主题帖子e币
这个问题是怎么出来的,我代码都是一句,只是中间有个值不一样,我上传到服务器,就会出现这个问题,但是如果我把值改为其他的就可以,这个是什么原因?
签到天数: 1 天连续签到: 1 天[LV.1]初来乍到主题帖子e币
我今天也遇到了这个问题,结果看了下报错代码,发现是360安全卫士把端口占用了,然后我把360给关了,就没有 ...
该用户从未签到主题帖子e币
怎么解决呢。。。。。
签到天数: 8 天连续签到: 1 天[LV.3]偶尔看看II主题帖子e币
哎 我也遇到了 我是做了一个本地的Httpserver 老是出这个重复连接的错误
你好,你这问题现在解决了么?&
签到天数: 15 天连续签到: 2 天[LV.4]偶尔看看III主题帖子e币
哎 我也遇到了 我是做了一个本地的Httpserver 老是出这个重复连接的错误
你好,你这问题现在解决了么?
签到天数: 1 天连续签到: 1 天[LV.1]初来乍到主题帖子e币
ECONNRESET ,意思是socket断了,服务端或者客户端,需要重连.
社区贡献者
eoeAndriod社区贡献网友
社区认证会员
社区认证会员
QQ已认证,此人靠谱
推荐阅读热门话题
61882420383327281281261260251226218210206203715
28&分钟前昨天&23:51昨天&09:27前天&23:27前天&15:33前天&14:22前天&10:243&天前3&天前3&天前3&天前3&天前3&天前3&天前3&天前3&天前
Powered by
扫一扫 关注eoe官方微信查看: 42990|回复: 24
java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by pe...
该用户从未签到主题帖子e币
java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)这个异常发生 是什么原因呢
请求下载大文件时,http 请求经常会被重置,是什么原因呢
签到天数: 6 天连续签到: 1 天[LV.2]偶尔看看I主题帖子e币
ok, the answer was that it's the server's fault - it had to close the connection after each request .
it might be that android keeps a pool of connections and use the old one or something like that .
anyway , now it works.
EDIT: according to the API of HttpURLConnection , this can be solved on the client side too:
& & The input and output streams returned by this class are not buffered. Most callers should wrap the returned streams with BufferedInputStream or BufferedOutputStream. Callers that do only bulk reads or writes may omit buffering. When transferring large amounts of data to or from a server, use streams to limit how much data is in memory at once. Unless you need the entire body to be in memory at once, process it as a stream (rather than storing the complete body as a single byte array or string).
& & To reduce latency, this class may reuse the same underlying Socket for multiple request/response pairs. As a result, HTTP connections may be held open longer than necessary. Calls to disconnect() may return the socket to a pool of connected sockets. This behavior can be disabled by setting the http.keepAlive system property to false before issuing any HTTP requests. The http.maxConnections property may be used to control how many idle connections to each server will be held.
taken from: http///reference/java/net/HttpURLConnection.html
这个我也看了,但还是没有解决&
该用户从未签到主题帖子e币
haoliuyou 发表于
ok, the answer was that it's the server's fault - it had to close the connection after each request ...
这个我也看了,但还是没有解决
这个就是端口一直被连接请求导致的问题,你可以尝试开多个端口试下。&
签到天数: 6 天连续签到: 1 天[LV.2]偶尔看看I主题帖子e币
hylinux 发表于
这个我也看了,但还是没有解决
这个就是端口一直被连接请求导致的问题,你可以尝试开多个端口试下。
请求的时候怎么尝试开其他端口啊?&
该用户从未签到主题帖子e币
是请求的时候,设置端口吗?
该用户从未签到主题帖子e币
haoliuyou 发表于
这个就是端口一直被连接请求导致的问题,你可以尝试开多个端口试下。
请求的时候怎么尝试开其他端口啊?
不是 ,你是属于你频繁的去请求的时候,你的端口一直处于占用状态。大文件的时候你可以尝试用socket通信&
签到天数: 6 天连续签到: 1 天[LV.2]偶尔看看I主题帖子e币
shanhy 发表于
请求的时候怎么尝试开其他端口啊?
不是 ,你是属于你频繁的去请求的时候,你的端口一直处于占用状态。大文件的时候你可以尝试用socket通信
有没除了这个方法的解决方案,因为这是项目里的老代码,现在是临时发现这个问题,加socket的话 可能代码量比较多。&
该用户从未签到主题帖子e币
haoliuyou 发表于
不是 ,你是属于你频繁的去请求的时候,你的端口一直处于占用状态。大文件的时候你可以尝试用socket通信 ...
有没除了这个方法的解决方案,因为这是项目里的老代码,现在是临时发现这个问题,加socket的话 可能代码量比较多。
http里面有的时候有,有的时候没有,我用http测试过,用50M的都没有问题,但是就是有一些反应有这个问题,所以我的感觉是有可能是服务器那边的问题。对接口的控制。&
http里面有的时候有,有的时候没有,我用http测试过,用50M的都没有问题,但是就是有一些反应有这个问题,所以我的感觉是有可能是服务器那边的问题。对接口的控制。&
签到天数: 6 天连续签到: 1 天[LV.2]偶尔看看I主题帖子e币
shanhy 发表于
有没除了这个方法的解决方案,因为这是项目里的老代码,现在是临时发现这个问题,加socket的话 可能代码 ...
http里面有的时候有,有的时候没有,我用http测试过,用50M的都没有问题,但是就是有一些反应有这个问题,所以我的感觉是有可能是服务器那边的问题。对接口的控制。
签到天数: 6 天连续签到: 1 天[LV.2]偶尔看看I主题帖子e币
shanhy 发表于
有没除了这个方法的解决方案,因为这是项目里的老代码,现在是临时发现这个问题,加socket的话 可能代码 ...
http里面有的时候有,有的时候没有,我用http测试过,用50M的都没有问题,但是就是有一些反应有这个问题,所以我的感觉是有可能是服务器那边的问题。对接口的控制。
请问消息头里 connection 字段怎么设置,是在httpget.addHeader("connection ",value); 这样设置吗&
该用户从未签到主题帖子e币
我用uc浏览器 ,其他浏览器去下载就没问题,但是我自己这边的浏览器就是有问题。应该不是服务器的问题。可能还是端口被占问题~
该用户从未签到主题帖子e币
java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)
11-22 14:49:16.870: WARN/System.err(3581):& &&&at libcore.io.IoBridge.maybeThrowAfterRecvfrom(IoBridge.java:542)
11-22 14:49:16.870: WARN/System.err(3581):& &&&at libcore.io.IoBridge.recvfrom(IoBridge.java:506)
11-22 14:49:16.870: WARN/System.err(3581):& &&&at java.net.PlainSocketImpl.read(PlainSocketImpl.java:488)
11-22 14:49:16.870: WARN/System.err(3581):& &&&at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46)
11-22 14:49:16.870: WARN/System.err(3581):& &&&at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240)
11-22 14:49:16.870: WARN/System.err(3581):& &&&at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:103)
11-22 14:49:16.870: WARN/System.err(3581):& &&&at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:191)
11-22 14:49:16.870: WARN/System.err(3581):& &&&at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:82)
11-22 14:49:16.870: WARN/System.err(3581):& &&&at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:174)
11-22 14:49:16.870: WARN/System.err(3581):& &&&at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:180)
11-22 14:49:16.870: WARN/System.err(3581):& &&&at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:235)
11-22 14:49:16.870: WARN/System.err(3581):& &&&at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:259)
11-22 14:49:16.870: WARN/System.err(3581):& &&&at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279)
11-22 14:49:16.870: WARN/System.err(3581):& &&&at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
11-22 14:49:16.870: WARN/System.err(3581):& &&&at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:428)
11-22 14:49:16.870: WARN/System.err(3581):& &&&at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
11-22 14:49:16.870: WARN/System.err(3581):& &&&at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
11-22 14:49:16.870: WARN/System.err(3581):& &&&at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
11-22 14:49:16.870: WARN/System.err(3581):& &&&at com.cplatform.android.cmsurfclient.download.provider.AndroidHttpClient.execute(AndroidHttpClient.java:172)
11-22 14:49:16.870: WARN/System.err(3581):& &&&at com.cplatform.android.cmsurfclient.download.provider.DownloadThread.run(DownloadThread.java:205)
11-22 14:49:16.900: WARN/System.err(3581): Caused by: libcore.io.ErrnoException: recvfrom failed: ECONNRESET (Connection reset by peer)
11-22 14:49:16.900: WARN/System.err(3581):& &&&at libcore.io.Posix.recvfromBytes(Native Method)
11-22 14:49:16.900: WARN/System.err(3581):& &&&at libcore.io.Posix.recvfrom(Posix.java:131)
11-22 14:49:16.900: WARN/System.err(3581):& &&&at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:164)
11-22 14:49:16.900: WARN/System.err(3581):& &&&at libcore.io.IoBridge.recvfrom(IoBridge.java:503)
11-22 14:49:16.900: WARN/System.err(3581):& &&&... 18 more
服务中断了,抛出这个异常,请问是那里的异常?&
这个在网络连接非常慢的时候,也是会发生这个异常的&
该用户从未签到主题帖子e币
shanhy 发表于
java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)
11-22 14:49:16.870: ...
这个在网络连接非常慢的时候,也是会发生这个异常的
可是现在不是网速慢的问题引起的,请问消息头里 connection 字段怎么设置,是在httpget.addHeader("connection ",value); 这样设置吗&
该用户从未签到主题帖子e币
hylinux 发表于
这个在网络连接非常慢的时候,也是会发生这个异常的
可是现在不是网速慢的问题引起的,请问消息头里 connection 字段怎么设置,是在httpget.addHeader(&connection &,value); 这样设置吗
该用户从未签到主题帖子e币
haoliuyou 发表于
http里面有的时候有,有的时候没有,我用http测试过,用50M的都没有问题,但是就是有一些反应有这个问题 ...
请问消息头里 connection 字段怎么设置,是在httpget.addHeader(&connection &,value); 这样设置吗
我记得是这样的,你是要修改HTTP传输的头部文件?这个改不改和大小事没有关系的,该的话你先看下http协议的格式。&
社区贡献者
eoeAndriod社区贡献网友
推荐阅读热门话题
61882420383327281281261260251226218210206203715
28&分钟前昨天&23:51昨天&09:27前天&23:27前天&15:33前天&14:22前天&10:243&天前3&天前3&天前3&天前3&天前3&天前3&天前3&天前3&天前
Powered byjava.net.SocketException: recvfrom failed: ETIMEDOUT (Connection timed out) [java.net.SocketException:recvfrom失败:ETIMEDOUT(连接超时)] - 问题-字节技术
java.net.SocketException: recvfrom failed: ETIMEDOUT (Connection timed out)
java.net.SocketException:recvfrom失败:ETIMEDOUT(连接超时)
问题 (Question)
I am making HTTP requests too frequently and after some time getting this Exception:
java.net.SocketException: recvfrom failed: ETIMEDOUT (Connection timed out)
I have gone through all of this .
But I don't get how to solve this. They have mentioned to clear the DNS cache, but I need to clear it in runtime, so that my execution does not stop working, which is not possible in Android.
Can anybody tell me the solution.
Here is my log:
06-04 11:14:08.119: W/System.err(8338): java.net.SocketException:
recvfrom failed: ETIMEDOUT (Connection timed out) 06-04 11:14:08.139:
W/System.err(8338):
libcore.io.IoBridge.maybeThrowAfterRecvfrom(IoBridge.java:552) 06-04
11:14:08.139: W/System.err(8338):
libcore.io.IoBridge.recvfrom(IoBridge.java:516) 06-04 11:14:08.139:
W/System.err(8338):
java.net.PlainSocketImpl.read(PlainSocketImpl.java:489) 06-04
11:14:08.139: W/System.err(8338):
java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46) 06-04
11:14:08.139: W/System.err(8338):
java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:241)
06-04 11:14:08.139: W/System.err(8338):
org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:103)
06-04 11:14:08.139: W/System.err(8338):
org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:191)
06-04 11:14:08.139: W/System.err(8338):
org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:82)
06-04 11:14:08.139: W/System.err(8338):
org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:174)
06-04 11:14:08.139: W/System.err(8338):
org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:180)
06-04 11:14:08.139: W/System.err(8338):
org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:235)
06-04 11:14:08.139: W/System.err(8338):
org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:259)
06-04 11:14:08.139: W/System.err(8338):
org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279)
06-04 11:14:08.139: W/System.err(8338):
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
06-04 11:14:08.139: W/System.err(8338):
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:428)
06-04 11:14:08.139: W/System.err(8338):
org.apache.http.impl.client.AbstractHttpClient$1.executeRequestSending(AbstractHttpClient.java:608)
06-04 11:14:08.139: W/System.err(8338):
org.apache.http.impl.client.naf.redirect.NafRequestExecutorWrapperRedirectionHandler.executeRequestSendingUsual(NafRequestExecutorWrapperRedirectionHandler.java:96)
06-04 11:14:08.139: W/System.err(8338):
org.apache.http.impl.client.naf.redirect.NafRequestExecutorWrapperRedirectionHandler.executeRequestSending(NafRequestExecutorWrapperRedirectionHandler.java:73)
06-04 11:14:08.139: W/System.err(8338):
org.apache.http.impl.client.naf.auth.NafHttpAuthStrategyDefault.sendFirstRequest(NafHttpAuthStrategyDefault.java:488)
06-04 11:14:08.139: W/System.err(8338):
org.apache.http.impl.client.naf.auth.NafHttpAuthStrategyDefault.performAuthExecutionUnsafe(NafHttpAuthStrategyDefault.java:389)
06-04 11:14:08.139: W/System.err(8338):
org.apache.http.impl.client.naf.auth.NafHttpAuthStrategyDefault.performAuthExecution(NafHttpAuthStrategyDefault.java:200)
06-04 11:14:08.139: W/System.err(8338):
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:557)
06-04 11:14:08.139: W/System.err(8338):
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:509)
06-04 11:14:08.139: W/System.err(8338):
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
我使HTTP请求过于频繁,一段时间后,这个异常:java.net.SocketException:recvfrom失败:ETIMEDOUT(连接超时)我经历了所有这一切.但我不明白如何解决这个问题。他们提到过明确的DNS缓存,但我需要清楚它在运行时,以便我执行不停止工作,在Android是不可能的。谁能告诉我解决方案。这是我的日志:06-04 11:14:08.119: W/System.err(8338): java.net.SocketException: recvfrom failed: ETIMEDOUT (Connection timed out) 06-04 11:14:08.139: W/System.err(8338): at libcore.io.IoBridge.maybeThrowAfterRecvfrom(IoBridge.java:552) 06-04 11:14:08.139: W/System.err(8338): at libcore.io.IoBridge.recvfrom(IoBridge.java:516) 06-04 11:14:08.139: W/System.err(8338): at java.net.PlainSocketImpl.read(PlainSocketImpl.java:489) 06-04 11:14:08.139: W/System.err(8338): at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46) 06-04 11:14:08.139: W/System.err(8338): at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:241) 06-04 11:14:08.139: W/System.err(8338): at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:103) 06-04 11:14:08.139: W/System.err(8338): at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:191) 06-04 11:14:08.139: W/System.err(8338): at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:82) 06-04 11:14:08.139: W/System.err(8338): at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:174) 06-04 11:14:08.139: W/System.err(8338): at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:180) 06-04 11:14:08.139: W/System.err(8338): at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:235) 06-04 11:14:08.139: W/System.err(8338): at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:259) 06-04 11:14:08.139: W/System.err(8338): at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279) 06-04 11:14:08.139: W/System.err(8338): at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121) 06-04 11:14:08.139: W/System.err(8338): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:428) 06-04 11:14:08.139: W/System.err(8338): at org.apache.http.impl.client.AbstractHttpClient$1.executeRequestSending(AbstractHttpClient.java:608) 06-04 11:14:08.139: W/System.err(8338): at org.apache.http.impl.client.naf.redirect.NafRequestExecutorWrapperRedirectionHandler.executeRequestSendingUsual(NafRequestExecutorWrapperRedirectionHandler.java:96) 06-04 11:14:08.139: W/System.err(8338): at org.apache.http.impl.client.naf.redirect.NafRequestExecutorWrapperRedirectionHandler.executeRequestSending(NafRequestExecutorWrapperRedirectionHandler.java:73) 06-04 11:14:08.139: W/System.err(8338): at org.apache.http.impl.client.naf.auth.NafHttpAuthStrategyDefault.sendFirstRequest(NafHttpAuthStrategyDefault.java:488) 06-04 11:14:08.139: W/System.err(8338): at org.apache.http.impl.client.naf.auth.NafHttpAuthStrategyDefault.performAuthExecutionUnsafe(NafHttpAuthStrategyDefault.java:389)06-04 11:14:08.139:W(8338):/ system . err在org.apache.http.impl.client.naf.auth.NafHttpAuthStrategyDefault.performAuthExecution(NafHttpAuthStrategyDefault.java:200)06-04 11:14:08.139:W(8338):/ system . err在org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:557)06-04 11:14:08.139:W(8338):/ system . err在org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:509)06-04 11:14:08.139:W(8338)/ system . err:org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
最佳答案 (Best Answer)
See : "You can get this if the TCP connection times out, either through a keepalive timeout or the protocol hits the maximum number of transmit retries." It doesn't have anything to do with DNS.
看到:“你可以得到这个如果TCP连接超时,通过keepalive超时或协议传输重试的最大数量。“它没有任何与DNS。
本文翻译自StackoverFlow,英语好的童鞋可直接参考原文:

我要回帖

更多关于 recv failed 的文章

 

随机推荐