Skip to content

Show actionable remote-control enrollment errors instead of “Waiting for computer” #27167

Open

Description

@Soulsolder

What variant of Codex are you using?

Codex App for Windows 26.602.9276.0, bundled Codex CLI 0.137.0-alpha.4, ChatGPT mobile app

What feature would you like to see?

Problem

When setting up Codex mobile remote control, the ChatGPT mobile app remained indefinitely on “Waiting for computer response.”

The Codex Windows UI did not show any error or explain what action was required. This made the problem appear to be caused by Windows networking, proxies, WebSocket connectivity, or device pairing.

However, the local Codex logs contained a clear and actionable server response:

remote control server enrollment failed at
https://chatgpt.com/backend-api/wham/remote/control/server/enroll:
HTTP 403 Forbidden
body: {"detail":"Multi-factor authentication required"}
This makes an account-policy issue appear to be a networking, proxy, or device-pairing problem.

Requested improvement
Please display remote-control enrollment errors in the Codex desktop app and ChatGPT mobile app.

For this case, the UI could show:

Multi-factor authentication is required before Codex mobile remote control can be enabled. Enable MFA in ChatGPT security settings, then retry.

Additional suggestions
Add an enrollment timeout instead of waiting indefinitely.
Distinguish account-policy errors from connectivity errors.
Show whether failure occurred during enrollment, authentication, or WebSocket connection.
Provide a “View connection diagnostics” option.
Include a link to ChatGPT security settings when MFA is required.
The backend already returns an actionable error. Exposing it would prevent unnecessary Windows, proxy, firewall, and network troubleshooting.

Activity

  1. added
    enhancement
    on Jun 9, 2026
  2. added
    app
    auth
    windows-os
    on Jun 9, 2026
  3. github-actions commented on Jun 9, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  4. boaaaat commented on Sep 21, 2026

    @boaaaat

    Still reproducible in the current Windows desktop app, with the actionable backend error hidden by a generic toast.

    Environment

    • ChatGPT/Codex desktop app: 26.915.4065.0
    • Bundled Codex: 0.155.0-alpha.9.2
    • Windows 11 Pro x64 (10.0.26200)

    Reproduction

    1. Open Settings → Connections → Control this PC.
    2. Enable Allow connections.
    3. The toggle returns to off and the UI only shows: “Couldn’t update remote control availability.”

    A direct app-server call isolates the actual failure:

    • remoteControl/status/read → disabled
    • remoteControl/enable → JSON-RPC error -32600
    • Enrollment endpoint → HTTP 403 Forbidden
    • Sanitized response body: {"detail":"Multi-factor authentication required"}

    The app-server handshake succeeds, normal provider HTTP is reachable, and the WebSocket handshake succeeds. This confirms the UI still hides an actionable account-policy requirement behind a generic connection error. The desktop app should surface the MFA requirement and link to ChatGPT Security settings.

    No tokens, account IDs, installation IDs, server IDs, environment IDs, request IDs, or log files are included.

  5. bedesv commented on Oct 13, 2026

    @bedesv

    Also reproduced on a Linux remote host with Codex CLI and app-server both running 0.162.1.

    codex remote-control start only showed:

    Error: Remote control is enabled on devbox but the connection is errored.
    

    codex login status reported Logged in using ChatGPT. Running codex remote-control start --json returned status: "connecting", timedOut: true, and environmentId: null, without explaining the failure.

    Running in the foreground with logging finally exposed the cause:

    remote control server enrollment failed:
    HTTP 403 Forbidden
    body: {"detail":"Multi-factor authentication required"}
    

    Normal authenticated requests worked—the models endpoint returned HTTP 200. Completing the MFA setup and signing in again with codex login --device-auth resolved it.

    Please surface the MFA requirement directly in the CLI error and JSON output too. The generic connection error sent me through daemon restarts and state cleanup before finding the actual reason in the logs.

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

    appauthenhancementremotewindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions