Skip to content
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

Client shows error message after disconnecting from server #342

Closed
miguelgrinberg opened this issue Jan 22, 2024 · 0 comments
Closed

Client shows error message after disconnecting from server #342

miguelgrinberg opened this issue Jan 22, 2024 · 0 comments
Assignees
Labels

Comments

@miguelgrinberg
Copy link
Owner

miguelgrinberg commented Jan 22, 2024

Discussed in miguelgrinberg/python-socketio#1300.

When the client disconnects itself from the server, an error message appears before exit. The error message can be one of two possibilities:

Unexpected error decoding packet: "Invalid empty packet received", aborting
Unexpected error receiving packet: "[Errno 9] Bad file descriptor", aborting

The async client reports a slightly different one:

Server sent unexpected packet 256 data None, aborting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant