Repository navigation
Description
What version of the Codex App are you using?
ChatGPT macOS app 26.1007.71326 (also reproduced on 26.1007.30912). Bundled app-server 0.162.0-alpha.17.2.
Last working version: 26.1007.21159.
What subscription do you have?
ChatGPT Pro (account-independent; this is a network-path issue)
What platform is your computer?
macOS 26.6.2, arm64 (Mac mini)
What issue are you seeing?
On a network where chatgpt.com is only reachable through a local HTTP proxy (configured as the macOS system HTTP/HTTPS proxy, 127.0.0.1:<port>), Remote Control stopped working after the app auto-updated from 26.1007.21159 to 26.1007.30912.
Settings → Connections → Remote Control shows:
无法获取配对码:Timed out waiting for remote control to connect
Everything else in the app works through the system proxy (chat, model calls, plugin sync), so the proxy itself is fine.
~/.codex/logs_2.sqlite (target codex_app_server_transport::transport::remote_control::websocket) shows every attempt failing:
failed to connect to app-server remote control websocket
websocket_url=wss://chatgpt.com/backend-api/wham/remote/control/server
error=timed out connecting to remote control websocket at `wss://chatgpt.com/backend-api/wham/remote/control/server` after 30s
error_kind=TimedOut reconnect_attempt=36
and also:
remote control server token refresh failed
refresh_url="https://chatgpt.com/backend-api/wham/remote/control/server/refresh"
error=... error sending request for url (...) error_kind=TimedOut
lsof on the codex app-server process shows most of its sockets going to the local proxy port, but the remote-control connection is a direct TCP connection to chatgpt.com's resolved IP (stuck in SYN_SENT), i.e. it bypasses the system proxy.
Timeline from the same log DB:
| Time | App version | Remote Control |
|---|---|---|
| 2026-10-12 07:29 (local) | 26.1007.21159 | connected (last success) |
| 2026-10-12 08:04 | auto-updated to 26.1007.30912 | — |
| 2026-10-14 19:47 → 21:10 | 30912 / 71326 | every attempt TimedOut (36+ retries) |
Confirmation / workaround
Launching the app with proxy env vars fixes it immediately:
open -b com.openai.codex --env HTTPS_PROXY=http://127.0.0.1:<port> --env HTTP_PROXY=... --env ALL_PROXY=...
→ connected to app-server remote control websocket within ~5 seconds, and pairing / mobile Remote work.
A/B test on 26.1007.71326, same machine and network, minutes apart:
- app-server launched without proxy env →
TimedOutafter 30s - app-server launched with
HTTPS_PROXYenv → connected in ~5s
Separately, the desktop's durable host connection (Electron main process, hostKind=durable) has also failed continuously since 2026-10-13 with WebSocket was closed before the connection was established / failureReason=open_timeout, and that one is not fixed by the env vars. lsof shows the ChatGPT main process making a direct (non-proxied) connection in SYN_SENT at the same time. Possibly related to #53825.
What steps can reproduce the bug?
- On macOS, set a system HTTP/HTTPS proxy and block direct egress to chatgpt.com (or use a network where it is only reachable via proxy).
- Launch ChatGPT 26.1007.30912+ normally (Dock/Finder, so no
HTTPS_PROXYin env). - Settings → Connections → set up Remote Control.
What is the expected behavior?
The Remote Control websocket and token refresh should honor the macOS system proxy like the rest of the app does, and like 26.1007.21159 did. Requiring users to inject HTTPS_PROXY into the app's launch environment is not discoverable.
Additional information
Related but distinct: #31947 (proxy comment), #53825 (durable / "Reconnecting… waiting for network" on 26.1007.30912).
Activity
PlainWilder commentedon Oct 25, 2026
Confirmed workaround on macOS with V2rayU — pairing succeeded after a refresh
I would like to share an additional successful case on ChatGPT/Codex Desktop version 26.1016.61520.
Environment
127.0.0.1:1087127.0.0.1:1080Initial symptoms
Workspace routing is unavailable, status432, on/wham/remote/control/mfa_requirement.remoteControl/client/listalso failed.What I tried
I completely quit the desktop application and launched it from Terminal with explicit proxy environment variables:
Result
Additional observations
ALL_PROXY.This is consistent with a proxy-handling issue in the desktop or app-server connection path, although I cannot conclusively identify the root cause from this single successful test.
Thanks to everyone who documented the proxy workaround in this issue and the related discussions.