Y
Y
yankoyski2019-01-26 23:20:36
JavaScript
yankoyski, 2019-01-26 23:20:36

WebSocket is already in CLOSING or CLOSED state?

If you switch to another tab, after 10-15 minutes return to the project tab, then errors are displayed in the console. "WebSocket is already in CLOSING or CLOSED state."
What could be the reason?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2019-01-26
@Rsa97

Because the script on the page is trying to re-close an already closed websocket.
Your K.O.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question