You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a missing feature in the reconnection implementation which is the ability to specify a timeout for the reconnect attempt. Currently it's possible that you attempt to connect to a server which never answers the requests causing the request to hang indefinitely.
The easiest way to reproduce this is to trigger a reconnection from the server side and remove all the upgrade listeners from the server and add an empty function which will handle the request. For example:
While nobody in their sane minds would do something like the code above it's certainly possible that load balancers or proxies buffer the connection while an application is dead or restarting.
Originally reported by @developerdizzle which ran into these issues at Cloud9
The text was updated successfully, but these errors were encountered:
FYI: Wrote a new module to fix this behavior: http://npmjs.org/package/recovery . So this issue will be fixed once the browserify branch is completed and merged in to master (as the browserify branch implements this new reconnect module)
There's a missing feature in the reconnection implementation which is the ability to specify a timeout for the reconnect attempt. Currently it's possible that you attempt to connect to a server which never answers the requests causing the request to hang indefinitely.
The easiest way to reproduce this is to trigger a reconnection from the server side and remove all the
upgrade
listeners from the server and add an empty function which will handle the request. For example:While nobody in their sane minds would do something like the code above it's certainly possible that load balancers or proxies buffer the connection while an application is dead or restarting.
Originally reported by @developerdizzle which ran into these issues at Cloud9
The text was updated successfully, but these errors were encountered: