Skip to content

[Windows] Codex blocked by “Unable to load organization settings” before sign-in #49887

Open

Description

@zeyuhou222-ship-it

What version of the Codex App are you using (From “About Codex” dialog)?

Windows package version: 26.928.3736.0. Earlier logs show 26.928.2636.0. I cannot access the About dialog because startup is blocked.

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Windows, x64.

What issue are you seeing?

The Codex desktop app on Windows is completely blocked by an “Unable to load organization settings” dialog, which appears before the sign-in page.

The issue started suddenly during normal use on October 1, 2026 (UTC+8). Microsoft Store shows that the app was updated that day, but I cannot confirm whether the update caused the issue.

The dialog says, translated from Chinese:
“Unable to load organization settings. The app is paused until organization settings can be safely loaded. Network connectivity, a proxy, or a firewall may be preventing access. Check your connection and retry, or sign out and use another account. If the problem persists, contact your IT administrator.”

Expected behavior:
The app should open normally or display the sign-in page.

Actual behavior:
The dialog blocks startup. After resetting the app, the same error still appears before any sign-in page.

Troubleshooting already attempted:

  • Retried and restarted the app.
  • Restarted Windows.
  • Tried signing out.
  • Completed Windows app Repair and Reset.
  • Tried multiple Astrill VPN servers.
  • Reproduced the issue with both StealthVPN and OpenWeb. WireGuard could not connect, so it could not be tested.
  • Checked Windows proxy settings: WinHTTP reports direct access; ProxyEnable is 0; ProxyServer and AutoConfigURL are empty.
  • Checked the configured/default Codex home for auth.json; the file was not found.

ChatGPT works in the browser on the same computer.

Command-line HEAD requests to chatgpt.com and auth.openai.com both returned HTTP 403 with “Cf-Mitigated: challenge”. These tests reached Cloudflare, but they do not establish whether the app’s organization-settings request is failing for the same reason.

The latest desktop logs found stopped updating around 12:27 UTC+8. No newer desktop logs were found in the locations checked despite repeated launch attempts. Earlier logs contain ECONNRESET, WebSocket closure code 1006, and connection timeouts, but no clear error corresponding to this startup dialog.

Please advise how to collect startup diagnostics when the app cannot reach the sign-in page or its built-in feedback interface.

What steps can reproduce the bug?

On my affected Windows computer:

  1. Connect to the internet using Astrill VPN. ChatGPT works in the browser.
  2. Launch the Codex desktop app.
  3. Before the sign-in page appears, the app displays “Unable to load organization settings” and blocks access.
  4. Click Retry. The same error persists.
  5. Exit and reopen the app. The error appears again.

The issue also persists after restarting Windows and completing app Repair and Reset through Windows Settings.

I reproduced this with both Astrill StealthVPN and OpenWeb. I have not been able to test with another VPN provider.

No prompt or code execution is required. I cannot obtain a new session ID because the app is blocked before I can open a chat.

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    app
    on Oct 1, 2026
  2. added
    bug
    windows-os
    connectivity
    auth
    on Oct 1, 2026
  3. Kozavochka commented on Oct 2, 2026

    @Kozavochka

    I’m seeing the same issue on Windows, and I found some additional behavior that may help narrow it down.
    What I tried
    Before finding a workaround, I tried:

    • restarting Codex multiple times;
    • restarting Windows;
    • retrying from the error dialog;
    • disabling/changing VPN/network configuration;
    • signing out / trying to re-authenticate;
    • killing all Codex processes and starting the app again.
      None of these resolved the issue.
      Workaround that temporarily fixed the Windows app
      I then completely closed Codex and moved my local Codex state directory out of the way:
      C:\Users<user>.codex

    I renamed it to a backup and started Codex with a clean .codex directory.
    After doing that, Codex started normally again and recreated a fresh .codex directory.
    This strongly suggests that, at least in my case, the startup failure was related to local Codex state rather than only network connectivity or the OpenAI account itself.
    I later restored parts of my old state selectively (sessions, project metadata, skills, MCP configuration, etc.), rather than restoring the entire old directory at once.
    The same error reproduced after switching Codex to WSL
    After the Windows environment was working again, I switched Codex’s execution environment from Windows to WSL / Ubuntu.
    Immediately after that, the same startup-blocking error returned:
    Unable to load organization settings

    At this point I could no longer open the app UI to switch the environment back to Windows.
    I investigated the WSL filesystem and found that the Ubuntu filesystem had entered an emergency read-only state.
    findmnt showed:
    /dev/sdd ext4 rw,relatime,discard,errors=remount-ro,data=ordered,emergency_ro

    Both of these write tests failed:
    touch /home//.wsl-write-test
    touch /home//.codex/.wsl-write-test

    with:
    Read-only file system

    I also ran:
    wsl --shutdown

    and started Ubuntu again, but the filesystem remained read-only.
    Attempting to rename the WSL Codex directory:
    /home//.codex

    also failed with:
    Read-only file system

    Why this seems relevant
    The interesting part is that the app surfaces this situation as an organization settings / connectivity error, even though the underlying WSL environment cannot write to its filesystem.
    So there may be at least one startup path where:

    1. Codex is configured to use WSL;
    2. the selected WSL environment or its Codex home cannot be initialized/read/written correctly;
    3. startup fails before the UI becomes available;
    4. the generic “Unable to load organization settings” dialog is shown instead of an error related to the selected execution environment or local state.
      This also makes recovery difficult because once startup is blocked, the user cannot switch the execution environment back to Windows from the UI.
      Summary
      In my case:
    • resetting/renaming the Windows .codex directory allowed Codex to start again;
    • switching the execution environment to WSL reproduced the exact same startup-blocking dialog;
    • the WSL root filesystem was confirmed to be in a read-only/emergency state;
    • the app did not expose that as the actual problem and instead reported a failure to load organization settings.
      It would be useful if Codex could:
    • distinguish organization/network failures from local state / WSL initialization failures;
    • fall back to Windows if the selected WSL environment cannot initialize;
    • or provide a way to change the execution environment from the startup error dialog.
  4. Kozavochka commented on Oct 2, 2026

    @Kozavochka

    After updating to Windows package 26.930.2377.0, the app starts successfully again in Windows mode. However, I have not yet confirmed whether the underlying issue is fully fixed, because switching to WSL previously reproduced the same startup-blocking error.

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