Skip to content

Codex on Windows won't sign in on my Malaysian connection, but works through a proxy #49050

Open

Description

@maxitaaaa

I'm in Malaysia and want to use Codex without a VPN or proxy. On my current connection, the Windows desktop app cannot finish signing in or loading the workspace. It shows "Unable to load organization settings"; an OAuth attempt also fails at token exchange. Turning the proxy back on lets me use Codex again.

I spent the night of September 28-29 checking this. I have narrowed down the symptoms, but I haven't established the root cause.

Environment

  • Microsoft Store package: OpenAI.Codex 26.924.2738.0.
  • Windows 11 Home, build 10.0.26200, x64.
  • ChatGPT sign-in. The subscription tier was not captured in the diagnostic notes.
  • Network location: Malaysia.
  • Times below are September 29, 2026, UTC+8.

What I tried

At about 02:12, the diagnostic run removed the proxy entries from %USERPROFILE%\.codex\.env, set Windows ProxyEnable=0, stopped the active proxy client, and checked that its local listening port had closed. Codex was then fully stopped and relaunched.

The app still failed. At 02:13:43 its local log recorded:

oauth token exchange transport failure is_timeout=false is_connect=true is_request=true error=error sending request for url (https://auth.openai.com/oauth/token)

Other requests failed during the same launch, including:

Request failed method=POST url=https://chatgpt.com/backend-api/codex/analytics-events/events is_timeout=false is_connect=true
http/request send failed http_method="POST" error_is_timeout=false error_is_connect=true error=error sending request

At about 02:22, I tried disabling the configured plugins and the remote documentation MCP, then restarting again. The check still showed no proxy entries in .env, ProxyEnable=0, and no listener on the proxy port. New connection failures appeared at 02:22:54-55 for analytics and /backend-api/ps/plugins/installed. I restored the plugin settings afterward. Since remote plugin requests still appeared, I am not treating this as a proven plugin-free run.

Direct connectivity checks

Immediately before the 02:12 relaunch, separate unauthenticated Python GET requests using urllib.request.ProxyHandler({}) returned:

Endpoint HTTP status
https://auth.openai.com/oauth/token 405
https://chatgpt.com/backend-api/codex/models 401
https://chatgpt.com/backend-api/wham/remote/control/server/refresh 405
https://chatgpt.com/backend-api/ps/mcp 451

These are reachability checks, not successful authentication or equivalents of the app's authenticated POST requests. Earlier that night, separate Python socket tests completed 20/20 TCP and TLS connections to both auth.openai.com and chatgpt.com.

One diagnostic request returned {"message":"no_biscuit_no_service"}. However, HTTP 451 was also recorded for that endpoint through a proxy, so this does not establish that Cloudflare or TLS fingerprinting caused the desktop login failure. Likewise, is_connect=true alone does not tell me whether the underlying cause was DNS, TLS, a reset, or proxy selection.

Reproducing the symptom on this machine

  1. Fully exit Codex.
  2. Remove the Codex proxy environment entries, disable the Windows system proxy, and stop the proxy client.
  3. Relaunch the desktop app and try ChatGPT sign-in or retry loading the workspace.
  4. The app fails to load organization settings; the logs above show transport failures.
  5. Re-enable the working proxy and relaunch. I can use Codex again.

What would help

I'd expect Codex to complete sign-in and startup on a working supported-region connection without requiring a proxy. If a request fails, the app should expose enough detail to diagnose it.

Could you investigate the OAuth/startup transport failure and advise how to capture the underlying connection error and the actual proxy route selected by the desktop/backend? I also couldn't identify which specific organization-settings request triggered the blocking dialog.

This is an existing installation with prior local proxy-launch and browser-control adjustments, not a clean-install reproduction. Some troubleshooting shells had their own injected proxy variables; the GET checks above explicitly bypassed them, but the desktop/backend process environments were not captured on every failed launch. A different ISP or phone hotspot has not yet been tested. The proxy workaround is based on my observed app behavior, not a matched authenticated HTTP capture.

Related symptoms: #48324 and #26764. I haven't confirmed that they share the same cause.

Activity

  1. added
    bug
    app
    windows-os
    auth
    connectivity
    on Sep 28, 2026
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

    appauthbugconnectivitywindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions