[Bug]: Claude mobile Remote Control fails to start and archives the session with Desktop First Party enabled

Aperta
#9,132 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
18/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
macos, typescript
Ambito
cli, devtools

Direzione di ricerca

The failure sits between the OpenCodex proxy routing and Claude Desktop's Remote Control startup; the payload names no source file. Start by reproducing with the First Party toggle on and off and comparing the logs for rc_enable_failed. Done means a clear diagnosis of which setting breaks the remote session start, or a specific diagnostic message for that case.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
Client or integration

Claude Desktop Code tab in OpenCodex First Party mode, with Claude mobile Remote Control on both iPhone and Pixel. OpenCodex 2.100.8, Claude Desktop 7.37095.0, macOS 27.2 on Apple Silicon.

What happens

From Claude mobile, select the Mac as the Remote Control host, start a fresh Code session, and send a short prompt. The phone stalls, shows “Couldn't start, Claude Code,” and the new session disappears from the session list. I reproduced this on both phones, including with standard Claude selections. I observed the failure with Desktop Picker mode off as well.

What the Mac logged

On failed starts, Claude Desktop logged this sequence (session identifier removed):

Enabling remote control
Failed to toggle remote control: Remote Control initialization failed
rc_enable_failed
POST /v1/code/sessions/<redacted>/archive -> 200

Claude Desktop registered the Mac as a Remote Control environment, but starting the individual remote session failed. At the time of separate failed attach attempts, OpenCodex also logged successful GPT-6.2 Sol requests from Claude Desktop (HTTP 200). Local Code tab inference and mobile attachment are separate checks. Gemini requests also hit HTTP 429 during testing, so I did not use them as evidence for the attach failure.

Native comparison

Simply turning routing off initially still produced the error. A phone session attached successfully after disabling OpenCodex’s Claude Desktop integration and restarting Claude Desktop with a fresh Claude Code configuration directory and a launch environment free of inherited provider/model and feature overrides. The regular profile contained CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1, which Anthropic documents as blocking Remote Control feature checks.

The clean comparison changed several variables together. It establishes a working native baseline but does not isolate whether the flag, another saved setting, or interception is responsible for failures with First Party enabled.

Expected

A phone-started Code session on a registered Mac attaches and remains available. If the local configuration prevents Remote Control, a specific diagnostic would help distinguish it from a general startup failure.

Related: #8051 and #8052 concern missing approval cards after a Remote Control session is connected. This report concerns failing to start the session itself.

Lingua principale
TypeScript
Stelle
16.9k
Fork
1.3k
Merge medio
1g 4h
PR unite (30g)
814

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di lidge-jun/opencodex

Tutte le issue di lidge-jun/opencodex

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.