github · HIGH · Aug 03, 2026
anthropics/claude-code
Also hit this on macOS (darwin 24.6.0), Claude Code v2.1.220, zsh. `/remote-control` disconnect threw "Cannot read properties of undefined (reading 'session\_url')" twice in a row.View original ↗
unknown / Claude Code
Error when disconnecting Remote Control from CLI: Cannot read properties of undefined (reading 'session_url')
Problem statement normalized from the linked evidenceGate decision: Aug 15, 2026
Why the gate is holding
Competition research, commercial scoring, and Build Gap analysis do not run until this gate passes.
5 evidence records
github · HIGH · Aug 03, 2026
Also hit this on macOS (darwin 24.6.0), Claude Code v2.1.220, zsh. `/remote-control` disconnect threw "Cannot read properties of undefined (reading 'session\_url')" twice in a row.View original ↗
github · MEDIUM · Aug 01, 2026
Confirming on **macOS**, Claude Desktop **1.24012.9**. Same signature: enabling works and mints a session URL, disabling always throws `Cannot read properties of undefined (reading 'session_url')`. My `main.log` has **35 occurrences across 6 days** (Jul 21, 25, 28, 29, 30 and Aug 1), interleaved with successful enables — so the enable path is unaffected here too. Retrying after a failure reproduces the same error, matching the wedged-UI-state description above. ``` [error] Failed to toggle remote control for local_…View original ↗
github · MEDIUM · Jul 21, 2026
Also reproduces on **Linux, standalone CLI** (not the desktop app) — adding as a datapoint since most reports here are Windows/macOS desktop: - OS: Linux 7.0.0-27-generic (Ubuntu-based VPS, headless) - Claude Code CLI: **2.1.198** (native installer, `~/.local/share/claude/versions/2.1.198`) - Error, verbatim, when disconnecting Remote Control from the CLI side: `Remote Control failed to disconnect: Cannot read properties of undefined (reading 'session_url')` The unguarded `session_url` read is present in the shippe…View original ↗
github · HIGH · Jul 21, 2026
Also seeing this on macOS, Claude Code 2.1.207: `Remote Control failed to disconnect: Cannot read properties of undefined (reading 'session_url')` when disconnecting Remote Control from the CLI side.View original ↗
github · HIGH · Jul 15, 2026
### Preflight Checklist - [x] I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) and this hasn't been reported yet - [x] This is a single bug report (please file separate reports for different bugs) - [x] I am using the latest version of Claude Code ### What's Wrong? Turning Remote Control OFF fails 100% of the time. Enabling works and mints a session URL; disabling immediately throws "Cannot read properties of undefined (reading 'session_ur…View original ↗