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

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.

Original post →

More from coding & agent

coding & agent channel →