Skip to content

Windows desktop: workspace settings fail to load in new chats while model replies still work #54168

Closed

Description

@woyaozaoshui

Environment

  • Date observed: October 15, 2026.
  • Codex desktop app: 26.1007.71326, build 20398, production channel.
  • Built-in update check: up_to_date.
  • Local bundled app-server reported in desktop logs: 0.162.0-alpha.17.2.
  • Windows version: Microsoft Windows NT 10.0.26200.0.
  • Subscription and account identifiers: omitted.

Observed behavior

Opening a new window or starting a new chat displays the Chinese error “Codex 无法加载工作空间设置” (Codex cannot load workspace settings). Clicking Retry does not reliably clear the failure. However, the user can send a message and receive a normal model reply in the affected interface.

The user reports that the issue persists after fully restarting the desktop app, checking network/browser access, and signing out and back in. The built-in update check reports no eligible update.

Reproduction steps

  1. Open the Codex desktop app on Windows while signed in.
  2. Open a new window or start a new chat.
  3. Observe the workspace-settings loading error.
  4. Click Retry.
  5. Send a message in the chat.
  6. Observe that the model can reply even though the workspace-settings loading problem remains reproducible.

Expected behavior

Workspace settings should load successfully. If initialization temporarily fails, Retry should recover when possible, or the UI should identify the failing operation and provide an actionable error. A settings failure should be clearly distinguished from the availability of the model conversation.

Sanitized diagnostic evidence

The following are selected fields from the desktop log after an application restart. Times are UTC. Request IDs, account identifiers, local paths, headers, conversation contents, and stack traces are omitted.

2026-10-15T02:56:18.721Z GET /settings/user
status=432
errorMessage="Workspace routing is unavailable"

2026-10-15T02:56:49.112Z GET /settings/user
status=432
errorMessage="Workspace routing is unavailable"

2026-10-15T02:56:53.252Z GET /settings/user
status=403
errorCode=cloudflare_challenge

At the diagnostic snapshot, the same desktop log contained 84 successful config/read responses and no matched failed config/read responses, as well as three successful turn/start responses. The user independently confirmed receipt of model replies. The user-level TOML configuration also parsed successfully.

An additional file-read error occurred repeatedly:

2026-10-15T02:56:18.711Z method=fs/readFile
code=-32602
message="fs/readFile requires an environmentId"

2026-10-15T02:56:51.824Z method=fs/readFile
code=-32602
message="fs/readFile requires an environmentId"

These observations establish that settings/file initialization failures can coexist with a working model conversation. They do not establish whether the file-read error, workspace-routing error, and Cloudflare response share one root cause, or which request directly produces the visible error.

Related report

中文摘要

Windows Codex 桌面版 26.1007.71326 新窗口或新对话提示“Codex 无法加载工作空间设置”。点击重试后仍可复现,但发送消息可以正常收到模型回复。完整重启、网络检查及重新登录后仍然出现。日志中 /settings/user 返回 432: Workspace routing is unavailable,另有 403: cloudflare_challenge 和 fs/readFile requires an environmentId;同时本地配置读取和部分对话启动成功。上述错误是否具有同一根因尚未确定。

Activity

  1. added
    bug
    app
    windows-os
    connectivity
    app-server
    on Oct 15, 2026
  2. woyaozaoshui commented on Oct 15, 2026

    @woyaozaoshui
    Author

    Clarification after reviewing the potential duplicate reports:

    The key reproduction detail in #54168 is that the workspace-settings error and a successful model reply occur in the same newly opened, affected chat/window. After clicking Retry, I can enter and send a message and receive a normal model reply, while the workspace-settings loading problem remains reproducible. This is not limited to an already established chat, the web app, or the CLI continuing to work.

    Comparison with the suggested reports:

    There is clear overlap in the failure signatures, so a shared root cause is possible. I am not claiming these are definitely separate defects.

    For this installation:

    • Windows desktop app 26.1007.71326, build 20398; bundled local app-server 0.162.0-alpha.17.2.
    • /settings/user records status 432 with Workspace routing is unavailable, and separately 403 / cloudflare_challenge.
    • Local config/read requests succeed, and model replies are user-confirmed.
    • fs/readFile requires an environmentId is also logged, but its relationship to the visible error has not been established.
    • The issue persists after a full restart, network/browser checks, and signing out and back in. The updater reports up_to_date.

    Could a maintainer confirm the appropriate tracking issue, and whether this partial initialization/retry behavior should be consolidated with one of the candidates? I am retaining this report pending that clarification.

    中文补充:工作空间设置报错和正常收到模型回复,发生在同一个新打开的聊天窗口中;不只是旧对话或网页端仍可用。

  3. csalvarado commented on Oct 20, 2026

    @csalvarado

    Cross-reference from a Windows 26.1013.40934 / package 26.1013.4894.0 installation. The same workspace-settings banner appears after startup, but in this case the composer remains blocked even though local config reads and later settings/account requests succeed. The logs also contain fs/readFile requires an environmentId. This supports separating “model replies still work” from whether the workspace-settings initialization gate recovers. See #55489 for the current reproduction and unsuccessful recovery attempts.

  4. ljybio commented on Oct 30, 2026

    @ljybio

    I'm experiencing the same issue on the Codex Windows desktop app (26.1023.6621.0, bundled runtime 0.165.0-alpha.1.2).

    Symptoms:

    • ChatGPT sign-in succeeds, but new chats display Couldn't load workspace settings.
    • Messages can only be sent during the brief loading interval after clicking Retry. Model responses work normally.
    • Settings → Usage & Billing also fails with Could not load usage settings.

    Relevant logs:

    hasAccount=true
    /wham/usage → 432: Workspace routing is unavailable
    /settings/user → 500: ERR_PROXY_CONNECTION_FAILED
    /accounts/check/{version} → 500: ERR_PROXY_CONNECTION_FAILED
    fs/readFile requires an environmentId
    

    Troubleshooting performed:

    • Restarted and reinstalled Codex; signed out and back in.
    • Tested different Clash nodes and Windows System Proxy on/off.
    • Checked CODEX_CLI_PATH and confirmed the desktop app uses its bundled runtime.
    • Verified that the standalone Codex CLI authenticates and invokes models successfully.

    None of these steps resolved the workspace or usage-settings failures.

    Could the maintainers investigate whether workspace initialization and Usage & Billing share a routing dependency, and whether a workaround is available?

    Thank you!

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

    appapp-serverbugconnectivitywindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions