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

ping timeout? #322

Open
captainwong opened this issue Aug 13, 2021 · 3 comments
Open

ping timeout? #322

captainwong opened this issue Aug 13, 2021 · 3 comments
Labels
needs info Information has been asked and we are waiting for a reply

Comments

@captainwong
Copy link

For now, there seems no reference on client-side ping sending, will cause disconnection with laravel-echo-server.

@smitpatel88
Copy link

You can use this PR
#157

@captainwong
Copy link
Author

You can use this PR
#157

Thx. But my problem is the default behavior of this lib will not send ping to server, in which case will cause disconnection with laravel-echo-server. So I had to run a client-side ping thread to maintain connection.

@jmigual
Copy link
Collaborator

jmigual commented Mar 10, 2022

Hi @captainwong from the protocol documentation on disconnect detection (https://socket.io/docs/v4/how-it-works/#disconnection-detection) it should be the server the one sending the pings and the client responding.

@jmigual jmigual added the needs info Information has been asked and we are waiting for a reply label Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info Information has been asked and we are waiting for a reply
Projects
None yet
Development

No branches or pull requests

3 participants