You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[macOS] Statsig bootstrap times out after 10 seconds, intermittently disabling Browser #54600
appIssues related to the Codex desktop appbrowserbugSomething isn't workingconnectivityIssues involving networking or endpoint connectivity problems (disconnections)
What version of the Codex App are you using (From “About Codex” dialog)?
26.1013.31256 (build 20586)
What subscription do you have?
ChatGPT Pro
What platform is your computer?
macOS (Apple Silicon)
What issue are you seeing?
Settings intermittently fail to load at startup, and Browser may become unavailable with the message "Disabled by your organization or unavailable in your region".
The desktop logs show:
Timed out while fetching post-login Statsig bootstrap
attemptNumber=6
browser_use_availability_resolved available=false reason=statsig-disabled
The app list has also failed to load with:
failed to list apps: Failed to parse JSON response
The relationship between the app-list error and the bootstrap timeout has not been established.
Separate authenticated requests to /backend-api/wham/statsig/bootstrap returned HTTP 200 and complete valid JSON with Browser enabled. Full downloads took approximately 7–60 seconds, while the bootstrap timeout in the inspected app build is 10 seconds. These measurements were taken outside the app and are not a capture of its failing requests.
What steps can reproduce the bug?
Feedback ID: 01a14140-ef79-7000-b315-efe1fe901300
What is the expected behavior?
Settings should recover after transient network failures. A temporary bootstrap timeout should be distinguished from an explicit organization or regional restriction.
Could you consider increasing the bootstrap timeout from 10 seconds to at least 90 seconds to accommodate slower or fluctuating connections? Retrying in the background after a timeout could also help restore settings without requiring an app restart.
Additional information
Possibly related: #50377 and #51074 (reported on Windows). This report provides macOS observations; a shared root cause has not been independently confirmed.
Representative full-response timings from separate compressed HTTP requests: 7.39 s, 10.17 s, 31.93 s, and 42.96 s. The transferred response was approximately 1.38 MB.
This appears closely related to #54229. This report adds observations from macOS on version 26.1013.31256, including successful standalone bootstrap downloads taking 7–60 seconds versus the app’s 10-second timeout.
Could a maintainer confirm whether these reports share the same root cause and should be consolidated? I’m happy to close this issue as a duplicate once the macOS findings are linked to the main report.
The local startup critical path completed in 1.978 s according to its own startup timer. This is a separate timing origin from the React-root measurements above.
A preceding cold start on the same build showed 66.009 s to the final Statsig timeout and 98.615 s to runtime config selection.
Local renderer analysis:
Inspected asset: app-initial-90eb42395b7d.js.
nWl uses a 10,000 ms deadline (rWl=1e4) around the post-login Statsig bootstrap request.
kGl permits five retries for eligible request failures (six attempts total), with 500 ms intervals (WGl=5, GGl=500). Authentication failures have a separate retry counter.
The failure path in this macOS build is OGl -> wGl -> TGl -> EGl: identity loading and asynchronous Statsig/user synchronization can continue to gate rendering after the primary bootstrap fails.
In the legacy app-list path, Rgr immediately repeats the same read once after an exception: try { return await a() } catch { return a() }. This is consistent with the paired app/list failures in the logs.
Corresponding renderer errors: "failed to list apps: Failed to parse JSON response".
plugin/list succeeded in 112 ms with queueWaitMs=0 in the same process. Several plugin/read calls also succeeded. This does not look like a complete local app-server stall.
chatgpt/src/connectors.rs sets DIRECTORY_CONNECTORS_TIMEOUT to 60 seconds and passes it to the directory GET request.
chatgpt/src/chatgpt_client.rs applies the request timeout and wraps errors from response.json().await as "Failed to parse JSON response". The HTTP response wrapper delegates to reqwest's JSON/body consumption. This generic message can therefore obscure a response-body read failure; it does not by itself establish malformed server JSON.
connectors/src/lib.rs bypasses the fresh in-memory directory cache when force_refetch=true. Once directory fetching fails, this function propagates the error rather than returning stale cached data. The logs do not establish the forceRefetch value for every failing call.
Independent HTTP measurements and limits:
A separate compressed POST to /backend-api/wham/statsig/bootstrap completed with HTTP 200 and valid JSON in 24.736 s; first byte at 3.054 s.
Transferred body: 1,357,733 bytes; decoded response: 7,310,399 bytes. Browser's feature gate was true in the returned payload.
A separate GET to /backend-api/connectors/directory/list?external_logos=true returned HTTP 403 with an HTML body in 2.021 s. Therefore, the large valid directory response reported on Windows was NOT reproduced here, and no directory-download duration or size is claimed from this probe.
These requests were issued outside the app. They are not captures of the failing desktop requests and may differ in cookies, headers and routing.
No "error decoding response body" failures for the remote plugin catalog were found in the two inspected cold starts. The Windows report's plugin-endpoint failures are not independently confirmed on this Mac.
No browser availability event was logged in the latest cold start. An earlier same-build launch did reach available=true after a bootstrap timeout; primary bootstrap failure does not prove that every fallback path fails.
Requested improvements:
Allow the main UI to render while feature configuration is loading or temporarily unavailable, instead of blocking it through the full Statsig retry budget. Keep authorization and entitlement checks enforced for protected actions.
Consider a configurable or at least 90-second background bootstrap request budget for slower complete-body transfers, with recovery after connectivity improves. Increasing the timeout should not extend a blocking startup screen.
Return appropriately scoped stale directory metadata when a refresh times out, without treating cached metadata as authorization.
Avoid immediately repeating the same failing app/list request without backoff or a changed condition.
Distinguish response-body timeout, HTTP failure and JSON syntax/schema failure in diagnostics; retain the underlying error classification.
The observations are consistent with blocking bootstrap/discovery paths, but do not establish the underlying network bottleneck or prove that every symptom has the same cause. No installed app files were changed during this investigation. No credentials, account identifiers, user files or raw chat transcripts are included.
appIssues related to the Codex desktop appbrowserbugSomething isn't workingconnectivityIssues involving networking or endpoint connectivity problems (disconnections)
Activity
github-actions commentedon Oct 16, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
SiarheiKZ commentedon Oct 16, 2026
This appears closely related to #54229. This report adds observations from macOS on version 26.1013.31256, including successful standalone bootstrap downloads taking 7–60 seconds versus the app’s 10-second timeout.
Could a maintainer confirm whether these reports share the same root cause and should be consolidated? I’m happy to close this issue as a duplicate once the macOS findings are linked to the main report.
SiarheiKZ commentedon Oct 17, 2026
Additional reproduction and code-level diagnostics from macOS, related to #54229.
Environment:
Cold-start timing:
Local renderer analysis:
App-list failures in the same process:
Matching-version source analysis:
Source tag: rust-v0.163.0-alpha.10.2
Commit: 4ebc485
Independent HTTP measurements and limits:
Requested improvements:
The observations are consistent with blocking bootstrap/discovery paths, but do not establish the underlying network bottleneck or prove that every symptom has the same cause. No installed app files were changed during this investigation. No credentials, account identifiers, user files or raw chat transcripts are included.
Source references:
codex/codex-rs/chatgpt/src/connectors.rs
Line 31 in 4ebc485
codex/codex-rs/chatgpt/src/chatgpt_client.rs
Line 61 in 4ebc485
codex/codex-rs/connectors/src/lib.rs
Line 169 in 4ebc485
codex/codex-rs/http-client/src/response.rs
Line 51 in 4ebc485