remote-control hangs on 'Connecting' — stale environments cannot be cleared

Resolved 💬 5 comments Opened Mar 22, 2026 by ukemaker Closed Apr 23, 2026

Summary

claude remote-control hangs indefinitely at "Remote Control connecting…" and never establishes a bridge. Regular Claude Code sessions work fine on the same machine.

Environment

  • Windows 10 Pro 10.0.19045
  • Claude Code (latest, installed via C:\Users\mike\.local\bin\claude)
  • Subscription: Claude Max 5x
  • Auth scopes include user:sessions:claude_code

Steps to Reproduce

  1. Run claude remote-control --name Mobile from terminal
  2. Process outputs "Remote Control connecting…" and hangs
  3. Never reaches "Connected" or outputs a bridge URL
  4. Process eventually exits silently back to prompt

Also tried:

  • From inside Claude Code session via /remote-control — same hang
  • With env vars TERM=dumb NO_COLOR=1 CI=1 — same result
  • With --debug-file flag — same hang, no debug output
  • From multiple terminals, after reboot — same result

Context

Earlier in the session, claude remote-control was working — it connected, output bridge URLs, and showed "Capacity: 1/32". Multiple automated restarts via a session manager (Claudette) spawned ~16 zombie claude.exe processes over ~30 minutes, each generating new bridge URLs. After killing all zombie processes and rebooting, remote-control no longer connects at all.

Additional Issue: Stale Remote Environments

/remote-env inside Claude Code shows a long list of stale environments from all the zombie sessions. There is no way to:

  • Delete stale remote environments
  • Clean up orphaned bridge sessions
  • List or manage remote environments outside of /remote-env

This may be related to the connection failure — the server may be rejecting new connections due to too many orphaned environments on the account.

Expected Behavior

  • claude remote-control should connect and output a bridge URL
  • Stale/orphaned remote environments should have a cleanup mechanism
  • claude remote-control --clean or similar should exist to purge stale entries

Workaround

None found. Remote sessions are completely non-functional after the stale environment buildup.

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗