Remote Control: sessions go stale mid-conversation, /rc reconnect fails
Description
Remote Control sessions go stale unpredictably — not just after extended idle, but during active use mid-conversation. The remote view freezes and stops updating while the underlying CLI session continues working fine in the terminal. Running /rc to re-register produces a URL that redirects to the claude.ai/code dashboard instead of reconnecting to the live session.
Environment
- Claude Code v2.1.62
- Ubuntu 24.04 LTS (VPS, Hostinger KVM)
- tmux persistent sessions (3 windows)
- SSH over Tailscale VPN
- Zed editor as IDE
- Tested on: claude.ai/code (browser) and Claude Desktop app
Reproduction Steps
- Run Claude Code sessions in tmux on a remote VPS
- Access sessions via claude.ai/code or Claude Desktop app (Remote Control enabled globally)
- Sessions work initially
- Mid-conversation, while actively working, the remote view freezes — stops showing new messages and tool output
- The CLI session in the terminal continues working perfectly
- Had to switch to Zed terminal (SSH) to continue the conversation
- Run
/rcin the terminal to re-register the session - Copy the generated URL and open in browser
- Expected: Browser connects to the live session with current conversation
- Actual: URL redirects to the claude.ai/code dashboard. Stale session still listed with old content.
Key Detail
This is NOT just an overnight/idle timeout issue. The session went stale while the user was actively working with it — in the middle of deploying changes. The Claude Desktop app also went stale at the same time. The user had to switch to a direct terminal connection (Zed SSH) to finish the task.
Additional Symptoms
- Attempting to delete stale sessions from dashboard: "Session is still running. Wait a moment and try again." — the tmux session IS running, but remote view is out of sync
- Claude Desktop app shows same stale state as browser
/rcdoes not fix the connection — the re-registered URL just redirects to dashboard- No warning or disconnect indicator before the view goes stale
Impact
Makes Remote Control unreliable for real work. Cannot trust it to stay connected during a task. Image paste (the main advantage over terminal) is effectively unavailable since the connection drops unpredictably.
Possibly Related
- #28571 (resync after connection drop)
- #28914 (connection dies while tmux stays alive)
- #28402 (session not visible after leaving)
- #28532 (frequent disconnections)
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗