Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: tidb报错 connection reset by peer
May I ask why TiDB reports this error during concurrent inserts, and the program reports “gone away”?
[conn.go:1077] [“read packet failed, close this connection”] [conn=11480607] [error=“read tcp xxxx:4000->xxxx:58781: read: connection reset by peer”]
The “connection is reset by peer” issue is generally not caused by TiDB disconnecting, but rather by a component on the link actively cutting off the connection. Check if it might be caused by load balancing. You can refer to similar posts:
https://asktug.com/t/topic/182953
It should be that the upper layer load corresponding to the TiDB server has encountered an issue. You can check the address mentioned in your error message:
[error=“read tcp xxxx:4000->xxxx:58781: read: connection reset by peer”]
This topic will be automatically closed 60 days after the last reply. No new replies are allowed.