openai / openai/codex

Remote Control stuck on "connecting" with environmentId null on macOS

Open
#38,534 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug CLI connectivity remote
Dominant language
Rust
Stars
125k
Forks
19.5k
PR merge metrics
PR metrics pending

Description

What version of the Codex App are you using (From “About Codex” dialog)?

26.803.61601

What subscription do you have?

ChatGPT Plus

What platform is your computer?

Darwin 25.6.0 arm64 arm

What issue are you seeing?

macOS Codex Remote Control fails to establish a connection.

Codex CLI: 0.147.0
Authentication: Logged in using ChatGPT

codex remote-control start --json:
status: connecting
environmentId: null
timedOut: true

Error:
Remote control is enabled on MacBook-Pro-10.local but the connection is errored.

codex remote-control pair --json:
timed out waiting for remoteControl/pairing/start response
deadline has elapsed

Already tested:

  • Latest Codex CLI
  • Logout/login
  • Restart ChatGPT Desktop
  • Restart remote-control daemon
  • Multiple VPN/proxy nodes
  • HTTP/HTTPS proxy environment variables
  • Shadowrocket global proxy
  • Shadowrocket forced routing/tunnel mode

Feedback ID:
no-active-thread-019fff78-c4bc-75b0-ae5f-bd1276fda31e

What steps can reproduce the bug?

Feedback ID: no-active-thread-019fff78-c4bc-75b0-ae5f-bd1276fda31e

What is the expected behavior?

No response

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with codex remote-control start --json and codex remote-control pair --json on the reported macOS and CLI versions. Trace the remote-control connection and pairing entry points, using the timeout and environmentId: null output as the failure signals; done means pairing completes and remote-control start establishes a connection.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, rust
Domain
cli, desktop, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.