sofa-rpc icon indicating copy to clipboard operation
sofa-rpc copied to clipboard

ConnectionCloseException: connection closed! the address is

Open crazyStar00 opened this issue 2 years ago • 2 comments

Your question

我们的服务部署了30+的服务器,其中有两个节点,客户端报这个问题,其他节点没有问题 程序架构:使用sofa-rpc的bolt协议 请问下是什么原因造成的呢?或者需要调整netty的参数吗?

Environment

  • SOFARPC version: sofa-rpc-5.8.0,sofa-bolt-1.5.9
  • JVM version (e.g. java -version): jdk1.8
  • OS version (e.g. uname -a): 操作系统为国产的凝思磐石操作系统,可以认为是debian 4 image

crazyStar00 avatar Aug 16 '22 09:08 crazyStar00

There are more scenarios where the link is broken, such as when a packet of an unknown protocol is received on a long link, or when there is a restart on the server side. If the environment is normal, this problem is unlikely to occur, so do some troubleshooting based on your Linux environment.

JervyShi avatar Sep 08 '22 08:09 JervyShi

问题解决了,是操作系统问题,当服务端接收到请求后,服务端就假死了,导致连接异常。

crazyStar00 avatar Sep 14 '22 01:09 crazyStar00

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 14 '22 06:11 stale[bot]