经常出现的Connection reset by peer: 原因可能是多方面的,不过更常见的原因是:①:服务器的并发连接数超过了其承载量,服务器会将其中一些连接Down掉;②:客户关掉了浏览器,而服务器还在给客户端发送数据;③:浏览器端按了Stop
[10054] Connection reset by peer
Connection reset by peer is a tough one because it can be caused by so many things. In all cases, the server determines that the socket is no longer good and closes it from its side.

Read Error
Scenario: Mary couldn't make out what Joe was saying anymore, so she hung up rather than lose his messages (data).
A read error occurs when a server cannot successfully read from a user's client. Servers gather information from the client by text, setup, and other items.When the server receives an error when reading from a client, it then disconnects the user, resulting in a read error quit message.

Write Error
Scenario: Mary was trying to talk to Joe but didn't think she was getting through, so she hung rather than lose his messages (data).
A write error occurs when a server cannot successfully write to a user's client. When the server receives information, it usually responds with information of its own. When the server receives an error when writing to a client, it then disconnects the user, resulting in a write error quit message similar to the read error format.

Ping Timeout Error
Scenario: Mary, having been raised in a household with too many kids and always craving attention, keeps asking to make sure that Joe is still on the line and listening. If he doesn't reply fast enough to suit her, she hangs up.
Servers automatically ping users at a preset time. The reason for this is to ensure the client is still connected to the server. When you see "PING? PONG!" results in your status window, it means the server has pinged your client, and it has responded back with a pong to ensure the server that you are still connected. When this does not happen and you disconnect without the server's knowledge, the server will automatically disconnect the user when it does not receive a response, resulting in a ping timeout. Ping timeouts occur to EVERYONE.

Broken pipe Error
Scenario: Mary had picked up a sticky note with a message she needed to relay to Joe, but somehow between her hand and her mouth, the message got misplaced. Mary was trying to talk to Joe but didn't think she was getting through, so she hung up rather than lose his messages (data).
A broken pipe error occurs when the server knows it has a message but can't seem to use its internal data link to get the data out to the socket.

Miscellaneous
Scenario: Lots of other reasons; perhaps the operator broke in and gave Mary a message that made her doubt the validity of the call so she hung up.

Connection reset by peer的原因相关推荐

  1. Tomcat:Connection reset by peer: socket write error

    Connection reset by peer: socket write error错误分析及解决 Connection reset by peer: socket write error错误分析 ...

  2. Connection reset by peer (秒懂)

    疯狂创客圈 经典图书 : <Netty Zookeeper Redis 高并发实战> 面试必备 + 面试必备 + 面试必备 [博客园总入口 ] 疯狂创客圈 经典图书 : <Sprin ...

  3. 分析connection reset by peer, socket write error错误原因

    上次写<connection reset by peer, socket write error问题排查>已经过去大半年,当时把问题"敷衍"过去了. 但是此后每隔一段时 ...

  4. 重新分析connection reset by peer, socket write error错误原因

    上次写<connection reset by peer, socket write error问题排查>已经过去大半年,当时把问题"敷衍"过去了. 但是此后每隔一段时 ...

  5. Connection reset by peer的常见原因及常见网络异常

    Connection reset by peer的常见原因: 1)服务器的并发连接数超过了其承载量,服务器会将其中一些连接关闭: 如果知道实际连接服务器的并发客户数没有超过服务器的承载量,则有可能是中 ...

  6. Connection reset by peer的常见原因

    Connection reset by peer的常见原因: 1)服务器的并发连接数超过了其承载量,服务器会将其中一些连接关闭: 如果知道实际连接服务器的并发客户数没有超过服务器的承载量,则有可能是中 ...

  7. connection reset by peer问题总结及解决方案

    找遍了 中英文网站,翻遍了能找的角落,发现了出现故障的原因和原理,及改如何处理,这里记录下,希望能帮助到有需要的小伙伴,少走点弯路, 以上就整理内容: connection reset by peer ...

  8. error connection reset by peer 104

    connection reset by peer的常见原因 1.服务器的并发连接数超过了其承载量,服务器会将其中一些连接关闭: 2. errno = 104错误表明你在对一个对端socket已经关闭的 ...

  9. Netty 中 IOException: Connection reset by peer 与 java.nio.channels.ClosedChannelException: null

    最近发现系统中出现了很多 IOException: Connection reset by peer 与 ClosedChannelException: null 深入看了看代码, 做了些测试, 发现 ...

最新文章

  1. 再学 GDI+[33]: TGPPen - 画笔的几何变换 - SetTransform
  2. 在一个公司死磕了5-10年的人,最后都怎么样了?
  3. DL之YoloV3:YoloV3论文《YOLOv3: An Incremental Improvement》的翻译与解读
  4. [Emgu]判断一张图片是否在另一张图片中
  5. 诗与远方:无题(十一)
  6. 对VSCode在安装了Dev-cpp的电脑上的配置
  7. SylixOS 内存管理-通过地址反查页面控制块-vmmArea.c
  8. 记:通过Swagger-ui 生成json
  9. 复制百度文库内容方法
  10. 超宽带 DWM1000模块 校准
  11. 【路径规划】全局路径规划算法——动态规划算法(含python实现)
  12. 国内PC版64位谷歌浏览器离线下载安装地址
  13. Android开发 入门篇(一)
  14. 重头戏!ZeroMQ的发布-订阅模式详解:ZMQ_PUB、ZMQ_SUB
  15. PS带框的对号怎么打
  16. 如何在资源管理器中恢复“最近文件夹”
  17. 四川文科高考300分可以上什么专科
  18. Nginx+Tomcat负载均衡的部署
  19. 关键词生成的相关资源
  20. PMP项目管理知识体系(全集),建议收藏

热门文章

  1. Vue开发微信小程序
  2. php编辑ppt方法 PHPPowerPoint类 学习
  3. 话筒性能测试软件,无线话筒主要性能的测试方法
  4. ABAP FB01 BAPI过账
  5. Angular 4.0_在线竞拍网站(2)_创建项目
  6. Capture One Pro 12 新特性
  7. AVG Anti-Virus Free 2011 V10.0.0.1136简介与下载
  8. 正点原子中 IIC 例程中SDA_IN()和SDA_OUT()函数理解
  9. 速报绘制单位组织结构图!PPT和亿图图示对比
  10. 面试官问“谈谈你对加班的看法“?