joewalnes / reconnecting-websocket

A small decorator for the JavaScript WebSocket API that automatically reconnects
MIT License
4.24k stars 970 forks source link

Failed to execute send on WebSocket. Still in CONNECTING state #114

Open nJuraev opened 4 years ago

nJuraev commented 4 years ago

Sometimes this error occurs: Failed to execute send on WebSocket. Still in CONNECTING state - reconnecting-websocket.js:307 i googled for this error and understand that the reason is websocket is not ready yet. How can i solve this error (sorry for my bad english)