Skip to content

macOS: new Codex chats blocked by workspace settings error; DeviceCheck registration returns 403 despite successful attestation #53903

Open

Description

@SwainWong

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

26.1007.30912 (build 20156), bundle identifier com.openai.codex.

Version verified from the installed application's Info.plist. Bundled Codex CLI: 0.162.0-alpha.17.2.

What subscription do you have?

ChatGPT Pro, using ChatGPT account sign-in.

What platform is your computer?

Darwin 25.4.0 arm64 arm
  • macOS 26.4.1 (25E253)
  • Apple Silicon MacBook Pro, hardware model MacBookPro18,1

What issue are you seeing?

Opening a new Codex chat displays the localized equivalent of:

Couldn't load workspace settings
Retry to continue chatting

This blocks submitting the first prompt and interrupts normal desktop work.

This is an additional reproduction of the failure reported in #53333 and #52746. The useful distinction in these diagnostics is that native DeviceCheck attestation generation succeeds in approximately 16–25 ms, but the subsequent registration returns HTTP 403. Local app-server configuration requests succeed during the same window.

The latest investigated occurrence was on 2026-10-14 around 07:15–07:18 UTC (15:15–15:18 UTC+8), immediately after a desktop application launch.

What steps can reproduce the bug?

On the affected installation:

  1. Launch the desktop application with the existing ChatGPT sign-in.
  2. Open a new Codex chat.
  3. Observe the workspace-settings warning and inability to submit the first prompt.

No large prompt, image attachment, or long conversation is required for this new-chat failure. A model-specific prompt, context-window utilization, and an established conversation ID are not applicable to this reproduction because it is blocked before the first prompt.

The failure was observed again after the application launched at 07:15:33 UTC. A recovery from the Retry button has not been independently verified in this investigation.

What is the expected behavior?

With valid account and device verification, a new Codex chat should load its required workspace settings and allow the first prompt to be sent.

If device registration fails, please expose an actionable error and a supported recovery procedure that preserves existing conversations and project settings. The generic workspace-settings warning does not explain the underlying registration failure.

Additional information

Sanitized diagnostic evidence

The following are selected fields from desktop logs, with timestamps in UTC. Account IDs, request IDs, device tokens, cookies, and private paths have been omitted.

2026-10-14T07:15:47.594Z
sa_server_request_failed
routePattern=/settings/user
errorCode=devicecheck_registration_http_failed
errorMessage="DeviceCheck registration failed (403)"
status=500

2026-10-14T07:16:11.398Z
[devicecheck-attestation] DeviceCheck attestation generated
deviceCheckLatencyMs=15.71425 durationMs=16

2026-10-14T07:16:25.527Z
sa_server_request_failed
routePattern=/settings/user
errorCode=devicecheck_registration_http_failed
errorMessage="DeviceCheck registration failed (403)"
status=500

2026-10-14T07:16:25.534Z
sa_server_request_failed
routePattern=/accounts/check/{version}
errorCode=devicecheck_registration_http_failed
errorMessage="DeviceCheck registration failed (403)"
status=500

2026-10-14T07:17:28.060Z
[AppServerConnection] response_routed
method=configRequirements/read
errorCode=null durationMs=17

Other successful attestation generations were recorded at 07:16:20, 07:16:32, and 07:17:55 UTC. The settings and account-check failures recur at 07:18:27 UTC.

What was verified

  • The local app-server connected over stdio at 07:15:35 UTC.
  • configRequirements/read returned errorCode=null repeatedly, including at 07:15:46, 07:16:08, and 07:17:28 UTC.
  • The separate durable app-server connection reached the connected state at 07:15:48 UTC.
  • The local TOML configuration parses successfully.
  • Read-only inspection of the installed application bundle shows a DeviceCheck registration POST to the configured /devicecheck endpoint. A non-success registration response produces registration_http_failed.
  • The status=500 entries above are from the desktop request layer propagating the registration failure. They do not by themselves establish that the upstream /settings/user and /accounts/check endpoints each returned HTTP 500.

Network/configuration context and limits

A local loopback HTTP/HTTPS/SOCKS proxy is configured on this Mac. No controlled alternate-proxy or alternate-network comparison has been completed, so the proxy is environment context, not an established cause.

The model provider uses Responses HTTP with supports_websockets=false. This setting does not control the desktop's separate durable app-server connection or DeviceCheck registration.

A provider display-name change intended to restore model-request compression was made at 04:28 UTC that day. The same devicecheck_registration_http_failed error was already present at 02:49:37 UTC, before that change. A separate model-endpoint diagnostic does not establish that desktop account/settings initialization is healthy.

Other requests in the same period returned 403 / cloudflare_challenge. However, the DeviceCheck registration response body was not captured, so I cannot establish that its 403 was itself a Cloudflare challenge, or attribute it to an account restriction, proxy, OS defect, or application regression.

No cache/authentication-store deletion, device-verification bypass, application patch, or reinstall was performed as part of this investigation. Recovery of the affected new-chat window has not been verified.

Related reports and request

Please investigate the registration-403 path and its effect on new-chat workspace initialization, and document supported recovery steps. This report provides additional versioned, timestamped evidence; please consolidate it with the existing registration-403 issue if appropriate.

Only selected, sanitized diagnostic metadata is included. No raw log files, credentials, account identifiers, private conversation content, project files, or original conversation IDs are attached.

Activity

  1. added
    bug
    app
    auth
    safety-check
    on Oct 14, 2026
  2. github-actions commented on Oct 14, 2026

    @github-actions
    Contributor
  3. jay252 commented on Oct 14, 2026

    @jay252

    Codex Desktop fails to load workspace settings — attestation timeout_seconds=0

    Environment:

    • macOS
    • Codex Desktop: 26.1007.71326
    • Bundled Codex CLI: 0.162.0-alpha.17.2
    • Issue began October 14, 2026

    Problem: Codex Desktop shows "Couldn't load workspace settings" across multiple projects and cannot initiate new conversations. The built-in updater also fails to retrieve update information.

    Diagnostics: Repeated local app-server warnings:

    codex_app_server::attestation: attestation generation request timed out timeout_seconds=0

    These occur during thread/start, session_init, and model_client.websocket_connection.

    Troubleshooting performed:

    • Both bundled and plugin-installed Codex CLI executables successfully complete model requests.
    • ChatGPT works in Safari.
    • Signed out and back in.
    • Reinstalled desktop application.
    • Tested minimal config.toml.
    • Tested a fresh desktop application profile.
    • Updated the shared background daemon.
    • Confirmed the error persists across repositories.

    Request: Please investigate the desktop attestation-generation timeout and whether it is related to workspace initialization. Is the zero-second timeout expected?

  4. xiezhenyu6161-create commented on Oct 19, 2026

    @xiezhenyu6161-create

    Additional reproduction on ChatGPT/Codex macOS desktop 26.1013.40934, build 20770, production channel, running macOS 26.6.1 (25G76). The configured updater reports up_to_date.

    On 2026-10-19 around 06:51–07:02 UTC, new-chat workspace initialization remained blocked by “Unable to load workspace settings / Retry to continue chatting.” Existing local app-server reads continue succeeding.

    Local DeviceCheck attestation generation succeeds in 12–34 ms, but subsequent device registration returns HTTP 403. Account/settings-dependent requests surface 500 / devicecheck_registration_http_failed. Separately, /sentinel/heartbeat returns 403 / cloudflare_challenge; durable WebSocket connections fail with open_timeout / 1006.

    Two US proxy routes were tested and verified to have different public exits using the site's public connection diagnostic. The temporary alternate route did not resolve the failure: the user clicked Retry and the error persisted; desktop logs again show repeated registration 403. Temporary changes were restored. No raw IPs, proxy configuration, account identifiers, device tokens, cookies, private paths, chat content, screenshots or raw logs are included here.

    This is additional evidence for the successful-local-attestation / rejected-server-registration path, not a claim that the proxy, account, operating system or application regression has been established as the root cause. Please provide a supported recovery path for this desktop registration failure.

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

    appauthbugsafety-check

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions