Skip to content

Unable to load workspace settings #52437

Open

Description

@fanxiaoxue829-design

What issue are you seeing?

Windows 客户端新聊天持续提示“无法加载工作空间设置”。浏览器聊天正常,退出账号重新登录无效。2026年10月9日14:32(北京时间),GET /settings/user 返回403,错误码cloudflare_challenge,并曾返回500;configRequirements/read成功。使用Clash Verge规则模式。请协助排查客户端设置加载与安全验证问题。

What steps can reproduce the bug?

打开软件就有,重新安装软件重启后也没有消失

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    bug
    on Oct 9, 2026
  2. changed the title [-]无法加载工作空间设置[/-] [+]Unable to load workspace settings[/+] on Oct 9, 2026
  3. github-actions commented on Oct 9, 2026

    @github-actions
    Contributor

    English translation:

    What issue are you seeing?

    New chats in the Windows client keep displaying “Unable to load workspace settings.” Chat works normally in the browser, and signing out and back in does not help. On October 9, 2026, at 14:32 (Beijing time), GET /settings/user returned 403 with the error code cloudflare_challenge, and had also returned 500; configRequirements/read succeeded. Using Clash Verge in rule mode. Please help investigate the client’s settings loading and security verification issues.

    What steps can reproduce the bug?

    The issue appears as soon as the app is opened, and persists even after reinstalling the app and restarting.

    What is the expected behavior?

    No response

    Additional information

    No response

  4. added
    app
    windows-os
    connectivity
    on Oct 9, 2026
  5. Sam9965 commented on Oct 10, 2026

    @Sam9965

    +1, reproduced on Windows after the recent Codex update.

    Observed with Desktop 26.1007.2314.0 / runtime 0.162.0-alpha.17.2:

    • New chats were blocked by “无法加载工作空间设置 / 请重试以继续聊天”.
    • Existing chats could still be resumed normally.
    • Desktop logs repeatedly showed GET /settings/user -> 403 with errorCode=cloudflare_challenge, alongside similar 403s for /accounts/check and other ChatGPT endpoints.
    • codex doctor reported config parsing, auth, local state DB integrity, and WebSocket connectivity as healthy.
    • Retry failed initially; a later full app restart recovered new-chat creation, so the failure appears intermittent rather than a persistent local workspace/config corruption.
    • ChatGPT in a normal web browser remained usable during the incident.

    This seems consistent with #51691 and may help distinguish a Desktop/Cloudflare challenge recovery problem from local workspace settings corruption.

  6. xxhh12a commented on Oct 12, 2026

    @xxhh12a

    Additional evidence from an affected Windows desktop installation, checked on 2026-10-12.

    The user reports recurring “无法加载工作空间设置” (“Couldn't load workspace settings”). The investigation below verifies local request failures and browser/network observations; it does not establish the exact upstream trigger or claim an automated reproduction of every affected composer path.

    Environment

    • Windows, x64.
    • Installed Windows package: 26.1007.2314.0; desktop startup log build: 13901.
    • Clash Verge/Mihomo in rule mode with TUN enabled and a system HTTP proxy.

    Verified observations

    • Desktop logs contain both of these failures at the same time (UTC; selected fields only):
      2026-10-12T03:02:54.559Z routePattern=/settings/user status=403 errorCode=cloudflare_challenge
      2026-10-12T03:02:54.559Z routePattern=/accounts/optimized/check status=403 errorCode=cloudflare_challenge
      
    • In the reviewed October 12 desktop runs, local config/read had 70 successful responses and no error responses at the time of the check. These are log-entry counts, not user-visible failure counts.
    • The same Cloudflare challenge classification was present for /accounts/optimized/check on October 8 and 9.
    • A fresh navigation to ChatGPT in Edge on the same computer/network completed loading the account UI, history, model selector and composer. No message was sent for this test.
    • The running proxy's connection table showed the observed ChatGPT/OpenAI hosts using one selected node. No split across different nodes was observed in that snapshot.
    • An independent unauthenticated command-line HEAD request through the current proxy received HTTP 403 with cf-mitigated: challenge. This only corroborates challenge behavior for that request; it does not prove all clients are blocked or that the proxy node is the root cause.

    What is not established
    No alternate-node/network A/B test or sign-out/sign-in test was performed in this investigation. We cannot attribute the challenge to IP reputation, a client validation state, token expiry, a particular update, or local configuration. Browser success alone does not prove desktop and browser requests share a validation session. A successful local configuration read does not exclude every possible local contributing factor.

    Please investigate first-party desktop account/workspace validation and challenge recovery, and provide a supported way to recover/refetch workspace policy without losing drafts or weakening policy enforcement. It would help if the UI distinguished a Cloudflare challenge from an authentication error or an actual workspace-policy denial.

    No raw logs, account/chat identifiers, filesystem paths, IP addresses, node/provider names, credentials, cookies, request headers or private conversation content are included.

  7. mosslive1314-hue commented on Oct 16, 2026

    @mosslive1314-hue

    Follow-up: Windows Codex new chats still blocked after proxy A/B and re-authentication (2026-10-16)

    Environment

    • Windows Codex Desktop (MSIX): 26.1007.9446.0
    • Bundled CLI: 0.162.0-alpha.17.2
    • Clash Verge: 2.5.8, Mihomo TUN enabled
    • System proxy initially enabled
    • ChatGPT web app works with the same account
    • Existing Codex conversations work, but new conversations cannot be started

    Reproduction and troubleshooting

    1. Selected an existing, accessible local workspace directory. The error persisted.
    2. Tested TUN + system proxy enabled: new conversations remained blocked.
    3. Disabled system proxy while keeping TUN enabled and the same proxy node: same failure.
    4. Restored the original proxy configuration: the issue remained.
    5. Signed out and signed back in through the Codex desktop application: no recovery.

    Authenticated desktop log evidence after re-login

    • GET /settings/user → 403, errorCode=cloudflare_challenge (30 matching records)
    • 432, Workspace routing is unavailable (3 matching records)
    • Additional cloudflare_challenge entries in the same day's logs (269 matches in total)

    These are client log records, not anonymous HTTP requests. The counts are log matches, not necessarily separate user-visible failures.

    Actual behavior

    New chat displays "Unable to load workspace settings" and the Send button remains disabled. Existing conversations remain usable.

    Expected behavior

    The workspace settings should load successfully, or the client should provide a supported recovery mechanism without deleting local session data.

    Request

    Could the maintainers investigate the authenticated /settings/user Cloudflare challenge, HTTP 432 workspace routing failures, and how the Windows desktop client handles retries?

    A supported recovery or diagnostic method would be particularly helpful.

    No credentials, account identifiers, raw private logs, proxy provider information, or private workspace paths are included.

  8. seven-share commented on Oct 25, 2026

    @seven-share

    i have the same problem

  9. vladaliii commented on Oct 26, 2026

    @vladaliii

    I have the same problem. this error existed for a month.

  10. kj-negative25 commented on Oct 26, 2026

    @kj-negative25

    Windows app: new local chats blocked by workspace settings loader after successful sign-in; account requests receive Cloudflare challenges

    Environment

    • Windows x64, OS build 26200.
    • Installed MSIX package: OpenAI.Codex 26.1021.3705.0.
    • In-app update check: installed version 26.1021.31345, build 21828, production channel, up_to_date.
    • The current desktop main process has valid Windows package identity.
    • Windows system proxy is enabled. The current app was launched through Windows registered MSIX activation with an explicit local HTTP proxy argument. No credentials, public IPs, or proxy provider details are included here.

    Reproduction

    1. Open the desktop app and sign in using the normal ChatGPT sign-in flow.
    2. Create or select a local project and choose the local computer.
    3. Try to start a new chat/task.

    The composer is blocked by the localized message:

    无法加载工作空间设置
    请重试以继续聊天

    Retrying does not restore the new-chat flow. An existing local Codex conversation remains usable.

    Expected result

    The account/workspace settings request completes, and a new local project chat can start.

    Observed evidence

    The desktop log explicitly recorded a successful sign-in, followed by failing account requests in the same desktop process:

    2026-10-26T09:55:57.362Z account_login_completed success=true
    2026-10-26T09:57:10.057Z sa_server_request_failed routePattern=/settings/user status=403 errorCode=cloudflare_challenge
    2026-10-26T09:57:10.067Z sa_server_request_failed routePattern=/accounts/check/{version} status=403 errorCode=cloudflare_challenge
    2026-10-26T09:57:10.469Z sa_server_request_failed routePattern=/accounts/optimized/check status=403 errorCode=cloudflare_challenge
    2026-10-26T10:03:09.329Z sa_server_request_failed routePattern=/sentinel/heartbeat status=403 errorCode=cloudflare_challenge
    

    The login cache contains a non-expired access token and a refresh token. No token values or account identifiers are included.

    Read-only checks through the installed official app-server succeeded for:

    • config/read for the affected local project: success, no reported configuration warnings.
    • configRequirements/read: success, no local managed requirements returned.
    • account/read with refreshToken=false: success, account type chatgpt.

    The local TOML parses successfully and does not set a custom chatgpt_base_url, custom openai_base_url, forced login method, or forced workspace ID. There is no project-level config override.

    Scope and limits

    The persistent failure shown here is an account/workspace request receiving a Cloudflare challenge after successful desktop sign-in. The exact reason for the challenge is not established by the local logs. No client code was patched to skip workspace policy checks, and no validation cookies, TLS settings, or authentication protections were changed.

    An earlier launcher issue that lost MSIX package identity was corrected, but the account-request failure persists after the package identity was restored. This report does not claim that the launcher change fixed the new-chat failure.

    Please advise on a supported way to complete any required verification in the desktop client, or investigate whether the official desktop request path is being challenged incorrectly.

    This report contains only the environment, generic reproduction steps, and sanitized error records. It deliberately excludes the project name/path, user name, account ID, email, tokens, cookies, conversation text, audio, and complete session logs.

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

    appbugconnectivitywindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions