Skip to content

Pong Timeout #47

Open
Open
@tscislo

Description

@tscislo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions