Closed miguelgrinberg closed 7 months ago
Discussed in https://github.com/miguelgrinberg/python-socketio/discussions/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
Discussed in https://github.com/miguelgrinberg/python-socketio/discussions/1300.
When the client disconnects itself from the server, an error message appears before exit. The error message can be one of two possibilities:
The async client reports a slightly different one: