coolify/docker/coolify-realtime
Andras Bacsai 9408620d5f fix(terminal): add WS heartbeat and fix proxy idle disconnects
Proxies (Cloudflare, nginx) drop idle WebSocket connections before the
application notices, leaving clients typing into dead sockets.

- Add server-side ping/pong heartbeat (30s) in terminal-server.js;
  terminate unresponsive clients instead of letting connections go stale
- Move client keepAlive interval start to the connect event so it
  restarts correctly after reconnects
- Remove hidden-tab keepalive short-circuit — server pings now own
  liveness; suppressing client pings while hidden masked proxy drops
- Fix clearAllTimers to use clearTimeout for one-shot timers
- On visibility resume, probe with a 5s timeout instead of the default
  35s so half-open sockets are detected quickly
- Bump coolify-realtime to 1.0.14 across all compose files
2026-04-28 10:35:32 +02:00
..
Dockerfile fix(security): add apk upgrade to helper and realtime Dockerfiles 2026-04-05 00:23:17 +02:00
package-lock.json build(deps): bump axios in /docker/coolify-realtime 2026-04-12 11:13:23 +00:00
package.json build(deps): bump axios in /docker/coolify-realtime 2026-04-12 11:13:23 +00:00
soketi-entrypoint.sh fix: realtime watch in development mode 2024-10-02 14:18:52 +02:00
terminal-server.js fix(terminal): add WS heartbeat and fix proxy idle disconnects 2026-04-28 10:35:32 +02:00
terminal-utils.js chore: prepare for PR 2026-03-10 20:37:22 +01:00
terminal-utils.test.js chore: prepare for PR 2026-03-10 20:37:22 +01:00