mirror of
https://github.com/johndoe6345789/docker-swarm-termina.git
synced 2026-04-24 13:45:01 +00:00
Added Socket.IO ping/pong timeout and interval settings to maintain stable WebSocket connections and prevent frame header errors. The error occurred when WebSocket connections were dropped or timing out without proper keepalive. Backend changes: - Add ping_timeout=60 and ping_interval=25 to SocketIO config - Enable Socket.IO logger for better debugging - Disable verbose engineio_logger to reduce noise Frontend changes: - Add timeout=60000 matching backend ping_timeout - Add reconnectionDelayMax=10000 for better reconnection handling - Add forceNew=true to prevent connection reuse issues All 79 tests passing with 82% coverage. https://claude.ai/code/session_01G6aE7WxjFjUUr8nkmegitZ