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

fix(ping timeouts): When a ping timeout is detected properly destroy … #452

Merged
merged 1 commit into from Mar 24, 2016

Conversation

jirwin
Copy link
Collaborator

@jirwin jirwin commented Mar 10, 2016

…the existing connection before making a new one.

Previously the connection wasn't being closed properly as the the close event on the socket was just being emitted instead of actually closing the connection. This caused the client to open a new, duplicate connection on reconnect, instead of replacing the existing connection.

…the existing connection before making a new one.
@jirwin
Copy link
Collaborator Author

jirwin commented Mar 10, 2016

This should fix #449.

@Zamiell
Copy link

Zamiell commented Apr 16, 2016

Not sure this is fixed - when running the latest version of master, my error-0.log was filled with:

CyclingPingTimer 3: server silent for too long, let's send a PING
CyclingPingTimer 0: ping timeout!
CyclingPingTimer 4: server silent for too long, let's send a PING
CyclingPingTimer 1: ping timeout!
CyclingPingTimer 5: server silent for too long, let's send a PING
CyclingPingTimer 2: ping timeout!
CyclingPingTimer 6: server silent for too long, let's send a PING
CyclingPingTimer 3: ping timeout!
CyclingPingTimer 7: server silent for too long, let's send a PING
CyclingPingTimer 4: ping timeout!
CyclingPingTimer 8: server silent for too long, let's send a PING
CyclingPingTimer 5: ping timeout!
CyclingPingTimer 9: server silent for too long, let's send a PING
CyclingPingTimer 6: ping timeout!
CyclingPingTimer 7: ping timeout!
CyclingPingTimer 8: ping timeout!
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 9: ping timeout!
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 10: server silent for too long, let's send a PING
CyclingPingTimer 10: server silent for too long, let's send a PING

@Kongzted
Copy link

Kongzted commented Dec 26, 2017

It just starts pinging after SEND: MODE
Anyone with fix yet?

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

Successfully merging this pull request may close these issues.

None yet

3 participants