Skip to content

Windows app: browser/CUA always fails with "Unable to load browser request-header policy" / "Timed out waiting for Statsig values" (persists across ~10 updates) #51659

Open

Description

@Dementevsn

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

26.1002.51308 (build 13417), Windows package 26.1002.6548.0 (Microsoft Store)

What subscription do you have?

Pro

What platform is your computer?

Windows 11 x64

What issue are you seeing?

Every browser command via the built-in browser/CUA fails after ~20 s. Edge ("Profile 1") is detected via the extension, but listing tabs or reading a page fails:

Error: Unable to load browser request-header policy. Retry the browser command.
Error: Timed out waiting for Statsig values.
    at ...\Temp\.tmpXXXX\kernel.js:1595:16
    at Object.settle (...\worker-runtime.js:396:5)

This has persisted for at least the last ~10 app updates (I update daily). Everything else in the app works.

What steps can reproduce the bug?

  1. Open Codex App on Windows, start a new chat.
  2. Ask: "Using the built-in browser (CUA), list Edge tabs and read the title of any tab."
  3. Edge is detected, then the command fails with the error above after ~20 s.

Already ruled out:

What is the expected behavior?

Browser commands work, or the module falls back gracefully when Statsig values are unavailable.

Additional information

browser-service.mjs initializes Statsig with networkConfig { api: "https://ab.chatgpt.com/v1", networkOverrideFunc: (i,s)=>t.fetch(i,s) } and initializeAsync({timeoutMs: 1e4}). A plain fetch in the same kernel succeeds quickly, so the failure seems to be in the provided nodeRepl.fetch path or in the initialize request the module sends, not in the network.

Config: sandbox_mode = "danger-full-access", [windows] sandbox = "unelevated" (switched from elevated because of #51601).

Activity

  1. added
    app
    on Oct 7, 2026
  2. added
    bug
    windows-os
    on Oct 7, 2026
  3. top4an commented on Oct 9, 2026

    @top4an

    Additional Windows reproduction of the same request-header policy failure:

    • Codex Desktop MSIX 26.908.9136.0; Chrome extension enabled. cua.getState() and cua.listTabs({browser:'chrome'}) fail before returning any Chrome tab with Unable to load browser request-header policy. Retry the browser command. A fresh Codex start and full Windows reboot did not help.
    • An ordinary Chrome window opens, and Codex's in-app browser loads a public page, but the existing Chrome tabs remain inaccessible through CUA. A separate Codex CLI canary reproduces the policy error.
    • A fresh Desktop log records Timed out while fetching post-login Statsig bootstrap. The installed browser component waits 10 seconds for Statsig initialization/values before checking the request-header gate.
    • As a timing probe only, a direct POST to the same Statsig initialize endpoint with a dummy user ID returned HTTP 200 with a complete response in 13.91 seconds. This does not prove the signed-in browser request has the same latency or transport path.
    • I tested an isolated, reversible increase of the component's wait to 30 seconds. The browser tool then reached its own execution timeout without tab access. The original component was restored byte-for-byte. No gate, policy, or approval check was disabled.
    • I also tested Desktop 26.1007.2314.0, but the CUA tool was unavailable in that session, so browser recovery on that version was not verified. The microphone control disappeared; I rolled back to 26.908.9136.0, and the user confirmed microphone and Russian UI returned. The Chrome policy error reproduced after rollback.

    Could maintainers investigate the policy initialization/fetch bridge and surface the underlying failure before tab access? I can provide narrowly scoped diagnostics through an approved private channel. This comment contains no credentials, cookies, account identifiers, private URLs, file paths, prompts, response payloads, or raw logs.

  4. xxyyczh0601 commented on Oct 10, 2026

    @xxyyczh0601

    Additional Edge reproduction on the latest eligible Windows desktop build, with a previously successful recovery and subsequent recurrence. Submitted at the affected user's explicit request.

    Current environment (verified October 10, 2026, Asia/Shanghai)

    • Desktop app: 26.1007.21434, build 13901, production channel, as returned by the app's supported update-check tool.
    • Updater result: up_to_date.
    • Windows: Microsoft Windows 10.0.26200, x64.
    • Browser: Microsoft Edge, discovered as an extension-backed browser.
    • Exact Edge/extension version and subscription plan were not collected.

    Current reproduction and actual result

    1. Open a local desktop chat and ask the agent to verify the browser connection.
    2. Run the normal supplied CUA discovery command:
    await cua.getState();
    1. Edge is discovered, but its tab inventory cannot be read. Discovery takes 23.3807 seconds and reports:
    Browser 3: Error: Unable to load browser request-header policy. Retry the browser command.
    
    1. Retry listing tabs using the Edge provider ID returned by that discovery:
    await cua.listTabs({ browser: "3" });
    1. This also fails, after 20.0479 seconds, with:
    Unable to load browser request-header policy. Retry the browser command.
    

    Provider ID "3" is specific to this observation; reproduce using the Edge ID from fresh discovery rather than assuming that ID is stable. The returned empty tab array accompanies an inventory error and does not establish that the browser has no open tabs.

    Redacted stack frames:

    Error: Unable to load browser request-header policy. Retry the browser command.
        at <TEMP>/kernel.js:1595:16
        at Object.settle (<TEMP>/worker-runtime.js:396:5)
        at <TEMP>/kernel.js:1871:11
        at handleInputFrame (<TEMP>/worker-runtime.js:418:7)
    

    No usable page state or successful page interaction was obtained in these two current attempts.

    Earlier history from this user's local troubleshooting records

    • October 7: Edge discovery worked, but tab listing and actual control requests failed with nodeRepl.fetch request failed. Earlier checks found the extension enabled, valid native-connection registration/program paths, and no duplicate desktop-app installation explaining the failure. Restarting the connection backend did not recover browser access.
    • Earlier network observations showed the desktop main process using the existing local proxy while the browser-tool Node REPL attempted direct connections. The relevant services timed out on that direct route and responded quickly through the existing proxy. This supported a proxy-inheritance explanation for the earlier failure; those network measurements have not been repeated for the current policy error.
    • October 8: A reversible launcher configured via CODEX_NODE_REPL_PATH passed existing missing proxy environment variables to the vendor Node REPL, using the generated NODE_REPL_NODE_PATH to locate it. It did not rewrite browser requests, authentication, policy checks, or installed vendor program files.
    • After a verified desktop-app restart, actual Edge operations succeeded: creating a test tab at https://example.com, reading the page, clicking its “Learn more” link, and reaching the IANA page. The agent-created test tab was then closed.
    • October 10, after the user's latest update: The two normal browser commands above failed again. The current generated browser-tool configuration still references that previously installed proxy-inheritance launcher. Browser recovery therefore was temporary in this user's experience.

    This sequence does not establish that the update caused the recurrence, that proxy inheritance is the current root cause, or that all installations are affected.

    Expected behavior and request

    Edge discovery should be followed by successful tab listing and authorized page interaction. Please investigate why request-header-policy initialization prevents access on 26.1007.21434 / build 13901, including whether the supported browser connection correctly propagates the desktop application's network/proxy environment.

    A supported diagnostic/recovery procedure, a clearer underlying error, and confirmation of a fixed build when available would help. We have not bypassed request-header gates, authentication, or policy checks to obtain this reproduction.

    Related earlier report from this account: #52006 concerns a separate Windows sandbox/runtime-startup incident; a common cause with this browser failure has not been established.

    No credentials, cookies, local usernames/paths, private URLs, chat IDs, screenshots, private page contents, or raw session logs are included.

  5. Aikey079 commented on Oct 11, 2026

    @Aikey079

    Additional independent Windows 11 reproduction with timestamp-correlated Statsig bootstrap timeout and browser session-route failure. Reporting at the affected user's request; this is supplementary evidence for the request-header policy failure, not a claim that these two events are causally linked.

    Environment (verified 2026-10-12, UTC+08:00)

    • OS: Windows 11 Pro for Workstations, build 26200.
    • Codex Desktop MSIX package: OpenAI.Codex 26.1007.2314.0, package status Ok.
    • Also installed: OpenAI.CodexBeta 26.727.4816.0, status Ok (no recent matching log files found under the limited scan; its involvement is not established).
    • Target browser: Microsoft Edge (exact browser/extension version not collected).
    • User WinINET proxy disabled, PAC not configured.
    • HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, and NO_PROXY: absent in Process, User, and Machine environments. This does not rule out other network routing or application-specific proxy behavior.

    Reproduction

    The external Edge integration repeatedly returns:

    Unable to load browser request-header policy. Retry the browser command.
    

    Reproduced in both ChatGPT Work and Codex Desktop, in fresh and existing conversations. ChatGPT Work's built-in @Browser can load https://example.com and read its title, while external Edge control fails. A separate attempted direct edge selector returned Browser is not available: edge; this selector result is not treated as proof that Edge is absent.

    Targeted Codex Desktop main-process diagnostics

    All times below are local UTC+08:00 on 2026-10-12; observed in the same Codex desktop t0 log/instance. Session identifiers and paths omitted.

    01:09:38  session-binding-related log matches (5; not proof of successful binding)
    01:09:44  "created browser use host" matched
    01:10:50  ERROR [electron-message-handler]
              Statsig: error while bootstrapping post-login client
              attemptNumber=6
              errorMessage="Timed out while fetching post-login Statsig bootstrap"
    01:11:47  WARNING [browser-use-iab-api]
              IAB_LIFECYCLE iab backend info request failed
              request=getInfo
              errorMessage="No ChatGPT browser route is available for browser session [REDACTED]"
    

    The browser warning's stack includes:

    ensureBrowserUseSessionRoute
    getInfo
    handleIncomingRequest
    

    The host-creation match precedes the missing-route warning by ~123 seconds. This does not prove a route was registered, nor does it establish whether the route was never captured, later invalidated, or bound to a different session ID. No explicit request-header policy or decompression error was present in the limited main-log keyword scan.

    Request

    Please investigate whether external browser policy initialization, post-login Statsig bootstrap, and IAB getInfo session-route registration/lifecycle can fail together in the current Windows desktop build. In particular, could maintainers clarify whether the two logged failures share a dependency and provide a supported, non-destructive diagnostic/recovery path? Related route-lifecycle reports include #48670 and #52472.

    No raw logs, access tokens, cookies, private URLs, session IDs, or identifiable local paths are attached.

  6. Richman2020 commented on Oct 12, 2026

    @Richman2020

    Additional Windows reproduction on 2026-10-12:

    • Codex desktop 26.1007.21434, build 13901, prod. The supported updater reports up_to_date.
    • Official Chrome extension 1.26.901.11451 is installed. Earlier official browser discovery successfully returned Chrome with type extension.
    • Bundled Node v24.21.0 and official node_repl/cua_repl services can start successfully. An unrelated legacy MCP executable-path error was repaired and its service became ready, but official Chrome control still fails.
    • In a fresh official control session, cua.getState() timed out after 22.6993 seconds and the tool reset its kernel. The subsequent single createBrowserTab call for a public Google weather search failed after 22.4433 seconds with: Unable to load browser request-header policy. Retry the browser command.
    • No tab ID or page content was returned. Browser operation has not passed acceptance.
    • curl and bundled Node HEAD requests to the public https://ab.chatgpt.com/v1 endpoint returned HTTP403 in under one second. This is only basic reachability evidence, not successful policy initialization or authentication.
    • Available local logs and supported tool errors did not expose the underlying policy-request status, timeout phase or decoding error.

    Please provide supported diagnostics identifying the actual initialization failure and a supported recovery or fix. Preserve policy enforcement and URL verification.

    No security checks were disabled, no policy values were fabricated, and no denied page was accessed through an alternative control route. This report contains no account identifiers, private paths, credentials, browsing history or raw logs.

  7. etrevio commented on Oct 15, 2026

    @etrevio

    Feedback ID: 01a11466-6997-7221-887a-f8b663e77021

    Subject: Windows Chrome control stopped working; tools missing after update and existing task rejects local messages

    Chrome control through the official extension worked on the night of October 14, 2026, but stopped working on October 15. Restarting and updating both Chrome and the ChatGPT/Codex desktop app did not restore it.

    We observed three distinct symptoms:

    1. Before the desktop update, the browser was detected, but nameSession failed before listing tabs with: “Unable to load browser request-header policy. Retry the browser command.” A documented tool-kernel reset and Chrome relaunch did not resolve it.

    2. After the desktop update, at approximately 17:21–17:23 UTC, the computer was connected and authorized, but Browser/Computer Use tools were absent from the existing task. We could not retry browser initialization. Current app and extension versions have not been independently verified.

    3. Sending /mcp from that task’s desktop interface failed with “This queued message could not be sent.” Application logs at 17:29:28.850 and 17:29:33.188 UTC show method turn/start, code −32602, kind invalid_config, and: “invalid turn/start params: AbsolutePathBuf deserialized without a base path.” This matches the error tracked in Windows desktop: durable chat turn/start and thread/fork fail with AbsolutePathBuf deserialized without a base path #50428.

    No “failed to inspect capability root” or “os error 2” was found in the inspected 17:19–17:34:59 UTC log window. We have not established a common cause for these symptoms. Local PowerShell still works.

    Please provide a supported way to restore browser capabilities and local messaging in the existing task while preserving its history and permissions. No credentials, personal information or raw logs are included in this report.

  8. etrevio commented on Oct 15, 2026

    @etrevio

    Feedback ID: 01a11466-6997-7221-887a-f8b663e77021

    Update on 15 October 2026 to my earlier report: browser control now succeeds in a separate local task, while the existing delegated task still lacks the required tools.

    At approximately 19:52 UTC, I provided diagnostic results from another local task reporting:

    • Successful nameSession and reading of a 12-tab Chrome inventory.
    • Working Computer Use inventory and PowerShell.
    • Desktop app 26.1007.71326, build 20398; Windows package 26.1007.9446.0; browser extension 1.26.1005.11759.

    These are results and versions reported by that separate local task, not an independently repeated browser test by the coordinating dot.

    At 20:19:36 UTC, a direct check of the existing delegated task still found no supported Browser / Computer Use tools. It could not attempt nameSession, so recovery of that task's browser access has not been verified.

    There is also a coordination blocker when the dot tries to reach the functional local task through the supported task interface:

    • Reading it returns: “post-cutover thread ID [REDACTED] has unsupported placement region 5”.
    • Sending a bounded reception-test message returns: “CloudThreadNotFoundError: The cloud thread was not found.”
    • No receipt or execution of that test message was observed.

    The local browser success means the earlier report should not be read as a continuing failure of every browser-control route. We have not established a common cause for the earlier policy error, the missing tools in the existing delegated task, and these task-routing errors.

    Please provide a supported way for the dot to coordinate with the functional local task and restore the existing task's browser tools while preserving history and permissions. Private task identifiers, browser tab contents, names, local paths and raw logs are omitted.

  9. etrevio commented on Oct 16, 2026

    @etrevio

    Feedback ID: 01a11466-6997-7221-887a-f8b663e77021

    Update with observations from 15–16 October 2026. I submitted the support feedback through the Codex app and am providing this ID for correlation. Times below are UTC.

    The affected existing Windows task still cannot access browser tools, although an isolated local task successfully controlled Chrome. Voice action confirmation also remains unverified. These are separate observations; I am not claiming a common root cause.

    1. Browser access and missing controllers

    At 17:11:46 UTC on 16 October, the affected existing task inspected its available tool catalog and skills. Neither Browser Use nor a Computer Use controller was available. No Chrome command could therefore be invoked, and this check produced no fresh Chrome runtime error. No alternate access route or policy bypass was attempted.

    Chrome had worked in this same task on 10 October. Separately, at approximately 19:52 UTC on 15 October, another local desktop task successfully executed Chrome.nameSession and Chrome.user.openTabs through the official extension route and read 12 tabs. Computer Use also initialized and listed apps. Those successes validate that separate task only.

    PowerShell and file operations in existing Windows tasks worked on 16 October. This is not a demonstrated failure of all desktop execution.

    The earlier browser error was:
    “Unable to load browser request-header policy. Retry the browser command.”

    Local logs contained “403” entries, but they have not been correlated to that policy request. The latest missing-controller observation does not establish the same cause as the earlier policy error or the capability-root issue in #49562.

    1. Historical submission rejection

    Desktop logs confirm turn/start rejections on 15 October at 17:29:28.850Z and 17:29:33.188Z:
    Code: -32602
    Kind: invalid_config
    Message: “invalid turn/start params: AbsolutePathBuf deserialized without a base path”

    Mixed Linux-style and Windows-style working-directory information was observed in task metadata. The rejected path field and missing base context remain unidentified.

    A parent-to-task message was admitted during the 16 October check. That does not verify the separately affected local-chat-to-existing-task submission route. The historical rejected submission was not replayed during the investigation.

    Related report: #50428.

    1. Voice confirmation versus chat-created automations

    Voice requests on 15–16 October reportedly returned voice_parent_unconfirmed / UNAVAILABLE, with uncertain outcomes and instructions not to resend through another route. No supported confirmation-receipt reader was available in the inspected catalog. The reviewed local logs did not establish whether those actions were received or completed.

    However, two scheduled automations were successfully created from the parent chat on 16 October, and the tool reported them active. Their scheduled executions have not yet been observed. Reminder creation is therefore not universally broken, and these successful chat operations do not verify the voice-to-parent workflow. This confirmation problem should also be distinguished from call disconnections.

    1. Environment and recovery already attempted

    Chrome and the desktop app have already been restarted and updated.

    Snapshot collected on 15 October:

    • Windows Server 2025 Standard, build 26100.
    • Desktop app 26.1007.71326, build 20398.
    • Windows package updated from 26.1007.2314.0 to 26.1007.9446.0 around 17:18 UTC. Package and app versions are distinct.
    • Installed extension manifest: 1.26.1005.11759.
    • Chrome executable FileVersion: 154.0.8037.98; registry/version-directory report: 155.0.8059.41. The active version remains unresolved. The supported attempt to open chrome://version was blocked by URL policy and was not bypassed.

    These measurements have not been independently refreshed for the latest check. The timing of the update does not establish causation.

    Please investigate task-specific tool provisioning, the rejected turn/start field, and voice receipt/confirmation separately. A supported recovery should preserve history, permissions, and duplicate-action protection. Please verify browser access in the original affected task, admission through the previously failing local-chat submission route, and one harmless voice request with exactly one confirmed action and a delivered result.

    Private account/device/task identifiers, paths, tab contents, credentials, and raw logs are omitted.

  10. Lee-take commented on Oct 22, 2026

    @Lee-take

    Could a maintainer clarify the Windows Browser Use migration from the old request-header policy initialization path to the current requirements-based path, and whether it addresses the recurring initialization failures discussed here?

    On this Windows installation, retained tool outputs confirm repeated Unable to load browser request-header policy failures after approximately 20 seconds on September 30 and October 14, 2026. The September 30 checks found Chrome running, the extension enabled, and the native-host manifest valid; opening another Chrome window did not fix that occurrence. The retained app logs do not include the underlying HTTP status, decode exception, or transport cause. We are not claiming any particular underlying cause.

    Current environment:

    • Desktop internal version 26.1016.61520, build 21421, prod; configured updater reports up to date.
    • CLI 0.163.0-alpha.11.1.
    • Current CUA runtime b2c4f0c90eadfac4; historical October 14 runtime cfb32733c877621e.
    • Chrome 155.0.8059.85; extension 1.26.1015.10801.

    Read-only inspection of the current installed browser-service shows getExtensionRequestHeaders() reading config.readRequirements()?.requirements?.browserUse?.extension?.requestHeaders. The old exact error string is absent in the current installed CUA runtime. Missing request headers are handled as an empty array; read failures are wrapped as ConfigReadError with a cause. PR #51194 appears relevant to the new data path, but does not itself establish the desktop rollout or a fix for this issue.

    Current-version tests pass: a full desktop restart followed by Chrome startup and real page read/write/re-read succeeded. A separate public stdio app-server diagnostic using the locally generated configRequirements/read protocol returned successfully in 43 and 23 ms. browserUse was null in that separate context. No configuration, cache, security checks, or runtime code was modified. A current-version recurrence of the old error has not been established; the user does not recall the last failure date.

    Questions:

    1. Which desktop/runtime release completed this migration, and does it intentionally remove the old Statsig-dependent request-header initialization failure mode?
    2. Are there known remaining initialization failures on this version that would require a supported local remediation?
    3. If it recurs, what supported diagnostic should expose the actual transport/status/parse cause for the relevant path without logging credentials or policy values? doctor --help has no dedicated verbose policy/Statsig option, and the current requirements read has no force-refresh parameter.

    We have not applied the third-party Brotli patches, disabled policy checks, or changed global proxy settings. Public-root proxy tests were not treated as evidence of the authenticated policy request's outcome.

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

    appbrowserbugcomputer-usewindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions