-
Notifications
You must be signed in to change notification settings - Fork 271
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
Rapid Reconnections In Firefox #29
Comments
@bendytree Have you tried another transformer like SockJS or pure Websockets, to see if you get the issue still? |
@bendytree the reconnection is expected behavior as there is exponentially-weighted backoff built into the |
Thanks everyone - I replaced Engine.IO with SockJS and it fixed the problem. So it is an Engine.IO problem. I hope SockJS keeps working... I'm about out of socket libraries to try. [ ] |
Effortless switching between backends ftw :D |
Nice! |
huzzah! |
I recently moved to Primus/Engine.IO from Socket.IO and it's been excellent.
Today a user reported that he kept seeing a "Connecting" message flash on & off. We listen for connection changes and show an error if they're disconnected. He's on a WiFi connection running iPad OS 6.1.3.
I was able to reproduce it on Firefox 23.0.1 on Windows 7. Here's a live link to the page where it happens:
http://draft.bz/draft
Looking at the console logs, it's clearly trying to reconnect multiple times per second. I've linked a gist of what gets logged over and over, but here's a quick version:
https://gist.github.com/bendytree/80b0e257e9868c522957
Any ideas what could be up? Obviously this could be a problem with Engine.IO or my code, but it does seem to work on most browsers. And shouldn't Primus prevent quick reconnects? From what I can tell, it happens about 2 times per second.
The text was updated successfully, but these errors were encountered: