Files
nas-tools/dashboard/frontend
Gan, Jimmy 7b17a53cab
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 1m8s
fix: resolve terminal WebSocket auth failures and improve reconnection
- Remove insecure query token parameter from backend (cookie-only auth)
- Add detailed JWT error logging (expired, invalid, missing tokens)
- Force token refresh before first WebSocket connection
- Stop reconnection after 3 consecutive auth failures
- Increase ping interval from 12s to 30s (reduce traffic)
- Increase pong timeout from 5s to 10s (handle network latency)
- Show attempt counter in reconnection error messages

Root cause: Frontend was reconnecting with 6-day-old expired token,
causing 403 rejections. Now ensures fresh cookies before connecting.
2026-03-13 22:26:22 +08:00
..
2026-03-01 13:38:26 +08:00