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
In Node on Windows (haven't tested elsewhere), if a connection attempt fails before the socket opens, ws emits only error (no close). Our client never schedules another retry, so auto-reconnect stops working and it never reconnects.
You can reproduce this by creating an instance with any backoff, then connect to a WIFI network without an actual internet connection, then connect to a WIFI network with internet, and the script will stop without trying to reconnect, and emit a close event.