it0/packages/gateway/config
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
..
docker-entrypoint.sh fix: configure Kong JWT auth flow with consumer credentials 2026-02-21 23:20:06 -08:00
kong.yml fix: replace Socket.IO with raw WebSocket to fix 502 on /ws/agent 2026-02-23 16:52:43 -08:00