mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 18:42:34 +01:00
EmulatorJS netplay opens its Socket.IO client with the default transports, so it starts with HTTP long-polling. Gunicorn runs several workers with no sticky sessions, so the follow-up polling requests land on a worker that never saw the handshake and fail with "Invalid session" and a 400, and the room is never created. Forcing the websocket transport keeps the whole session on one connection, as the main /ws client already does. Fixes #4294 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>