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
When using the aiohttp example from the examples folder and use Skipper as reverse proxy Chrome logs WebSocket connection to 'ws://localhost:8000/socket.io/?EIO=3&transport=websocket' failed: Invalid frame header' failed: Invalid frame header to the console.
The aiohttp example works with nginx and without any proxy.
The asgi example works with skipper, nginx and without any proxy.
A nodejs test server also works with skipper, nginx and without any proxy. I am using transports: ['websocket'] to force the client to use websockets only
Versions used:
pytohn 3.7.3 (also tested with paython 3.6.8)
aiohttp 3.5.4
python-engineio 3.5.2
python-socketio 4.0.2
skipper v0.10.216
How to reproduce:
edit app.html to force websockets only. change line 10:
check console output from skipper (has websocket audit enabled) and chrome console for "invalid frame header" -> ws connection is dropped immediately after it has been established.
The text was updated successfully, but these errors were encountered:
I think this is something that needs to be taken to the aiohttp project, the websocket implementation is theirs. I suggest you try one of their WebSocket examples (maybe this one) to confirm that you see the same problem without this package.
I tested with the example from aiohttp and can confirm this still does not work with skipper.
The error message is a different one: WebSocket connection to 'ws://localhost:8000/' failed: One or more reserved bits are on: reserved1 = 0, reserved2 = 1, reserved3 = 1
I will take this issue to their project or talk to one of the maintainers of skipper, maybe we can figure something out.
When using the aiohttp example from the examples folder and use Skipper as reverse proxy Chrome logs
WebSocket connection to 'ws://localhost:8000/socket.io/?EIO=3&transport=websocket' failed: Invalid frame header' failed: Invalid frame header
to the console.The aiohttp example works with nginx and without any proxy.
The asgi example works with skipper, nginx and without any proxy.
A nodejs test server also works with skipper, nginx and without any proxy.
I am using
transports: ['websocket']
to force the client to use websockets onlyVersions used:
How to reproduce:
python app.py
The text was updated successfully, but these errors were encountered: