it0/packages/gateway
hailin 86d7cac631 fix: replace Socket.IO with raw WebSocket to fix 502 on /ws/agent
Socket.IO requires its own handshake protocol (EIO=4) which Kong cannot
proxy as a plain WebSocket upgrade, causing 502 Bad Gateway. Switch to
@nestjs/platform-ws (WsAdapter) with manual session room tracking so
Flutter's IOWebSocketChannel can connect directly.

Also add ws/wss protocols to Kong WebSocket routes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 16:52:43 -08:00
..
config fix: replace Socket.IO with raw WebSocket to fix 502 on /ws/agent 2026-02-23 16:52:43 -08:00
Dockerfile fix: use COPY --chmod for Kong entrypoint (non-root image) 2026-02-21 23:24:37 -08:00