You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Show actionable remote-control enrollment errors instead of “Waiting for computer” #27167
appIssues related to the Codex desktop appauthIssues related to authentication and accountsenhancementNew feature or requestremotewindows-osIssues related to Codex on Windows systems
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.
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.
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.
appIssues related to the Codex desktop appauthIssues related to authentication and accountsenhancementNew feature or requestremotewindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Jun 9, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
boaaaat commentedon Sep 21, 2026
Still reproducible in the current Windows desktop app, with the actionable backend error hidden by a generic toast.
Environment
Reproduction
A direct app-server call isolates the actual failure:
remoteControl/status/read→disabledremoteControl/enable→ JSON-RPC error-32600{"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.
bedesv commentedon Oct 13, 2026
Also reproduced on a Linux remote host with Codex CLI and app-server both running
0.162.1.codex remote-control startonly showed:codex login statusreportedLogged in using ChatGPT. Runningcodex remote-control start --jsonreturnedstatus: "connecting",timedOut: true, andenvironmentId: null, without explaining the failure.Running in the foreground with logging finally exposed the cause:
Normal authenticated requests worked—the models endpoint returned HTTP 200. Completing the MFA setup and signing in again with
codex login --device-authresolved 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.