socketcluster-server icon indicating copy to clipboard operation
socketcluster-server copied to clipboard

Pong Timeout

Open tscislo opened this issue 3 years ago • 0 comments

Hello,

I'm using socketcluster-server with @redux-devtools/cli and I get ping/pong timeouts even with default settings. Version that is used is 17.x I an se that inner ping messages are sent correctly but they are not received from time to time in message handler therefore this code is executed and connection is reset:

    this._pingTimeoutTicker = setTimeout(() => {
        console.log("PING TIMEOUT")
        this._destroy(4001);
        this.socket.close(4001);
    }, this.server.pingTimeout);

What could be the reason?

tscislo avatar Jan 15 '23 16:01 tscislo