Skip to content

Codex iphone&macbook connection failed. says Couldn’t update remote control availability #31947

Open

Description

@zx7ch

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

Version 26.707.31123

What subscription do you have?

plus plan

What platform is your computer?

Darwin 21.6.0 arm64 arm

What issue are you seeing?

Image

When I tried to add my iphone as connection on Codex App, there's no QR code shown up.
"Pairing code unavailable: Timed out waiting for remote control to connect"
I've tried refresh the connection and log out then log in on both devices, none of them works.

What steps can reproduce the bug?

Settings > Connections > Control this Mac > Allow Connections > add > no QR code shows up

What is the expected behavior?

Able to see the connection QR code

Additional information

No response

Activity

  1. added
    app
    on Jul 9, 2026
  2. added
    bug
    connectivity
    on Jul 9, 2026
  3. github-actions commented on Jul 9, 2026

    @github-actions
    Contributor
  4. boundless-forest commented on Aug 19, 2026

    @boundless-forest

    I ran into the same issue and finally got it working. The underlying problem was that the Codex background process could not reliably connect to the Remote Control service through my network proxy. I used Proxifier to route Codex traffic through the proxy and enabled hostname resolution through the proxy instead of using local DNS.

    I also changed the concrete GitHub entry in my SSH config from “Host github.com” to “Host github.*”, which prevented Codex from treating GitHub as a remote development host while preserving normal GitHub SSH access. After fully restarting the network proxy, Proxifier, and ChatGPT, the pairing code appeared and Remote Control connected successfully. Hope this helps anyone seeing the same timeout or TLS handshake error!

  5. rowestudio commented on Sep 10, 2026

    @rowestudio

    I can reproduce the same toggle failure on ChatGPT desktop 26.903.61454 (build 8378) after upgrading macOS to 27.0 (26A428). The UI shows “Could not update remote control availability”.

    Local state was reset and freshly recreated: remote_control_enabled=1 and a new enrollment row are present, so this is not a stale local toggle. The desktop log repeatedly shows the authenticated remote-control WebSocket failing at wss://chatgpt.com/backend-api/wham/remote/control/server with HTTP 503: “upstream connect error or disconnect/reset before headers. reset reason: connection termination”.

    I verified MFA/passkey, restarted the app and Mac, and there is no configured system proxy. A raw reachability request to the endpoint reaches the service edge (426 Upgrade Required without a WebSocket upgrade), while only the authenticated WebSocket receives 503. This points to the remote relay/account-host backend path rather than a macOS permission or local network issue.

  6. jondwillis commented on Sep 15, 2026

    @jondwillis

    I am on macOS 26.6.2 but updated my command line tools to 27.x and am also able to reproduce this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugconnectivityremote

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions