Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pong Timeout #47

Open
tscislo opened this issue Jan 15, 2023 · 0 comments
Open

Pong Timeout #47

tscislo opened this issue Jan 15, 2023 · 0 comments

Comments

@tscislo
Copy link

tscislo commented Jan 15, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant