Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Codex Desktop: 26.924.20706 Codex CLI: 0.158.0-alpha.2
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Windows 11 Professional (10.0.22631), x64
What issue are you seeing?
After updating the Codex Windows Desktop application, the app repeatedly displays the following error:
"Unable to load organization settings. The application has been paused until organization settings can be loaded safely."
The issue started after a Codex update on September 26, 2026.
Initially, Codex returned a 401 Unauthorized error referencing an sk-svcac API key, despite the fact that I was authenticated using my ChatGPT Plus account and had not configured an API key.
After restarting Windows, the application temporarily worked again. However, following another application update, the organization settings error returned.
Important findings:
- Codex CLI works normally and successfully completes model requests.
- Authentication mode is
chatgpt. - No OPENAI_API_KEY or CODEX_API_KEY is configured.
- WebSocket connectivity succeeds (HTTP 101 Switching Protocols).
- ChatGPT account authentication works.
codex doctorreports healthy local databases and valid configuration.
Troubleshooting already performed:
- Restarted Windows and Codex multiple times.
- Signed out and signed back into ChatGPT.
- Changed proxy/network settings.
- Used Windows application Repair.
- Backed up and regenerated the desktop application's Web user data.
- Verified CLI functionality independently.
- Inspected Codex logs for authentication and configuration errors.
None of these steps resolved the desktop application issue.
The Codex CLI remains functional, but the Windows Desktop App is blocked by the organization settings initialization error.
I suspect a desktop-specific initialization or authentication issue introduced during the update, although the exact root cause is currently unknown.
What steps can reproduce the bug?
- Install or update the Codex Windows Desktop App to version 26.924.20706.
- Sign in using a ChatGPT Plus account.
- Launch the Codex Desktop App.
- The application attempts to initialize and load organization settings.
- A blocking dialog appears: "Unable to load organization settings."
- Click "Retry". The same error continues to appear.
- Restart Windows and launch Codex again. The issue may temporarily disappear but has returned after another update.
Additional verification:
Running the Codex CLI independently succeeds:
codex exec --skip-git-repo-check "Reply only: Connection test successful. Do not read or modify any files."The CLI successfully returns the expected response, while the Desktop App continues to fail.
What is the expected behavior?
The Codex Desktop App should successfully load organization settings and open the workspace normally after signing in with my ChatGPT Plus account.
Additional information
The CLI and Desktop App use the same local Codex environment. The CLI works, but the Desktop App fails during organization settings initialization.

Activity
github-actions commentedon Sep 27, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
waibaba-fifi commentedon Sep 30, 2026
I’m experiencing the same issue on a newer Windows Codex Desktop version: 26.928.1915.0.
The app continuously shows “Unable to load organization settings” and cannot reach the main interface.
Troubleshooting already performed:
%USERPROFILE%\.codex\config.toml(empty)LocalCacheandTempStateThe issue started immediately after updating Codex on September 30, 2026.
This suggests the issue is still reproducible on 26.928.1915.0, not only the earlier 26.924.x builds.
filipgalysz commentedon Sep 30, 2026
What worked for me:
Change
C:\Users\YOUR_USER\ .codex
to
C:\Users\YOUR_USER\ .codex.backup
Open the app and login. Tell it to bring back your past conversation from the backup (C:\Users\YOUR_USER\ .codex.backup)
sunshuanglong20010414 commentedon Oct 4, 2026
Hit this too, and burned a full working day on it. Posting what I found so the next person doesn't have to.
Three things worth knowing up front:
The logs are not missing. They're in
%USERPROFILE%\.codex\logs_2.sqlite(SQLite, not text files). Everyone looks in%LOCALAPPDATA%\Codex\Logs, finds nothing, and concludes the app "fails silently before logging". That wrong conclusion is why this issue has dozens of replies and still no root cause.The real delta between stable and beta is the app-server transport. Beta 26.727 talks to the app-server over stdio
codex-issue-48747-comment.md
. Stable 26.930 talks to it over a WebSocket, which gets reset on every launch with
os error 10054(WSAECONNRESET). Same machine, same account, sameCODEX_HOME, same network — beta works, stable doesn't:WARN codex_app_server_transport::transport::websocket
websocket receive error: IO error: 远程主机强迫关闭了一个现有的连接 (os error 10054)
WARN codex_app_server::transport
dropping message for disconnected connection: ConnectionId(0..3)
And in the very same session:
GET https://chatgpt.com/backend-api/codex/models -> status=200 OK. So auth/DNS/TLS/egress are fine — it's the transport specifically. This also means no amount of local cleanup (config, socket, processes, reinstall, MSIX container, ACLs) can fix it, because the failing path is a transport beta never opens.sessions/**/rollout-*.jsonl;state_5.sqliteis just a version-coupled index. I tried deletingstate_5to force a re-migrate and tried copying a stable-erastate_5into beta — both give you titles with empty bodies, and in the second case new messages typed into an old thread silently vanish. Parsing the rollouts to Markdown is the only thing that actually worked (137 rollouts → 63 conversations / 2,344 messages). Details in the collapsed section.Workaround: use the beta channel. CLI (
codex0.160.0) is unaffected either way.Three asks for the maintainers, in priority order:
codex_app_server_transport::transport::websocketwith no peer — no way to tell whether the app-server itself or something in between sent the RST. That one missing field is the difference between a diagnosable bug and a week of guessing.Happy to run a packet-level capture of the loopback WebSocket in 26.930 to identify who sends the RST, if a maintainer wants that data point.
Full details: environment, everything ruled out, data layout, recovery attempts
Environment: Windows 11 Enterprise, corporate-managed device, Trend Micro OfficeScan. ChatGPT Plus personal account (no Business/Enterprise workspace).
OpenAI.Codex26.930.3930.0 broken /OpenAI.CodexBeta26.727.4816.0 fine. CLI 0.160.0 works.codex doctor: 0 failures. No VPN/proxy/tunneling.Extracting the log (kill codex processes first — the file is locked otherwise):
powershell
Get-Process codex -EA SilentlyContinue | Stop-Process -Force -EA SilentlyContinue
$src = @()
foreach ($f in "$env:USERPROFILE.codex\logs_2.sqlite", "$env:USERPROFILE.codex\logs_2.sqlite-wal") {
if (Test-Path $f) { $src += [Text.Encoding]::UTF8.GetString([IO.File]::ReadAllBytes($f)) }
}
[regex]::Matches(($src -join "`n"), '(ERROR|WARN)[\x20-\x7e]{10,300}') | ForEach-Object { $_.Value } | Select-Object -Last 40
Ruled out, with evidence:
ProxyEnable=0no change;/codex/models→ 200config.tomlNUL corruption (#49469)[features]gates off — dialog persists, logs still showplugins_enabled=truedaemon version→ running; dialog persists-Force; dialog persistsapp-server-control.sock*PolicyRequired=0, no subkeys.codexin any container pathWhere your data lives
codex-issue-48747-comment.md
(both MSIX packages share one
CODEX_HOME— there is no "sync" between stable and beta, it's the same directory):.codex\sessions\YYYY\MM\DD\rollout-*.jsonl.codex\state_5.sqlite(threads,thread_sections, …).codex\.codex-global-state.json.codex\memories_1.sqlite/.codex\goals_1.sqlite.codex\skills\<name>\SKILL.md+agents\openai.yaml.codex\skills\.system\.codex\vendor_imports\skills-curated-cache.jsonRecovery attempts:
state_5.sqlite, let beta re-migratestate_5.sqliteinto betaskills\from backup.codex-global-state.jsonrollout-*.jsonl→ MarkdownWhy new messages vanish in old threads: the write reaches the filesystem (new rollout file), but
state_5isn't updated, so the new rollout never gets associated with the oldthread_id. Switching back re-queriesstate_5, finds no new section, renders nothing. Not "storage blocked" — an index that no longer tracks the data. Treat old threads as frozen titles; do new work in new conversations.jag-a-i commentedon Oct 7, 2026
This baloney has happened to me today, still doesn't seem to be fixed apparently