I am running python-socketio version 5.3.0.
await sio.connect('https://localhost/my-app/', namespaces=['/ns'])
This inexplicably tries to load the URL https://localhost/socket.io/?transport=polling&EIO=4, ignoring the path /my-app/ that I provided in the url parameter.
This works:
await sio.connect('https://localhost', socketio_path='/my-app/')
The socketio_path parameter is not documented on https://python-socketio.readthedocs.io/en/latest/client.html#connecting-to-a-server
I am running python-socketio version 5.3.0.
This inexplicably tries to load the URL
https://localhost/socket.io/?transport=polling&EIO=4, ignoring the path/my-app/that I provided in theurlparameter.This works:
The
socketio_pathparameter is not documented on https://python-socketio.readthedocs.io/en/latest/client.html#connecting-to-a-server