Skip to content

[Windows] Intermittent browser request-header policy failure in Edge and Chrome; recovery observed after OS reboot #51172

Open

Description

@likeak

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

26.930.41038 (release recorded in application logs during the failure; About-dialog value was not captured)

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Microsoft Windows 11 Home, 10.0.26200, build 26200, x64

What issue are you seeing?

Codex browser tooling intermittently fails before it can enumerate tabs or read an allowed page. Both Microsoft Edge and Google Chrome were affected. Ordinary manual browsing worked.

Exact recurring error:

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

One call after reopening the desktop application instead returned:

nodeRepl.fetch request failed

Resetting the JavaScript tool session, reopening browsers, and fully reopening the desktop application did not restore access during this incident. After a subsequent Windows reboot, the same machine/account could enumerate real tabs and read pages in both browsers. This is an observed recovery, not a confirmed permanent fix or proof of the cause.

I am filing this separate failure/recovery timeline because my underlying cause is unconfirmed and the intermittent behavior adds evidence beyond the payload-size hypothesis in #46129. Related reports: #46129, #44761, #50847 and #45678.

Browser connections used the computer-use plugin and browser extensions. Exact browser/extension versions during failure were not captured. Multiple chats shared the same account/machine/workspace. FlClash proxy was in use; it was running during the successful post-reboot verification. The actual route used by the failed native initialization request is unverified.

What steps can reproduce the bug?

Observed workflow (intermittent, not a guaranteed minimal reproduction):

  1. Open a supported browser with the Codex browser connection available.
  2. In a Codex chat, ask the browser tool to list tabs or read an allowed page.
  3. The tool recognizes the browser but fails with the request-header policy error before accessing the target website.

Observed operations included cua.getState() and cua.listTabs(). The latest intended target was https://creator.douyin.com/, but failures occurred during initialization/discovery, before reaching it.

Failure/recovery timeline

All times UTC+08:00. These are individual observations, not an uninterrupted diagnosis of the entire interval.

Date/time Action or observation Result
2026-09-12 09:42:24 Earliest matching error located in the historical logs searched for this report Same policy error; earliest within searched coverage, not necessarily the absolute first occurrence
2026-10-05 08:36 and 11:10 Browser calls in the original project chat Policy failure
2026-10-05 21:57-21:58 Same original chat reads the target creator site and analytics DOM through Edge Successful real page reading
2026-10-06 01:32 A newly handed-off planning chat requests browser state, then lists tabs once Both fail before entering the target site
01:53-01:54 Reproduce in coordinating chat, reset its JavaScript tool session, initialize again Failure before reset: 20.8642 s; after reset: 20.4348 s
02:09 User reopens Edge; tool checks new connection Same error, 20.1356 s
02:12-02:17 Chrome initially absent; user opens it; tool attempts target read Once connected, same error, 20.1448 s; initial absence was not a policy failure
02:26-02:27 Verify desktop app was fully reopened, then test Chrome/browser discovery One nodeRepl.fetch request failed after 5.1625 s; next discovery reports policy failure for both browsers after 20.6729 s
Same stage One new internal agent tool session performs one discovery call Same error after 20.6657 s; still shares machine/account/root task, so not a fully isolated new user-chat experiment
03:45 User reboots Windows No experimental proxy, extension or installed-source changes were made for this recovery test
03:49 User opens Edge; enumerate actual tabs, then read creator site Discovery succeeds (10.7629 s); logged-in homepage reading succeeds (4.3919 s)
03:59 User opens Chrome; enumerate actual tabs, read same site Discovery succeeds (0.5702 s); public logged-out page reading succeeds (3.0503 s); account backend not verified in Chrome

The old chat had already failed and later succeeded before the new chat failed. Handoff is therefore not established as the technical cause. Old success and new failure were about 3.5 hours apart without controlled network/service/runtime conditions. A separate batch chat only read local handoff documents and did not invoke the browser tool.

Public session identifiers and raw private chat logs are omitted. Quota/context exhaustion was not established as a cause.

What is the expected behavior?

Enumerate connected browser tabs and read a permitted page, or provide an actionable underlying initialization error.

Actual failures usually took about 20 seconds and exposed only the generic policy-loading error. The inspected application logs did not expose the failed initialization HTTP status, response size, applicable size limit, or full timeout/cancellation chain.

Post-reboot success confirms current browser access in the coordinating chat only. Other project chats were not retested and long-term stability is unverified.

Additional information

Read-only diagnostics completed

  • Inspected installed browser-service.mjs and worker/RPC paths. The directly observed stage is Statsig initialization/readiness validation before site access. Falsy initialization success or a client not in Ready state can produce this error. kernel.js:1595 was an RPC rethrow point, not a demonstrated root cause.
  • The SDK initialization/update timeout is 10,000 ms; this is not a response-size limit.
  • The configured fetch delegates through nodeRepl.fetch / the native authenticated_fetch bridge. The native executable contains nodeRepl.fetch response is too large; a Base64 response-bridging path was also observed.
  • Inspected exposed help and once exported the app-server protocol schema. No supported response-size setting was found in those surfaces; this does not prove no internal limit exists.
  • Searched available application logs for native-fetch, response-size, Statsig and cancellation-related errors. They did not expose this failure's actual response size/status or full underlying cancellation chain.
  • Unauthenticated HEAD checks over direct and proxy routes established TLS but returned HTTP 403. They did not replay the authenticated SDK initialization POST and do not prove policy initialization succeeded.
  • Compared historical failures with a later October 5 proxy-split change: matching errors predate that change, so it cannot explain the first observed occurrence. Older/current network factors remain unexcluded.

Hypotheses and unperformed experiments

Questions for maintainers

Is there a supported way to capture the underlying failure reason (HTTP status, decoded/native response size and applicable limit, or cancellation chain), without patching installed runtime code or forcing a policy flag?

Is this intermittent failure/recovery pattern known in release 26.930.41038, and is there a confirmed fix or additional safe diagnostic to collect if it recurs?

Raw private chat logs, account identifiers and local absolute paths are omitted from this public report.

Activity

  1. added
    app
    on Oct 5, 2026
  2. added
    bug
    windows-os
    tool-calls
    on Oct 5, 2026
  3. github-actions commented on Oct 5, 2026

    @github-actions
    Contributor
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

    appbrowserbugtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions