Claude Code Desktop remote control fails on Windows with undefined session_url error
ShokuSo-GitHub02 · ghdev · 2026-07-19
A Windows user reports that Claude Code Desktop's /remote-control flow fails before a connection is ever established.
Error
The app throws:
Remote Control failed to disconnect: Cannot read properties of undefined (reading 'sessionurl')
The odd part is that the message mentions disconnecting even when the session was never connected, suggesting the client is trying to read sessionurl from an undefined state object.
Reproduction
- Open Claude Code Desktop on Windows 11
- Enable remote control by default in settings
- Run /remote-control
- The error appears immediately
Notes
The reporter says this is not the same as another issue where disconnect succeeds despite the error. In this case, the connection never succeeds at all, and the mobile app's Code tab never shows the session as connectable.
More from coding & agent
- Gergely Orosz: Shipping 10x PRs With AI Agents, Sites Fill With Small Regressions — ducha_aiki · 2026-09-11
- Same Echo Maze prompt, three frontier models: all passed visually but shipped the same hidden bug — eyishazyer · 2026-09-11
- Astra storyboards plus Minimax H3 per-shot generation boost video success rates — Hailuo_AI · 2026-09-11
- Codex tip: use Sol with Astra and Luna sub-agents to save usage — pvncher · 2026-09-11
- agents-best-practices: a provider-neutral Agent Skill for designing and auditing agentic harnesses — tom_doerr · 2026-09-11
- Cognition's SWE-2 uses a KKT duality argument in RL to shift the effort Pareto curve — YouJiacheng · 2026-09-11