websocket icon indicating copy to clipboard operation
websocket copied to clipboard

[bug] read tcp: read: connection reset by peer

Open rudyares opened this issue 2 years ago • 1 comments

err:"read tcp: read: connection reset by peer" occurs too often when I call Conn.ReadMessage()

rudyares avatar Dec 07 '22 10:12 rudyares

I like this project, maybe I'll start working on helping close old issues? Is that helpful?

This sounds more like a support request than a bug. There are lots of reasons the underlying tcp connections would be closing... any broken connection, any weird wire, etc. Without knowing anything about user's setup, you could maybe try increasing the number of Pings sent out.

ayjayt avatar Jul 19 '23 19:07 ayjayt