Merge dev to main - Immich and Terminal fixes #36

Merged
jimmy merged 5 commits from dev into main 2026-03-15 22:50:19 +08:00
Owner

Merging recent fixes:

  • Immich bind to 0.0.0.0 for Tailscale access
  • Immich healthcheck improvements
  • Terminal WebSocket auth and reconnection fixes
Merging recent fixes: - Immich bind to 0.0.0.0 for Tailscale access - Immich healthcheck improvements - Terminal WebSocket auth and reconnection fixes
jimmy added 5 commits 2026-03-15 22:50:11 +08:00
debug: add detailed logging for terminal WebSocket connections
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 2m35s
00b5d362e7
fix: resolve terminal WebSocket auth failures and improve reconnection
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 1m8s
7b17a53cab
- 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.
fix: resolve variable redeclaration in Terminal.svelte
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 3m50s
d69b744ae7
Change 'const d' to 'let d' to allow reassignment in nested scopes
jimmy merged commit 427decc83a into main 2026-03-15 22:50:19 +08:00
jimmy referenced this issue from a commit 2026-03-15 22:50:22 +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#36