Repository navigation
Description
What version of the Codex App are you using (From About Codex dialog)?
ChatGPT desktop for macOS 26.928.31416, build 12553.
What subscription do you have?
The current local ChatGPT sign-in reports the plan claim prolite.
What platform is your computer?
macOS 26.3.1 (25D2128), Apple Silicon / arm64.
uname -mprs: Darwin 25.3.0 arm64 arm
What issue are you seeing?
Starting Work with Cloud selected fails with:
Local Work executor registration failed (HTTP 403)
Related ChatGPT backend requests repeatedly receive HTTP 403 with an HTML Cloudflare challenge containing "Enable JavaScript and cookies to continue", "cf_chl", and "challenge-platform" markers. Affected routes include /models, /conversation/init, /settings/user, and conversation listing. The desktop client does not present an interactive verification flow for these background requests.
Opening https://chatgpt.com/ in the same application's built-in browser automatically completes the Cloudflare challenge and loads the ChatGPT sign-in page. This does not recover the application's background requests: fresh 403 challenge responses continue afterwards.
What steps can reproduce the bug?
- Sign in to ChatGPT in the desktop app.
- Select Work and Cloud and start a new task while the app's backend requests are being challenged by Cloudflare.
- Observe the local executor registration error above.
- Open https://chatgpt.com/ in the built-in browser and let its challenge complete.
- Observe that the desktop app's background requests still fail with HTTP 403 challenge HTML.
The Cloudflare trigger may depend on network or client signals. It has not been isolated, and a clean-network reproduction is not claimed.
Confirmed diagnostic evidence
Observed on 2026-10-01; timestamps below are UTC.
- 15:24:35.680: [tpp-local-executor] Local Work executor startup failed attempt=136, errorMessage="Local Work executor registration failed (HTTP 403)".
- 16:43:36: the built-in browser obtained a non-expired cf_clearance cookie for .chatgpt.com after passing the challenge.
- 16:50:08: the application's /settings/user and other backend requests still returned HTTP 403 with "Enable JavaScript and cookies to continue".
Read-only inspection of cookie names and expiry metadata, without reading or exporting cookie values, showed:
- App Default/Cookies: no cf_clearance cookie for chatgpt.com; non-expired _devicecheck and __cf_bm cookies were present.
- Built-in browser Default/Partitions/codex-browser-app/Cookies: a non-expired cf_clearance cookie for .chatgpt.com was present.
- DeviceCheck attestation generation succeeded in the app logs. This makes a complete failure of native DeviceCheck token generation an unlikely explanation for the observed background challenge responses.
Read-only inspection of the installed desktop bundle showed:
- Local executor registration uses POST /flora/cca/executor through the application's network layer / Electron net.fetch.
- The registration path reports non-2xx responses as registration failures and treats HTTP 403 as non-retryable.
- The backend request helper retries HTTP 401 after refreshing authentication, but does not render or recover from a Cloudflare HTML challenge on HTTP 403.
- The built-in browser uses a separate persistent browser session from the default network session used for registration.
The registration response body and headers were not recorded in the log, so its exact 403 response must still be verified by maintainers. The session separation and continuing Cloudflare challenges on related backend requests are independently confirmed; the causal connection to that particular registration response is a working hypothesis.
What is the expected behavior?
Work Cloud should either start or provide an actionable explanation. When HTTP 403 represents a Cloudflare challenge, the client should detect the challenge response, allow verification in the relevant network session, and retry the original request after verification succeeds. This should be distinguished from actual permission or region denials. A recoverable challenge should not leave the local executor stopped without a recovery action.
Please investigate Cloudflare rule coverage for desktop API requests and the separation between browser clearance and the registration network session. A supported "Verify connection / Retry registration" action would also make recovery possible without changing networks or restarting the app.
Reference: Cloudflare documents that full HTML Challenge Pages are incompatible with requests expecting API data:
https://developers.cloudflare.com/cloudflare-challenges/challenge-types/challenge-pages/#compatibility-limitations
Additional information
Related but distinct: #47197 concerns a Windows daemon failing account discovery under Cloudflare challenges; #49111 concerns raw 403/HTML presentation in Work on macOS under a reported region restriction. This report specifically concerns local executor registration and recovery after successful browser verification, with separate cookie-session evidence.
No raw logs, authentication tokens, cookie values, account identifiers, machine names, or private conversation contents are included in this report.
Activity
github-actions commentedon Oct 1, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Lelby commentedon Oct 1, 2026
I believe those issues are relevant but still differ from stated above. The issue involves ChatGPT Work mode in this case, not Pages/Space/VS Code extension.
litequark commentedon Oct 3, 2026
Same issue, please fix it
justoneapi-labs commentedon Oct 4, 2026
Same issue, please fix it.
ArshyaAI commentedon Oct 5, 2026
Additional reproduction on ChatGPT desktop 26.930.31730 (build 12947), macOS 27.0 (26A5425a), on 2026-10-04.
The exact error persists:
Local Work executor registration failed (HTTP 403)
Selected desktop-log timestamps (UTC):
Additional static observation from this installed build: the connect_computer setup action can only inspect executor readiness and return failure when no environment is ready. It does not itself start registration. The connection UI can then display the manager's previously stored error. This provides a plausible explanation for repeated setup failures without a new registration attempt; the exact runtime click sequence was not captured.
Suggested narrowly scoped client fix:
Suggested regression coverage: a failed start followed by manual retry performs one new registration; duplicate clicks do not start concurrent requests; a fresh result replaces the stale error; a genuine authorization denial does not enter a retry loop; secrets and arbitrary response bodies never enter diagnostics.
The affected desktop implementation is absent from the public openai/codex main checkout inspected at de3721a, so this is a proposed fix and regression specification, not a tested patch. No raw private logs, account/device/dot identifiers or credentials are included.
Eugi6 commentedon Oct 24, 2026
Still reproducible after updating ChatGPT desktop for macOS to 26.1021.22027 (build 21747).
Fresh reproduction on 2026-10-24 (timestamps below are UTC):
GET /tbo/by-thread/{thread_id}failed with HTTP 403 /cloudflare_challenge.GET /tbo/{tbo_id}failed with the same classification.authenticatedAccountPresent=trueandresult=succeededshortly before these failures. This establishes account discovery, not successful conversation access.A bounded route comparison was also performed without signing out or changing the application session:
sa_server_request_failedentries classified as HTTP 403 /cloudflare_challengeoccurred during the 43.6-second USA window.There was also a distinct HTTP 500
devicecheck_registration_http_failedonPOST /f/conversation/prepareat 2026-10-23 23:20:31.856 UTC. Local “DeviceCheck attestation generated” events followed. Local token generation must not be interpreted as successful server registration, and this 500 has not been established as the cause of the separate Cloudflare 403 responses.The updated application passed full code-signature verification with the OpenAI Developer ID and a stapled notarization ticket.
Please investigate recovery for challenged desktop background requests and the misleading unavailable-conversation state when the underlying request is a Cloudflare challenge. Updating and restarting did not establish a durable recovery.
No IP addresses, credentials, cookie values, account/conversation identifiers, screenshots, or private conversation contents are included.
litequark commentedon Oct 24, 2026
Please kindly consider thumbing up the main issue (react with a 👍), since OpenAI might be tracking the priority of issues by the number of thumbs😂
That may help resolving our issue faster (just maybe).
ozin-he commentedon Oct 25, 2026
Successful recovery of the dot entry and local executor on build 21828
Additional observation on ChatGPT desktop for macOS 26.1021.31345 (build 21828). The dot entry successfully returned in the web app first, and then in the desktop app after a desktop restart. Desktop logs also confirmed recovery of the local executor.
All times below are October 25, 2026, America/Los_Angeles (PDT, UTC−07:00). This is an observed recovery sequence, not a controlled root-cause experiment.
Discovery and recovery sequence
responseClassification=cloudflare_challenge,httpStatus=403, andretryable=false. Meanwhile, the durable WebSocket connected at 04:53:36.654. A connected durable transport therefore did not establish that the HTTP registration path was usable.outcome=recovered,readinessSource=rendezvous, andLocal Work executor connected to rendezvous. Subsequent connection samples at 05:04:44.961 and 05:05:44.966 reported connected time equal to the entire eligible sampling interval.client.ready outcome=successat 05:03:55.064, 05:04:58.331, 05:05:44.201, and 05:06:04.290. Room/history reads succeeded, with no client-stage failure recorded in the inspected post-restart window.What remained, and verification limits
/accounts/check/{version}. No additional challenge was logged through 05:06:27.129, the end of this bounded inspection. This is short-window recovery, not proof of a permanent fix.ASB HTTP read failed (403)or HTTP 401/expired error was found there.thread/read/thread_hydrationproblem remained:code=-32003, message="thread access denied"entries appeared between 05:03:45 and 05:04:11. This is distinct from the recovered dot entry and executor connection.ENOENTwhile unlinking<app-support>/executor-plugins/codex-app-tools/.mcp.json. Its automatic retry then connected successfully.Interpretation / recovery guidance
The successful outcome was recovery of both dot entries and the desktop executor connection after the sequence above. However, earlier node changes/restarts had not immediately resolved the problem, and the CA removal, elapsed time, and final restart were not isolated experimentally. This does not establish that the development CA caused the challenge or that deleting certificates is a general fix.
Before removal, separate strict TLS probes to the relevant OpenAI hosts showed publicly issued certificates, not the development CA; those probes were not captures of the application's existing TLS sessions. Certificate removal also disables the dependent local development HTTPS setup, so it should not be presented as routine troubleshooting.
A supported, single-flight Retry local executor registration action that preserves existing tasks and computer association would still be useful, along with a supported recovery flow for challenged background requests. Please distinguish restored UI access, executor rendezvous readiness, and background thread-access denials in diagnostics.
Account/device/thread identifiers, CA identity and fingerprints, local user/project paths, node details, credentials, cookies, and private conversation content are omitted. No app package modification, sign-out, app-data reset, or deliberate removal of the computer association was used for this recovery.