Answer the question
In order to leave comments, you need to log in
How to solve websocket issue on node js?
When connecting, sometimes in the browser console there is such an error
Connection closed before receiving a handshake response
Answer the question
In order to leave comments, you need to log in
Increase the handshake timeout.
In general, use asynchrony and promises - this is NodeJS.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question