-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What causes Error: This socket has been ended by the other party
?
#704
Comments
Typically this is sent when another application (client, browser, etc.) closes the socket when you are still sending data to it from the server. I've had it happen when my browser drops the connection to the server on the socket while I am writing data to it. |
got it, thanks |
What is the recommended way to handle/catch such an error? |
The readme section on handling errors is pretty solid for when sends throw exceptions. https://github.com/websockets/ws#error-handling-best-practices |
Sorry, my bad, thanks for the link! |
@binarykitchen can you please help me for the same? I am getting same error when executing scripts on multiple physical devices connected to one USB hub. Full details here. |
I'd like to know what can trigger the error below? It rarely happens for my app and is very difficult to debug/fix. Thanks!
The text was updated successfully, but these errors were encountered: