Skip to content

[Windows desktop] A transient bootstrap body timeout changes language, model labels and bundled plugin availability #50377

Open

Description

@YUCAII

Environment

  • Windows 10 x64, OS version 10.0.19045.
  • Registered desktop package: OpenAI.Codex 26.930.2377.0.
  • Application release reported in logs: 26.930.21537.
  • Observed October 2–3, 2026, UTC+08:00.
  • ChatGPT authentication. Subscription details were not collected for this report.
  • A local proxy was in use. Both normal GUI routing and an explicit process-scoped proxy reproduced the failure. Changing the proxy node later restored the primary bootstrap.

Issue

During repeated cold starts, the saved Simplified Chinese preference remained selected, but the application rendered in English. Model names lost their GPT prefix, Custom/Max labels appeared, and GPT-6.1-Sol could disappear and later reappear. The runtime bundled plugin catalog changed from eight entries to three; the client then reconciled the reduced catalog and uninstalled computer-use and unified-computer-use.

The immediate failure was:

Timed out while fetching post-login Statsig bootstrap

The correlated availability result was:

browser_use_availability_resolved available=false reason=statsig-disabled

The authenticated POST to /backend-api/wham/statsig/bootstrap received HTTP 200 headers, but reading the complete response body exceeded the approximately 10-second total deadline. Six failed attempts were observed. HTTP 200 alone did not mean the bootstrap completed.

Observed reproduction sequence

  1. Start the signed Windows desktop application while authenticated, with Simplified Chinese already saved.
  2. Use a network path where response headers arrive but the complete bootstrap body takes longer than 10 seconds. This condition occurred naturally in the measurements below; no eligibility or feature settings were forced.
  3. Observe the six bootstrap attempts failing during body consumption, followed by reduced feature availability and the UI/plugin changes described above.
  4. Switch Language to English and back to Simplified Chinese. The failed initialization remains in English.
  5. Improve network throughput. A model catalog refresh can make GPT-6.1-Sol reappear without proving the desktop bootstrap has recovered.
  6. Cold start on the improved path. Complete primary bootstrap responses restore Chinese, GPT model labels, GPT-6.1-Sol availability and the eight-entry catalog. Two primary cold starts were verified, including a normal system-proxy launch.

Measurements and attempted mitigations

Test Result
HTTP/2, slow path First headers at 2.192s. Application canceled at 10.000s. The approximately 1.1 MB compressed response completed at 74.225s on the same H2 session; later retry headers also arrived after their deadlines.
Actual HTTP/1.1 comparison Six different sockets, all received HTTP 200. All body reads still canceled at approximately 10s. Disabling HTTP/2 alone did not recover the bootstrap.
Independent anonymous OpenAI document download 386,490 bytes, identity encoding; headers at 1.594s, completion at 26.297s through the same proxy. Slow transfer was also present outside Electron.
Same document after changing the proxy node Completion at 8.968s through the explicit proxy, including approximately 2.125s for the body.
First successful primary cold start Complete bootstrap responses at 9.292s and 8.421s. Earlier attempts in that initialization still needed retries.
Normal system-proxy cold start No proxy-server or disable-http2 override; complete response at 6.339s, 1,068,720 compressed bytes and 7,920,015 decoded bytes. The user verified all three UI symptoms recovered.

The HTTP/1.1 trace showed no accumulated complete response waiting at the TLS layer for Brotli decoding. Near-neighbor TLS-to-raw and raw-to-filtered event delays were at most 1ms and 5ms respectively; these are event measurements, not per-byte latency measurements. The data does not establish which proxy/upstream component caused the slow path.

Expected behavior

A transient transport timeout should recover when connectivity improves. Please review preserving the last valid presentation/configuration subject to explicit entitlement checks, restarting bootstrap after a failed initialization, accounting for complete body size in the request budget, and distinguishing temporary configuration unavailability from an authoritative change in bundled plugin eligibility.

Readonly source review also found a separate shared statsig_evaluations publication path used by the compact avatar renderer. The avatar skips the desktop-feature/plugin publisher, and its later timeout did not demonstrably degrade the successful primary window. No adverse shared execution assignment overwrite was proven; please review this publication boundary separately.

Local network recovery has been verified. The official client deadline and fallback/reconciliation behavior have not been patched. A supported mitigation or product fix is requested.

Activity

  1. added
    bug
    app
    windows-os
    connectivity
    skills
    on Oct 2, 2026
  2. github-actions commented on Oct 2, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. 22WELTYANG commented on Oct 10, 2026

    @22WELTYANG

    Additional Windows reproduction on 26.1007.2314.0: layout/sidebar changes and slow bootstrap body download

    Observed on October 10, 2026 (UTC+08:00). This adds evidence from a newer Windows build to this issue.

    Environment and symptom

    • Windows x64, OS version 10.0.26300.0.
    • Installed and running MSIX package: OpenAI.Codex 26.1007.2314.0.
    • Internal application release reported in desktop logs: 26.1007.21434. These are different version fields.
    • Signed in with ChatGPT; subscription details were not collected.
    • AdGuard VPN was connected, as confirmed by the user. Traditional Windows HTTP proxy was disabled; no HTTP_PROXY/HTTPS_PROXY/ALL_PROXY environment overrides were present.

    The user reports that the overall Codex layout and sidebar reverted to a previously seen design. The installed package and running executable were checked: there was no indication that an older desktop executable was running. The official production Windows update and release manifests both listed the same installed package version at the time of diagnosis.

    Native application evidence

    Selected fields from the desktop log, with UTC timestamps:

    2026-10-10T14:58:31.987Z
    Statsig: error while bootstrapping post-login client
    attemptNumber=6
    errorMessage="Timed out while fetching post-login Statsig bootstrap"
    
    2026-10-10T14:59:05.438Z
    browser_use_availability_resolved
    available=false reason=statsig-disabled release=26.1007.21434
    
    2026-10-10T15:09:09.243Z
    browser_use_availability_resolved
    available=false reason=statsig-disabled release=26.1007.21434
    

    An earlier launch on the same day also logged the bootstrap timeout at attempt 6. Read-only inspection of the installed renderer bundle found a fixed 10,000 ms outer deadline for post-login bootstrap, followed by the fallback initialization path.

    The browser availability event confirms one disabled feature; it does not identify or prove the sidebar's layout gate.

    Independent authenticated download measurements

    Read-only POST probes targeted the official /backend-api/wham/statsig/bootstrap endpoint using the existing login state and reconstructed desktop metadata. Credentials stayed in memory and were not included in this report.

    Initial probes and probes after the first VPN node change received HTTP 200 but did not obtain a complete JSON body within 20 seconds.

    After a further user-confirmed connection/node switch, the probe deadline was increased to 45 seconds. IPv4 and IPv6 were tested sequentially:

    Path First response byte Complete transfer Encoded bytes downloaded Decoded JSON bytes Result
    IPv4, compression enabled 5.310 s 29.491 s 1,419,303 7,992,160 HTTP 200, curl exit 0, valid complete JSON
    IPv6, compression enabled 4.902 s 32.784 s 1,432,755 7,992,160 HTTP 200, curl exit 0, valid complete JSON

    Both completed JSON responses contained statsigPayload with 870 feature gates. Gate keys were hashed; specific layout evaluations were not identified.

    Interpretation and limits

    The independent probes establish that this login can retrieve a valid complete configuration, but the measured transfer times were roughly three times the installed client's 10-second deadline. This is consistent with the native bootstrap timeout and reduced feature availability.

    These probes used curl HTTP/1.1 with compression, not a capture of the renderer's own requests. Native startup failures were logged before the final connection switch; no controlled native cold-start measurement after that final switch is claimed. The exact layout gate, whether it changed, and the cause of the slow transfer remain unconfirmed. VPN involvement is a possibility, not an established sole cause.

    The layout has not been confirmed restored. The signed application, caches and feature evaluations were not modified.

    Requested investigation

    Please investigate the large bootstrap response and fixed total deadline, recovery after a failed initialization, and whether transient configuration-loading failures can change desktop presentation or feature availability. A supported recovery path or an actionable configuration-loading error would help users avoid repeatedly reinstalling or switching VPN nodes.

    Only sanitized diagnostic text and aggregate network measurements are included; no credentials, account IDs, conversation content, local paths, full logs, raw configurations or screenshots are attached.

  4. Ank-nx commented on Oct 12, 2026

    @Ank-nx

    Additional Windows 10 reproduction (October 12, 2026): slow post-login bootstrap, Dictation unavailable, and missing "Approve for me"

    Adding a separate reproduction with measured transport timings. This issue appears closely related to the bootstrap timeout reported above.

    Symptoms and environment

    • Windows 10 x64, ChatGPT account authentication.
    • Tested desktop releases 26.1002.51308 (MSIX 26.1002.6548.0) and 26.1007.21434 (MSIX 26.1007.2314.0).
    • Desktop startup is very slow; Dictation shows Dictation unavailable — Dictation is not available in your current configuration.
    • Approve for me is missing from new threads even though some existing Cloud threads still display the previously selected mode.
    • The CLI reports guardian_approval = true and in_app_dictation = true. Local configuration also reports approvalPolicy = on-request and approvalsReviewer = auto_review.
    • The same symptoms persisted after reverting the MSIX, changing VPN routes, clearing only renderer caches, and creating a new clean CODEX_HOME without transferring old history/settings (the ChatGPT login was retained).

    Independent authenticated POST timing

    Target: /backend-api/wham/statsig/bootstrap

    Metric Observed
    HTTP result 200, complete valid response
    Time to first byte (curl; includes connection setup) 3.907 s
    Full transfer time 32.359 s
    Time after first byte 28.452 s
    gzip encoded response 1,363,630 bytes
    decoded response 7,308,894 bytes
    gzip decompression 17.648 ms
    UTF-8 decoding 2.813 ms
    outer/nested JSON parsing in Node.js 48.176 ms

    The dominant cost was waiting for/receiving the response, not JSON parsing.

    Native desktop observation

    • The desktop logs contain Timed out while fetching post-login Statsig bootstrap, with 10 s timeout per attempt and failure by attemptNumber=6. Log timings are insufficient to measure the renderer request phases individually.
    • The independent curl measurement was not captured from the desktop request. It does, however, show that the complete authenticated bootstrap response on this connection takes much longer than the desktop's deadline.
    • Source/log review indicates a fallback Statsig initialization path after timeout, but successful application of primary feature flags following the failing startup was not confirmed.
    • A separate settings request /backend-api/settings/user returned 403 during a language-setting diagnostic. No evidence ties that 403 to Dictation or approvals.

    Possible trigger, not established cause

    The user first noticed the regression immediately after setting up and starting a Codex Cloud environment/task. Cloud task interactions are also slow. There is no before/after bootstrap payload-size baseline, so this observation does not establish that Cloud environments inflated the bootstrap payload or blocked initialization. Removing environments has not been attempted.

    Request

    Could maintainers investigate:

    1. The fixed 10 s end-to-end bootstrap deadline relative to >1 MB gzip payloads and slow-but-successful HTTP 200 transfers.
    2. Safe recovery/retry of feature configuration after a timed-out startup without permanently hiding Dictation/Approve for me.
    3. Whether a transient bootstrap failure can leave new threads without the expected approval-mode choice while existing Cloud threads retain it.
    4. A supported diagnostic or mitigation that doesn't require deleting Cloud environments, old chats, or local history.

    Only aggregate timings, versions, and sanitized error names are included. No account identifiers, credentials, private project paths, raw response bodies, or chat contents are shared.

  5. Ank-nx commented on Oct 12, 2026

    @Ank-nx

    Additional controlled user observation: older Windows client retains Dictation and approvals

    Follow-up to the Windows 10 reproduction reported above.

    The user reports that Codex Desktop 26.908.40834 (Windows MSIX 26.908.4834.0, an older build from before GPT-6.1 Sol was available in their model picker) did work correctly for voice dictation and the approval UI, unlike later builds. They cannot use that release for daily development because it does not expose GPT-6.1 Sol.

    • The user also confirmed that 26.1002.51308 / MSIX 26.1002.6548.0 initially worked with the desired features, then stopped working after the first Cloud environment/task interaction. The same MSIX later continued to misbehave even after a fresh local CODEX_HOME, cache isolation, and reinstall/rollback.
    • 26.1002.52244 and 26.1007.21434 showed the missing Dictation/Approve-for-me UI and slow startup as reported above.
    • Crucial limitation: no synchronized measurements of bootstrap network timing or response payload were captured while the older 26.908 build was working. This observation demonstrates a client-version difference in observed behavior, but does not establish that the older build received the same slow response, nor does it prove a particular regression commit or Cloud causality.

    Request: Please compare the post-login Statsig bootstrap timeout / fallback behavior, feature-gate application and availability UI across the working 26.908 branch and later builds. A fix that restores Dictation and approvals while retaining GPT-6.1 Sol support is needed; reverting to pre-Sol is not a viable mitigation for this user.

    No account details, credentials, local filesystem paths, or chat contents are included.

  6. Ank-nx commented on Oct 12, 2026

    @Ank-nx

    User-confirmed workaround: increasing the post-login Statsig bootstrap timeout from 10s to 60s resolves the issue

    Update (October 12, 2026): The affected user reports a successful local fix. They modified their installed Codex Desktop application so that the post-login Statsig bootstrap HTTP request timeout is 60 seconds rather than 10 seconds. After this modification, the previously reported malfunction was resolved.

    This is particularly relevant to the measured reproduction described earlier:

    • The authenticated POST /backend-api/wham/statsig/bootstrap completed successfully with HTTP 200, but took 32.359 seconds end-to-end (TTFB 3.907s, remaining transfer 28.452s).
    • The original desktop bootstrap limit was 10 seconds, so the client gave up before receiving the full valid response.
    • Decompression and JSON parsing took less than 0.1 seconds combined, indicating that response transfer, rather than client-side parsing, dominated the measured delay.
    • The previous fallback state coincided with missing Dictation and Approve for me in the UI, as well as slow startup.
    • After the local timeout increase 10s -> 60s, the user reports that the issue is resolved. This is a user-reported functional outcome; the exact changed source/bundle location and independent post-patch request trace were not supplied, so no specific code path or internal implementation details are being asserted here.

    Requested official fix:

    1. Increase the end-to-end deadline for the post-login Statsig bootstrap, accounting for receiving the entire compressed response body, not merely its HTTP headers. 60 seconds is a user-verified working value on this connection, not necessarily the ideal universal timeout.
    2. Preferably avoid blocking the entire app and feature availability on a single rigid deadline: retry/recover bootstrap in the background after timeout and apply verified feature evaluations once the response completes. Respect authoritative entitlement/permission checks rather than blindly treating missing evaluations as enabled.
    3. Ensure that a transient bootstrap transfer timeout cannot indefinitely hide Dictation, Approve for me, language preferences, or model/plugin availability. Consider using a last-known-valid presentation/configuration with appropriate entitlement safeguards.
    4. Review the current six attempts × 10-second timeout behavior so a longer deadline does not unnecessarily become six attempts × 60 seconds in actual outage cases. Consider bounded total retry budget / progressive feedback.
    5. Ship the correction through the signed official Windows release so users do not need to alter their local installed application; local modifications are fragile and may be reverted by updates.

    Bottom line: This is strong practical evidence that the 10-second bootstrap deadline is a key contributor to the reported Windows Codex failure. The Cloud-environment timing correlation remains unproven and does not need to be invoked to explain the measured timeout. No credentials, personal paths, project data, raw server responses, or modified binaries are included.

  7. Ank-nx commented on Oct 12, 2026

    @Ank-nx

    Follow-up: two locally validated workarounds, including long-dictation HTTP/2 failure (October 12, 2026)

    Adding a second, distinct issue identified and worked around during investigation of the Windows 10 Codex Desktop regression.

    Workaround 1: Post-login Statsig bootstrap timeout

    • On a separate local copy of Codex Desktop, the user modified the bootstrap timeout from 10 seconds to 60 seconds.
    • As documented in the earlier comment, an independent authenticated bootstrap request took 32.359 seconds end-to-end to download its full HTTP 200 response, so the original 10-second deadline was insufficient.
    • With the 60-second deadline, server feature configuration loaded and the previously missing client features reappeared. The user reports the modified client now works as intended.

    Workaround 2: Long voice-dictation transport failure

    • Prior to the second workaround, logs of long voice dictation contained ERR_HTTP2_PROTOCOL_ERROR.
    • The user launched the same modified desktop client with Chromium switch --disable-http2, preserving this argument in their Windows shortcut.
    • User-verified successful dictation tests: recordings lasting 16.5 seconds and 44.4 seconds were both transcribed successfully.
    • The text appeared roughly 19 seconds after stopping recording; this remains a noticeable post-recording delay but the long recordings completed rather than failing.
    • No HTTP/2 protocol errors were observed in the new tested session.
    • These results demonstrate a useful local workaround on the user's setup, not proof of a universal HTTP/2 defect or a complete network-layer root cause.

    Requested upstream fixes

    1. Fix the too-short post-login Statsig bootstrap deadline and make successful feature-flag application/recovery robust for large or slow-but-valid responses. Avoid turning a 60-second timeout into six serial 60-second waits during outages; bound the total retry budget.
    2. Independently investigate long-dictation requests that fail with ERR_HTTP2_PROTOCOL_ERROR, including the upload/response transfer path. Implement robust retries/recovery or a targeted HTTP/1.1 fallback when HTTP/2 fails, rather than requiring users to disable HTTP/2 application-wide.
    3. Ensure that valid account features (e.g. Dictation and Approve for me) are not inadvertently hidden by transient bootstrap failures, while still respecting actual entitlement checks.
    4. Ship these changes in an officially signed Windows build. User-made changes to installed application files and shortcut flags are fragile and may be overwritten by updates.

    Scope/limitations: Both workarounds and the recording durations are user-reported observations from the same affected Windows installation. No original network traces of the failing dictation requests or exact patch diff were provided. No credentials, personal filesystem paths, private repository details, response bodies, or conversation content are included.

    These observations suggest two separate problems: an insufficient bootstrap deadline during startup and a long-dictation HTTP/2 transport error. Fixing one alone may not resolve the other.

  8. zhiyongye99-netizen commented on Oct 17, 2026

    @zhiyongye99-netizen

    Additional macOS reproduction: English UI, missing Voice and Computer use entries

    Observed on October 16, 2026 (America/Los_Angeles), Codex/ChatGPT desktop 26.1013.40934, build 20770, production channel, bundle ID com.openai.codex, signed in with ChatGPT. The supported updater reported up_to_date during this investigation.

    Symptoms and local checks

    • The user reports that Simplified Chinese UI, live Voice, and Computer use were previously available. The UI now renders in English and the Voice/Computer use entries have disappeared.
    • [desktop] localeOverride = "zh-CN" is persisted. Simplified Chinese resources remain in the installed bundle.
    • Both computer-use and unified-computer-use plugin entries are enabled; the local Computer Use component still exists. Unlike the original report, we have not established that plugins were uninstalled on this machine.
    • Complete application restarts and changing proxy nodes did not restore the features. The proxy client is in global mode. Switching the Mac to a mobile hotspot also did not improve the diagnostic transfers. Whether the previously tested nodes belong to independent providers is unknown.
    • Deep/strict application code-signature verification passed. No installed application files, feature gates, proxy settings, login state, or permissions were modified by this investigation.

    Desktop log and source evidence

    At 2026-10-17T05:32:17.977Z, the primary renderer logged:

    Statsig: error while bootstrapping post-login client
    attemptNumber=6
    errorMessage="Timed out while fetching post-login Statsig bootstrap"
    

    Repeated startup logs show the same failure. Read-only inspection of the installed renderer bundle found a 10,000 ms outer deadline around POST /wham/statsig/bootstrap. UI translation loading depends on the remote enable_i18n value; Voice configuration and Computer use availability also depend on Statsig.

    The log additionally reports No app tools discovered ... server=computer-use. This alone is not proof of lost account entitlement or of a specific Computer use runtime failure.

    Separate authenticated diagnostic requests

    These measurements used the current local login credentials against the official endpoint. They are independent curl probes, not captures of the failing Electron request.

    Probe Result
    /backend-api/wham/usage HTTP 200, complete in 1.86 s
    Bootstrap without compression HTTP 200; after 20 s, only 278,257 of 7,291,038 bytes received
    Bootstrap with compression, extended wait HTTP 200; complete in 115.48 s, approximately 7.22 MB decoded JSON
    HTTP/2 + gzip First byte 2.52 s; 30 s timeout; 357,939 wire bytes received
    HTTP/1.1 + gzip First byte 1.88 s; 30 s timeout; 439,790 wire bytes received
    HTTP/2 + Brotli First byte 1.64 s; 30 s timeout; 429,543 wire bytes received
    Hotspot, HTTP/2 + gzip First byte 2.09 s; 30 s timeout; 227,584 wire bytes received

    The H1/H2 pair ran concurrently, so their throughput should not be treated as independent bandwidth benchmarks. The extended-wait, Brotli and hotspot probes ran separately. Response headers confirmed gzip/Brotli encoding. Initial probes used a fresh diagnostic device identifier; the subsequent H1/H2, Brotli and hotspot probes used the existing local Statsig stable identifier. All diagnostic probes used new session identifiers, so their evaluations are not a readout of the live renderer state.

    The completed diagnostic response contained enable_i18n: true, Computer use gate 1506311413: true, and Voice configuration including existing_thread_voice_enabled: true and aeon_voice_enabled: true. This does not prove that every prerequisite for Voice/Computer use is satisfied, but does not support a blanket removal of those feature assignments.

    A separate public 1 MB download was also slow: approximately 26.6 KB/s on the original network and 10.9 KB/s on the hotspot. Both tested services involve Cloudflare. These observations do not isolate the responsible proxy, ISP, CDN, or server component, or establish a general internet bandwidth limit.

    Requested investigation

    Please review the combination of a multi-megabyte bootstrap response, the fixed 10-second total deadline, and the fallback behavior that leaves saved localization and feature entries unavailable. A supported retry/recovery mechanism and clearer distinction between unavailable configuration and authoritative eligibility changes would help, while preserving entitlement and policy enforcement.

    Could this macOS reproduction be tracked with this issue and #52010? The language symptom also overlaps #19239. The additional missing Voice entry is user-observed and correlated with the startup failure; its exact causal path has not been independently proven.

    No tokens, cookies, account identifiers, local usernames, IP addresses, raw configuration payloads, or full session logs are included. No product fix or UI recovery has been verified on this machine.

    October 17 follow-up: missing navigation rail and same-device verification

    The far-left feature/navigation rail also disappeared while the ordinary chat/project sidebar remained visible. Installed renderer code selects the legacy layout when gate 3085093835 is unavailable/false; the rail layouts depend on that gate. The native “navigation panel” menu action toggles the file tree, not this rail.

    The primary renderer again failed at attempt 6 at 2026-10-17T08:59:02.879Z with the same bootstrap timeout. The supported updater still reports up_to_date. OS version verified during this round: macOS 27.0.1.

    A new authenticated bootstrap probe using the existing device stable ID completed successfully in 82.24 s (first byte 2.36 s, HTTP 200, 1,351,010 compressed wire bytes, 6,643,003 decoded payload bytes). The returned account matched the current local login. Selected server evaluations were:

    • Navigation rail gate 3085093835: true.
    • enable_i18n: true.
    • Computer use gate 1506311413: true.
    • existing_thread_voice_enabled and aeon_voice_enabled: true.

    This is still a separate diagnostic session, not an inspection or replacement of the live renderer evaluations. No feature assignments were overridden. Only selected booleans and timing metadata were retained.

    Two additional sequential public-file probes compared the existing TUN route with the same proxy client's explicit full-proxy localhost port. Both remained slow (20-second transfers: 413,376 bytes via TUN, 283,546 bytes via explicit proxy). This did not establish a benefit from changing system proxy mode and does not isolate the responsible upstream component. No proxy settings were changed.

    The combination of an assigned-but-missing rail and the bootstrap deadline adds another visible fallback symptom to the existing localization and feature-entry regression. UI recovery remains unverified.

  9. Kregion commented on Oct 19, 2026

    @Kregion

    Additional reproduction on Windows, checked on 2026-10-19: Approve for me still disappears after multiple desktop updates.

    Current signed Store package: OpenAI.Codex_26.1013.4894.0_x64; internal app version: 26.1013.40934. The running executable was verified to belong to that installed package.

    Read-only inspection of webview/assets/app-initial-5851df3f6cb1.js shows the post-login /wham/statsig/bootstrap request still races a timer initialized to rWl=1e4 (10,000 ms), with an AbortController. The UI still uses the guardian_approval evaluation, alongside effective config and other eligibility conditions, when filtering the permissions menu.

    Same-day native application logs include:

    2026-10-19T02:11:01.335Z
    Statsig: error while bootstrapping post-login client
    attemptNumber=6
    errorMessage="Timed out while fetching post-login Statsig bootstrap"
    rendererWindowAppearance=primary
    
    2026-10-19T02:43:34.332Z
    Statsig: error while bootstrapping post-login client
    attemptNumber=6
    errorMessage="Timed out while fetching post-login Statsig bootstrap"
    rendererWindowAppearance=avatarOverlay
    

    An independent authenticated curl probe using the current app-version metadata and compressed transfer completed successfully:

    Measurement Result
    HTTP status 200, complete response
    First byte 1.538384 s
    Total probe elapsed time 24.584 s
    Compressed body 1,342,851 bytes
    Average download speed 55,336 bytes/s
    Guardian gate 3902016271 true

    This probe is not a native renderer trace, but it demonstrates that the current account can receive an enabled guardian evaluation while complete transfer exceeds the client's deadline. Local config already has approvals_reviewer="auto_review", approval_policy="on-request", and sandbox_mode="workspace-write".

    The user is on a company-controlled network and cannot change the network path. Maintaining a modified app copy across updates is burdensome. A previous isolated 60-second-timeout trial on package 26.1007.9446.0 started and retained the menu beyond two minutes, but also used a separate desktop profile, so it was not a strict single-variable experiment. This is a workaround, not an official fix; the installed Store package was left unchanged.

    Please consider a supported configurable deadline or a more tolerant bootstrap/retry strategy, and recovery that distinguishes temporary fetch failure from an authoritative disabled evaluation. Current menu absence is user-reported; today's UI Automation attempt could not reliably read the localized dropdown, so no new automated menu-restoration claim is made here.

    No tokens, account identifiers, full bootstrap payloads, or unrelated chat content are included.

    Update after the authorized local workaround trial on 2026-10-19: a separate copy of the current 26.1013.4894.0 package with the bootstrap deadline changed to 60 seconds started successfully. Windows UI Automation read all four localized permission entries, including 帮我批准 (Approve for me), twice; the second check was approximately 138 seconds after process launch. No Statsig errors/timeouts appeared in the sampled startup log. The original installed ASAR and executable hashes remained unchanged and the original signature remained valid. The modified copy necessarily has an invalidated executable signature and uses a separate desktop profile; long-term behavior and actual auto-review decisions were not tested. This confirms a practical workaround on the current build, not a supported permanent fix or a strict single-variable experiment.

  10. WangYK-dotcom commented on Oct 28, 2026

    @WangYK-dotcom

    Additional Windows measurements: 26.1023.50603 (2026-10-28)

    This is still reproducible on a newer Windows release. Adding transport evidence and a request for a supported app-side fix rather than opening a duplicate issue. Also related to #49622 and #35916.

    Environment and impact

    • Windows 11 x64, OS build 10.0.26300.
    • Codex app version 26.1023.50603, build 22391; Microsoft Store package 26.1023.6123.0.
    • Signed in with a ChatGPT account. Subscription information was not collected.
    • An existing chained ISP proxy is required for my workflow. It should not be necessary to change that routing or maintain a patched application copy to start the app.
    • Network A/B measurements below used the unchanged official application files and the original 10-second bootstrap deadline. HTTP/1.1 was selected only for the explicitly identified comparison runs.

    The primary window's app routes mounted metric was 81.844 s on the original HTTP/2 path and 107.859 s when the extra residential hop was bypassed. Both runs logged:

    Statsig: error while bootstrapping post-login client
    attemptNumber=6
    errorMessage="Timed out while fetching post-login Statsig bootstrap"
    

    Actual authenticated request, not an anonymous connectivity probe

    The captured request was POST https://chatgpt.com/backend-api/wham/statsig/bootstrap, executed through the app's Chromium networking path.

    A successful response was approximately 0.97-0.98 MB Brotli-compressed and 7.4 MB decoded. Receiving HTTP 200 is therefore not equivalent to completing initialization.

    Test Observed result
    Original chain, HTTP/2 HTTP 200 headers at 2.968 s. Cancelled at 9.997 s, after reading 492,500 compressed bytes / 2,271,460 decoded bytes: the body was incomplete.
    Same underlying node without the extra residential hop, HTTP/2 Headers at 1.270 s, cancelled at 9.993 s, with 300,302 compressed bytes / 2,105,339 decoded bytes. Bypassing that hop alone did not solve it.
    Original chain, HTTP/1.1 comparison First primary bootstrap completed in 6.194 s; a repeated cold start completed it in 5.725 s. Primary route-mount times were 13.096 s and 19.688 s.
    Further HTTP/1.1 repetition Two initial requests still timed out; the next completed in 3.616 s, and primary routes mounted in 30.525 s. HTTP/1.1 is only a partial mitigation, not a general fix.
    Alternate network route, default HTTP/2 Primary and auxiliary-window bootstrap requests both completed, in 4.566 s and 4.488 s, respectively. These are two window requests from the same launch, not two independent cold-start trials.

    Cancellation/retry amplifies the slow path

    Correlating URL requests with HTTP/2 stream/session events showed:

    • Retry request headers and complete request bodies were dispatched promptly, within about 0-1 ms of each retry's network-request start.
    • RST_STREAM cancellation events were logged, but the session continued receiving substantial response data for already-cancelled stream IDs.
    • On the original chain, two retry streams' response headers arrived 19.744 s and 53.161 s after their respective starts, after their 10-second request deadlines. During newer retries, the socket was still receiving data belonging to older requests.
    • The single-hop comparison reproduced this pattern. The extra residential hop is therefore not a necessary condition in these observations.
    • Client connection receive windows stayed above 15.6 MB, initial bootstrap stream receive windows above 6.2 MB, and WINDOW_UPDATE events were present. No relevant socket error, GOAWAY, or HTTP/2 protocol shutdown was recorded.

    This supports a live but backlogged response path, not an exhausted client receive window or a completely dead connection. It does not identify which server/intermediary/TCP component buffered the data, prove packet loss, or prove that the peer received and ignored a cancellation. The tests were sequential observational comparisons, not a controlled network-lab experiment.

    Requested product changes

    1. Do not gate the whole UI on a fresh remote feature-configuration download. Render an appropriate local shell with a valid last-known configuration or safe defaults; refresh in the background.
    2. Provide a real cache-first bootstrap path, scoped to the authenticated user/workspace and compatible app/configuration version, with expiration and invalidation on logout/account changes. The local statsig-state.json inspected here held only a stable identifier; retaining it did not bypass the network bootstrap. SDK storage alone does not help if the network bootstrap is awaited before the post-login client is created.
    3. Separate header/connection timing from complete-body timing, or use a progress-aware body budget. A roughly 1 MB compressed response can be actively downloading when a fixed 10-second total timer cancels it.
    4. Bound the total foreground startup wait and avoid redundant overlapping work. Coalesce initialization across windows where safe, limit/cancel superseded attempts, and avoid six retries piling onto the same slow response path. Merely increasing each attempt's timeout while retaining six blocking attempts can turn the wait into several minutes.
    5. Expose an actionable, recoverable status such as configuration temporarily unavailable, with retry after connectivity improves. Keep transient unavailability distinct from authoritative feature/entitlement revocation. Cached presentation settings must not bypass current security or entitlement checks.

    A supported configuration knob would also be useful while a product fix is developed, so this does not require editing signed application bundles after every update.

    Privacy and evidence: these figures were recorded during local startup/NetLog analysis on 2026-10-28 (UTC+08:00). Raw captures and experimental installation copies were deleted after the investigation; no raw capture is attached. This comment contains no account IDs, tokens, cookies, proxy credentials, or local filesystem paths.

  11. G384278678 commented on Oct 29, 2026

    @G384278678

    Additional macOS reproduction on 26.1023.51421: slow startup and missing Dot; a new window only restores it temporarily

    Observed on October 29, 2026 (UTC+8). Related to #55142 and #55892. Adding a separate Mac reproduction and recovery evidence to this existing issue.

    Environment and actual desktop behavior

    • Apple Silicon, macOS 26.3.1 (a), build 25D771280a.
    • ChatGPT/Codex desktop 26.1023.51421, build 22530, production channel, ChatGPT Pro authentication. The supported updater currently reports up_to_date.
    • Corporate network with an existing TLS-inspecting proxy path. The installed application bundle and network settings were not modified during these tests.
    • The primary window logged the following at 2026-10-29T11:24:49.846Z:
    Statsig: error while bootstrapping post-login client
    attemptNumber=6
    errorMessage="Timed out while fetching post-login Statsig bootstrap"
    

    The corresponding app_start span was 68,488.8 ms, with samplingReason=Network:Recognized. Dot was missing from the sidebar. Read-only bundle inspection confirms the 10,000 ms bootstrap deadline and five retries after the initial attempt.

    Using the official File > New Window action in the same application process later produced an app_start span of 22,296.6 ms, with samplingReason=Bootstrap:Recognized; the existing Dot then visibly appeared. This is one temporary recovery, not a verified reliable workaround or a controlled cold-start benchmark.

    Separate authenticated HTTP measurements

    These are independent curl probes, not captures of the desktop's failing requests. The target was POST /backend-api/wham/statsig/bootstrap; successful responses were validated as complete JSON containing the expected payload.

    Sample TLS completed First byte Complete response Downloaded bytes
    1 0.131 s 1.027 s 9.494 s 7,376,627
    2 0.084 s 1.040 s 8.830 s 7,376,627
    3 0.081 s 0.962 s 8.921 s 7,376,627

    All three returned HTTP 200 over HTTP/2 with certificate verification enabled, but leave little margin below the application's deadline. An earlier complete bootstrap probe took 10.772 s.

    Explicit Accept-Encoding: br and Accept-Encoding: gzip probes also received approximately 7.38 MB without a Content-Encoding header, in 8.849 s and 9.653 s respectively. The current path is known to pass through a corporate security proxy. Without an upstream or alternate-path comparison, this does not identify which component caused the uncompressed response or establish a complete network root cause.

    Dot evaluations and recovery limits

    • A fresh full bootstrap response evaluated the two inspected Dot-related gates as enabled.
    • A separate request using the fallback user reconstructed from the installed code, with matching account identity, evaluated those gates as disabled/default. This was a reconstruction, not a read of the failed renderer's in-memory user.
    • An independent live_overlay request succeeded, but its 24 returned gates did not include those Dot gates. Successful automatic refresh in the original renderer was not directly observed; the result does not establish that the app never refreshes in the background.

    Requested supported fix

    1. Bound the overall startup delay and allow the main UI to recover without repeatedly creating windows.
    2. Support a complete bootstrap refresh after transient failure, then re-evaluate the UI using authoritative account configuration; preserve entitlement checks.
    3. Revisit the full-response timeout and payload/transfer behavior, or expose a supported timeout setting. Simply multiplying all six attempts by a longer timeout would worsen genuine outages.
    4. Please provide a tracking/triage update and, when available, the official release containing a fix. Keeping an unmodified installation is important; maintaining a patched app is not a sustainable solution.

    No credentials, account identifiers, Dot names, conversation contents, screenshots, raw response payloads, or raw log files are included.

  12. kkkzbh commented on Nov 5, 2026

    @kkkzbh

    Additional Linux RPM evidence (2026-11-05)

    I added the full Linux startup trace, six-request measurement table, and installation limitations in #55892 (comment).

    The RPM is 26.1029.61003-1 on Fedora 44 KDE/Wayland, with paired CLI 0.166.0-alpha.6. This was a locally adapted RPM installation; the failing archive's bootstrap deadline, retry owner, provider, and endpoint wrapper were compared with the pristine RPM and are byte-identical. The full comment describes the other local adaptations and the remaining confounding factors.

    Chromium NetLog of the actual desktop-owned POST /backend-api/wham/statsig/bootstrap requests showed six consecutive requests receiving HTTP 200 and Brotli-compressed JSON headers. At the approximately 10-second request endings, each had received roughly 0.46–1.09 MB encoded / 2.37–5.70 MB decoded, with the response bodies still incomplete. These counts are partial downloads. The request capture confirmed use of the configured local HTTP proxy.

    Separately, the user launch's native host critical path completed in 3.573 seconds, while the interval from the renderer's initial React-root request to runtime configuration/services resuming was approximately 99 seconds. The two timing origins differ; full-app readiness was not benchmarked.

    These observations corroborate the complete-body deadline and repeated-download mechanism across another desktop platform. They do not isolate the underlying transfer bottleneck or establish a pristine-installation Linux reproduction. The linked comment contains sanitized measurements only; credentials and raw captures are excluded.

  13. NickVor commented on Nov 10, 2026

    @NickVor

    Windows 11 / 26.1103.3517.0: bootstrap deadline coincides with English fallback and missing Connections settings

    Follow-up evidence for #50377; localization also relates to #52471.

    Environment and impact

    • Observed on November 10, 2026, after a desktop update.
    • Windows 11 x64; Microsoft Store package OpenAI.Codex, version 26.1103.3517.0.
    • Existing authenticated profile, a saved non-default UI locale, Ubuntu on WSL2, and a saved SSH connection.
    • Network/VPN route stayed unchanged throughout the tests. An alternative route was not available for comparison.

    After the update, localization reset to the default English UI and the connection settings disappeared, including the SSH / WSL / CLI options. Fully closing the app, stopping a remaining background process, and restarting did not resolve it.

    Expected behavior

    Keep the saved UI language and make local connection settings accessible when remote configuration is slow or unavailable. A transient bootstrap failure should be recoverable and should not silently remove these settings.

    Reproduction observed on this machine

    1. Use the updated Store application with the existing profile and a saved non-default UI locale.
    2. Start the app on the affected network route.
    3. Wait through startup: the UI appears in English and connection settings are absent.
    4. Fully quit and restart on the same route: the symptoms recur.

    This describes the observed environment, rather than a deterministic reproduction on arbitrary networks. The preceding working app version was not recorded.

    Evidence from the unmodified installation

    The local config still contained the previously selected non-default locale in [desktop].localeOverride; the saved preference had not been reset.

    The saved SSH connection was still present in local state. Ubuntu was running under WSL2, and the application discovered one eligible distro. Selected original log lines, with stack traces omitted:

    2026-11-10T11:06:47.290Z warning [wsl-migration/rollout] Failed to persist WSL migration rollout errorMessage="Codex app-server is not available" errorName=AppServerTransportNotSentError
    2026-11-10T11:07:53.255Z error [electron-message-handler] Statsig: error while bootstrapping post-login client attemptNumber=1 errorMessage="Reached the post-login Statsig bootstrap deadline" errorName=Error
    2026-11-10T11:08:36.670Z info [wsl] eligible distro list eligibleCount=1 lookupGeneration=1 mode=async result=default
    

    The migration warning also appeared in the later working launch, so it does not by itself establish the cause.

    Bootstrap timing measurements

    Independent authenticated diagnostic requests to the official endpoint POST https://chatgpt.com/backend-api/wham/statsig/bootstrap, using the same network route:

    Probe Result
    Node fetch HTTP 200 headers after 2,348 ms; incomplete body when the diagnostic limit aborted it at 55,017 ms; 4,540,373 decoded bytes received.
    curl, HTTP/1.1, compression enabled HTTP 200; complete valid JSON in 86,191 ms; 1,425,049 compressed wire bytes; about 7.78 MB decoded. The inspected enable_i18n values were true.

    These were diagnostic requests with separate session metadata, not captured renderer requests. Metadata was not an exact copy of the live window's request. They show a successful but slow response on this route; they do not prove the precise timing or failure point of the native request. No credentials or response payload are attached.

    Read-only inspection of this installed build found an outer post-login bootstrap deadline of 62,500 ms, and an inner 10,000 ms idle body-read timeout that resets when nonempty chunks arrive. The latter should not be confused with a fixed 10-second total transfer deadline described for older builds.

    Local diagnostic experiment and result

    An unofficial, separate copy of this same application was tested with only the two timeout constants increased: outer deadline 62,500 → 180,000 ms, inner idle timeout 10,000 → 60,000 ms. Required ASAR integrity hashes in the copy were recalculated; the copied executable's original signature was consequently invalidated. The original signed Store installation remained untouched. No feature assignments, authentication, policy checks, or usage limits were changed.

    With the existing user profile and the same network route, the user reported that the original symptoms were resolved. The working launch logged name=app_start outcome=success with durationMs=71895.4 at 2026-11-10T11:29:34.869Z. This is overall app startup duration, not an isolated bootstrap duration.

    This supports investigating timeout handling, but is not a controlled A/B test or a recommended supported workaround. The exact mechanism hiding all Connections settings was not independently established.

    Requested investigation

    • Review bootstrap deadlines and payload size on slow but functioning connections.
    • Preserve the saved locale and local connection settings when bootstrap fails.
    • Provide a visible retry/recovery path instead of leaving the session in a reduced configuration.

    A separate configRequirements/read failure occurred during a fresh-profile test of the modified copy; it is documented separately because its cause and relationship to this regression are unconfirmed.

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

    appbugconnectivityskillswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions