You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without setting transports to websockets it seems to work.
Not sure but http is only set in the method _send_request() in client.py, which is only called in _connect_polling(). When I explicit set transports to websocket, socketio/asycnio_client calls connect of engineio/asyncio_client, which executes this:
I work with socket.io but this issue is related to the new engineio commit referenced in title.
commit
Reproduce Example:
Raises:
Without setting transports to websockets it seems to work.
Not sure but http is only set in the method _send_request() in client.py, which is only called in _connect_polling(). When I explicit set transports to websocket, socketio/asycnio_client calls connect of engineio/asyncio_client, which executes this:
This references to the method _connect_websocket(self, url, headers, engineio_path) which trys to use self.http, which was never initialized.
Without setting transports to websockets, polling is upgraded to websockets. So http already was initialized and it works.
The text was updated successfully, but these errors were encountered: