fix: add pong/timeout detection to prevent silent connection hangs #35

Merged
jimmy merged 1 commits from dev into main 2026-03-11 23:58:36 +08:00
Owner

Fixes keepalive ping timeout issue. Backend responds with pong, frontend detects missing pong within 5s and triggers reconnect/auth recovery.

Fixes keepalive ping timeout issue. Backend responds with __pong__, frontend detects missing pong within 5s and triggers reconnect/auth recovery.
jimmy added 1 commit 2026-03-11 23:58:07 +08:00
fix: add pong/timeout detection to prevent silent connection hangs
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 2m2s
e0f432bc39
- Backend now responds to __ping__ with __pong__
- Frontend detects missing pong within 5s and closes connection
- This triggers proper reconnect/auth recovery instead of hanging
- Fixes 'keepalive ping timeout' issue where connection appears alive but is dead
jimmy merged commit 0d251a09be into main 2026-03-11 23:58:36 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jimmy/nas-tools#35