Python-socketio: No longer works when trying to use nodejs socket-io 3.0.0. version

Created on 7 Nov 2020  路  5Comments  路  Source: miguelgrinberg/python-socketio

When trying to connect to node-js hosted server that is using sokcket-io 3.0.0 an error is thrown: unexpected response from server

question

All 5 comments

Yes, this is expected. The Socket.IO 3.0 client uses a new version of the Socket.IO protocol that needs to be implemented. I have an outstanding issue to keep track of that work: https://github.com/miguelgrinberg/python-engineio/issues/195.

Do you happen to know what version of the nodejs server and python client I can target to get up an running while this issue exists?

@gltovar the latest 2.x Socket.IO JavaScript release should be compatible.

Perhaps a comment in the README? QAs 5this was my first time using Python, and my first time using JavaScript's socket.io library, it took me a day or so to work out that it wasn't a problem in my code... :)

Tracking progress in 3.0 support in #571

Was this page helpful?
0 / 5 - 0 ratings