miguelgrinberg / Flask-SocketIO

Socket.IO integration for Flask applications.
MIT License
5.31k stars 888 forks source link

python-engineio and python-socketio version matching with Flask-SocketIO >= 5.3.0 #2029

Closed 876720687 closed 6 months ago

876720687 commented 6 months ago

I've come across a project that requires Flask-SocketIO >= 5.3.0, but I've never been able to find a matching combination when matching the corresponding python-engineio and python-socketio, and keep getting errors:

ERROR:engineio.server:The client is using an unsupported version of the Socket.IO or Engine.IO protocols (further occurrences of this error will be IO protocols (further occurrences of this error will be logged with level INFO)

Has anyone tried anything like this?

miguelgrinberg commented 6 months ago

The error message tells you what's wrong. The client is using an unsupported version of the Socket.IO or Engine.IO protocol. This means that the client that you are using is not compatible with the version of the server. Either change the client to a compatible version, or change the server to match the version of the client that you have. The documentation has a version compatibility table that you can use for help with this.