socketcluster-server
socketcluster-server copied to clipboard
Pong Timeout
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?