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
macOS Desktop: "Unable to update remote control state" although remoteControl/enable succeeds #35351
In Settings > Connections > Control this Mac, enabling “Allow connections” immediately shows the toast:
Unable to update remote control state
The toggle then automatically turns off.
This persists after revoking all previously authorized Android remote-control clients and restarting Codex Desktop.
What steps can reproduce the bug?
Open Codex Desktop.
Go to Settings > Connections > Control this Mac.
Turn on “Allow connections”.
Observe the error toast and that the toggle immediately returns to off.
What is the expected behavior?
“Allow connections” should remain enabled, allowing a mobile device to pair with and control this Mac.
Additional information
he relevant desktop logs use UTC timestamps (China time: UTC+8).
After revoking both authorized Android clients, the service calls reported success:
2026-07-25T13:26:33.503Z info [AppServerConnection] response_routed durationMs=1680 errorCode=null method=remoteControl/client/revoke
2026-07-25T13:26:35.102Z info [AppServerConnection] response_routed durationMs=1597 errorCode=null method=remoteControl/client/list
2026-07-25T13:26:36.910Z info [AppServerConnection] response_routed durationMs=2335 errorCode=null method=remoteControl/client/revoke
2026-07-25T13:26:38.065Z info [AppServerConnection] response_routed durationMs=1153 errorCode=null method=remoteControl/client/list
2026-07-25T13:26:38.389Z info [AppServerConnection] response_routed durationMs=1 errorCode=null method=remoteControl/enable
2026-07-25T13:26:44.014Z info [remote-connections/window-context] refresh_remote_control_started previousConnectionCount=0
2026-07-25T13:26:44.018Z info [remote-connections/window-context] reconcile_completed creationFailureCount=0 nextConnectionCount=0 previousConnectionCount=0
2026-07-25T13:26:44.018Z info [remote-connections/window-context] refresh_remote_control_completed autoConnectConnectionCount=0 nextConnectionCount=0 previousConnectionCount=0
Despite remoteControl/enable returning errorCode=null, the UI reported failure and reset the toggle. No corresponding error was written to the desktop log.
Normal ChatGPT usage worked correctly, but Remote Connections could not be enabled. The switch kept failing, and the QR code was missing or appeared only intermittently.
The apparent cause is that the main ChatGPT UI and the bundled Codex/Remote Connections service do not use the same proxy mechanism. The main UI could access the network through the macOS system proxy, while the Remote Connections service, including its HTTPS and WebSocket requests, did not reliably inherit or respect that proxy.
The feature started working after:
Enabling respect_system_proxy = true in the Codex configuration.
Setting HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, and WSS_PROXY through launchctl.
Fully restarting ChatGPT Desktop.
Changing Clash nodes alone did not fix the issue.
It would be helpful if all ChatGPT Desktop components used one unified proxy mechanism—preferably the macOS system proxy—without requiring users to configure process-level environment variables separately. Proxy failures should also be surfaced clearly in the UI and logs instead of appearing only as a failed Remote Connections switch.
I traced the Remote Control failure down to the security-check stage. macOS TCC explicitly returns result=true / authValue=2 for kTCCServiceScreenCapture requested by com.openai.codex, and the ChatGPT code signature validates successfully. Accessibility is enabled for Codex Computer Use (com.openai.sky.CUAService), which is also running and correctly signed by OpenAI. The Mac is an M4 Pro with Full Security, SIP enabled, and SSV enabled. ChatGPT backend endpoints are reachable from the Mac. Despite all of this, Control this Mac still returns "Couldn't check security requirements." This looks like a Remote Control enrollment/security-check issue rather than a macOS permission or hardware issue.
I’m seeing the same Remote Control failure on a Mac, but it happens before the Set up/Add flow becomes available.
Environment:
ChatGPT Desktop 26.818.21641
Bundled Codex: 0.148.0-alpha.21
macOS 26.6 (arm64)
The same ChatGPT account is signed in on iPhone and Mac
Reproduction:
Go to Settings > Connections > Control this Mac.
Turn on “Allow connections”.
The toggle fails with: “Couldn’t update remote control availability”.
It returns to off, and Set up/Add is not shown.
What I verified:
Both devices were switched from an old account to the current account.
The old local remote-control enrollment was removed; current enrollment count is 0.
SQLite integrity check passes.
No VPN or system HTTP/HTTPS proxy is enabled.
ChatGPT and Codex otherwise work normally.
This appears to fail during Remote Control availability/enrollment initialization, before QR pairing. Could maintainers confirm whether this is related to #35351 and advise what diagnostics or fix are needed?
Hello Team Codex,
I am facing a similar issue here. Can you resolve this issue on priority? We are not able to use the Remote version. I captured the feedback id, it is: no-active-thread-01a04cfe-f170-7bc3-b35f-e79d4509d687
PS: For the degraded performance, do you plan to compensate the users with reset's' and the extension of their plan's duration since the moment they are facing issues?
The latest Codex update fixed this for me. Prior to this, I had done some cleaning on my Mac to delete the earlier version of ChatGPT. Not sure to what extent that helped.
That said, to the Open AI support team, a partial reset should be done for all users affected with this issue.
Anyways, congratulations on the launch of Astra. It was well executed.
tacosandtypescript-debug commented on Sep 10, 2026
Same bug on Linux desktop (not just macOS). Details:
Platform: Linux Mint 22.3 (X11), ChatGPT/Codex desktop 26.903.61454 (latest), app-server running features.code_mode_host=true.
Subscription: ChatGPT (Codex via desktop app).
Symptom: In Settings > Connections, enabling the remote-control toggle shows an error ("Couldn't update remote control availability") and the toggle switches itself back off. The log shows remoteControl/enablesucceeds (otel trace rpc.method="remoteControl/enable"), but the app-server can never establish the WebSocket:
failed to connect to app-server remote control websocket
websocket_url=wss://chatgpt.com/backend-api/wham/remote/control/server
installation_id=...
server_name=ISAAC
error=failed to connect ... : HTTP error: 503 Service Unavailable
The client is correctly enrolled: has_enrollment=true, server_id=Some("srv_..."), environment_id=Some("env_...").
The reconnect loop retries forever (719 failures over ~2 h in ~/.codex/logs_2.sqlite), always HTTP 503 from the wham backend. Zero successful connections recorded.
Token refresh works (refreshing remote control server token runs, remote control auth recovery succeeded), so auth is not the issue.
No proxy / no VPN in the path (checked env, GNOME proxy settings, listeners). Plain route to chatgpt.com.
CLI Codex (codex binary / chatgpt.com/backend-api/codex/responses) works fine — only the remote-control wham WebSocket returns 503.
This looks like a server-side issue with the wham/remote/control endpoint rather than the local toggle bug. Happy to provide full redacted logs if useful.
Activity
SamuelXiao commentedon Jul 28, 2026
Update: proxy handling appears inconsistent
Environment:
Normal ChatGPT usage worked correctly, but Remote Connections could not be enabled. The switch kept failing, and the QR code was missing or appeared only intermittently.
The apparent cause is that the main ChatGPT UI and the bundled Codex/Remote Connections service do not use the same proxy mechanism. The main UI could access the network through the macOS system proxy, while the Remote Connections service, including its HTTPS and WebSocket requests, did not reliably inherit or respect that proxy.
The feature started working after:
respect_system_proxy = truein the Codex configuration.HTTP_PROXY,HTTPS_PROXY,ALL_PROXY, andWSS_PROXYthroughlaunchctl.Changing Clash nodes alone did not fix the issue.
It would be helpful if all ChatGPT Desktop components used one unified proxy mechanism—preferably the macOS system proxy—without requiring users to configure process-level environment variables separately. Proxy failures should also be surfaced clearly in the UI and logs instead of appearing only as a failed Remote Connections switch.
tzhou530 commentedon Aug 15, 2026
This solved my problem. Thank you!!
securAd commentedon Aug 17, 2026
tzhou530 commentedon Aug 18, 2026
直接在codex 回复:
Enabling respect_system_proxy = true in the Codex configuration.
Setting HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, and WSS_PROXY through launchctl.
Fully restarting ChatGPT Desktop.
iamthecloverly commentedon Aug 19, 2026
I traced the Remote Control failure down to the security-check stage. macOS TCC explicitly returns result=true / authValue=2 for kTCCServiceScreenCapture requested by com.openai.codex, and the ChatGPT code signature validates successfully. Accessibility is enabled for Codex Computer Use (com.openai.sky.CUAService), which is also running and correctly signed by OpenAI. The Mac is an M4 Pro with Full Security, SIP enabled, and SSV enabled. ChatGPT backend endpoints are reachable from the Mac. Despite all of this, Control this Mac still returns "Couldn't check security requirements." This looks like a Remote Control enrollment/security-check issue rather than a macOS permission or hardware issue.
Haoyu0124 commentedon Aug 21, 2026
I’m seeing the same Remote Control failure on a Mac, but it happens before the Set up/Add flow becomes available.
Environment:
Reproduction:
What I verified:
This appears to fail during Remote Control availability/enrollment initialization, before QR pairing. Could maintainers confirm whether this is related to #35351 and advise what diagnostics or fix are needed?
qwertynik commentedon Aug 29, 2026
Hello Team Codex,
I am facing a similar issue here. Can you resolve this issue on priority? We are not able to use the Remote version. I captured the feedback id, it is:
no-active-thread-01a04cfe-f170-7bc3-b35f-e79d4509d687A video walkthrough of the issue is available here:
https://github.com/user-attachments/assets/5bfa3a47-1fdc-4b10-bae1-fa7468fdd43e
PS: For the degraded performance, do you plan to compensate the users with reset's' and the extension of their plan's duration since the moment they are facing issues?
qwertynik commentedon Sep 5, 2026
The latest Codex update fixed this for me. Prior to this, I had done some cleaning on my Mac to delete the earlier version of ChatGPT. Not sure to what extent that helped.
That said, to the Open AI support team, a partial reset should be done for all users affected with this issue.
Anyways, congratulations on the launch of Astra. It was well executed.
tacosandtypescript-debug commentedon Sep 10, 2026
Same bug on Linux desktop (not just macOS). Details:
26.903.61454(latest), app-server runningfeatures.code_mode_host=true.remoteControl/enablesucceeds (otel tracerpc.method="remoteControl/enable"), but the app-server can never establish the WebSocket:has_enrollment=true,server_id=Some("srv_..."),environment_id=Some("env_...").~/.codex/logs_2.sqlite), always HTTP 503 from thewhambackend. Zero successful connections recorded.refreshing remote control server tokenruns,remote control auth recovery succeeded), so auth is not the issue.codexbinary /chatgpt.com/backend-api/codex/responses) works fine — only the remote-controlwhamWebSocket returns 503.This looks like a server-side issue with the
wham/remote/controlendpoint rather than the local toggle bug. Happy to provide full redacted logs if useful.onurkose commentedon Oct 3, 2026
It happened to me as well, and it's simply resolved by activating MFA in my account.