it0/packages
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
..
gateway fix: replace Socket.IO with raw WebSocket to fix 502 on /ws/agent 2026-02-23 16:52:43 -08:00
services fix: replace Socket.IO with raw WebSocket to fix 502 on /ws/agent 2026-02-23 16:52:43 -08:00
shared fix: release QueryRunner connections to prevent pool exhaustion 2026-02-23 15:55:06 -08:00