Windows Codex App: Browser Use blocked by enterprise network policy even for example.com
What version of the Codex App are you using?
26.519.11010.0
What subscription do you have?
ChatGPT Pro
What platform is your computer?
Windows x64, Microsoft Store Codex app.
What issue are you seeing?
The Codex in-app browser pane can be opened manually and the user can manually navigate it to external sites such as https://example.com.
However, the agent cannot navigate, read, or inspect even https://example.com through Browser Use / node_repl. Every attempt fails with an enterprise network policy block.
The visible in-app browser is open and can show https://example.com, but agent-side access to the current page is still blocked.
Observed error:
Browser Use rejected this action due to browser security policy. Reason: Browser Use cannot access https://example.com because enterprise network policy blocks it. The agent must not attempt to achieve the same outcome via workaround, indirect execution, raw CDP or browser commands, alternate browser surfaces, or policy circumvention.
This also happens for https://www.royalroad.com, but it is not specific to Royal Road because https://example.com fails the same way.
The user also sees repeated approval prompts like:
Allow the node_repl MCP server to run tool "js"?
After approving, Browser Use still cannot access the page.
What steps can reproduce the bug?
- Open Codex Windows App.
- Open the in-app browser pane.
- Manually navigate the pane to
https://example.com. - Ask the agent to read the current page title or DOM.
- The agent attempts Browser Use via node_repl and receives an enterprise network policy block.
- In a new Codex conversation, repeat the same test. The failure is the same.
Expected behavior
If the in-app browser pane is manually open on https://example.com, Browser Use should be able to read the page title and DOM snapshot, or at least the current URL/title, assuming the user approves the node_repl tool call.
Expected result:
title: Example Domain
Actual behavior
Browser Use reports that https://example.com is blocked by enterprise network policy, even though the in-app browser pane itself can display the page when the user navigates manually.
Additional information
- Reproduces in both an existing conversation and a new conversation.
- Restarting Codex did not fix it.
- This appears after a Codex app update.
- Current installed package reported by
winget list Codex:
Codex 9PLM9XGG6VKS 26.519.11010.0 msstore
- This breaks workflows that depend on Browser Use automation in the in-app browser.
25 Comments
I have meet this issue exactly recently. I have done the reboot chrome and codex, neither worked. At final i tried remove the chrome extension, re install, and reboot all and seems work now
Same! It used to work but not nowadays!
I can reproduce the same issue on a personal Windows PC as well. This is not an enterprise-managed machine.
Codex Browser and the Chrome plugin are both blocked by the same Browser Use enterprise network policy. The Chrome plugin itself connects successfully to my Chrome profile, but every navigation attempt is rejected.
Observed behavior:
This happens for both public sites and localhost:
Localhost itself is healthy. PowerShell can access the local server and returns HTTP 200:
I tried all of the following configuration changes and fully restarted Codex after applying them.
C:\ProgramData\OpenAI\Codex\requirements.toml:C:\Users\<user>\.codex\config.toml:I also have localhost origins allowlisted in
C:\Users\<user>\.codex\browser\config.toml:After restart, the current session context shows network access enabled and allowed for
127.0.0.1, localhost, but Browser Use still blocks both public URLs and localhost with the same enterprise network policy error.This looks like Browser Use is not reading the configured network allowlist, or a higher-priority persisted/thread-level policy is overriding it. It also affects the Chrome plugin, not just the in-app Browser.
Additional update after more testing:
After reinstalling/restarting and switching Browser config from
approval_mode = never_asktoapproval_mode = ask, the Chrome backend is discoverable again and connects successfully.Chrome plugin diagnostics all pass:
1.1.5_0chrome-extension://hehggadaopoacecdllhhajmbjkdcmajg/Codex can connect to the Chrome backend:
However, navigation is still blocked for every tested URL:
All fail with the same error:
So at this point the issue does not appear to be Chrome extension installation, native host setup, or localhost reachability. The extension/backend is working, but Browser Use's policy gate is still denying all navigation, including public websites.
My Codex app version is:
me too
Follow-up after updating to the new Codex Desktop release from yesterday: this is still not resolved on my Windows machine.
Current status after the update:
I also found a closely related issue: #21955, where Chrome connects but navigation is blocked because
network_accesspersists as false. That sounds very close to this failure mode. If this policy check is reading the thread sandbox network flag, it may be incorrectly blocking Browser Use navigation even when the browser backend itself is healthy.Additional current reproducer on Windows Store Codex, matching this issue.
Environment:
OpenAI.Codex_26.527.7698.0_x64__2p2nqsd0c76g0Connected1.1.5openai-bundled/chrome/26.527.60818Observed behavior:
https://example.com/is rejected with the same class of error:https://www.linkedin.com/also fails with the same enterprise-network-policy error.config.tomlpermission profile with networkenabled = trueandallowed_domains = [ linkedin.com, www.linkedin.com ]also did not change the Browser Use rejection, so the effective policy appears to be enforced upstream of the user-editable origin/domain allowlist.Expected behavior:
For a personal Windows install, Browser Use should either allow ordinary user-requested destinations such as
https://example.com/, or the error/UI should expose the concrete policy source and remediation path. The current message says “enterprise network policy” but no enterprise/admin surface exists for this local install.Is there any available solution to the above issue at present?
My problem seems to have been resolved today after I upgraded the Codex app. 🤔
Same here!
Adding one possible related root cause to check for the enterprise-policy symptom.
In a separate Windows repro, the visible Browser error was also about enterprise network policy, but the underlying failure was not an actual policy deny. The configured Codex CLI path had gone stale after an update, so Browser policy/config reads failed when Codex app-server tried to start from a missing
codex.exepath.It may be worth checking whether
CODEX_CLI_PATHorchrome-native-hosts-v2.jsonpaths.codexCliPathpoints to a missing hash directory on affected machines. I filed the focused path/error-mapping case here: #28474This (finally) solved it for me - thank you! I had a CODEX_CLI_PATH that didn't exist
I’m seeing the same failure on a personal ChatGPT Plus account, on a newer Windows Codex build than the original report.
Environment:
OpenAI.Codex_26.611.8273.0_x64__2p2nqsd0c76g026.611.61753codex-cli 0.128.0Observed behavior:
browser-client.mjsexists and loads successfully.agent.browsers.list()shows both Chrome extension and Codex in-app browser backends.Exact error when navigating to
https://jobspidey.com/login:Earlier reproduction also failed for
https://example.com/with the sameenterprise network policy blocks itwording.Local checks:
codex features listshowsbrowser_use = trueandin_app_browser = true.C:\Users\ravik\.codex\browser\config.tomlexplicitly allows bothhttps://jobspidey.comandhttps://www.jobspidey.com.C:\ProgramData\OpenAI\Codex\requirements.tomlC:\ProgramData\OpenAI\Codex\managed_config.tomlOne unrelated config hygiene issue was found and fixed:
service_tier = "default"was changed toservice_tier = "flex", after whichcodex features listparses normally. The Browser Use policy block still reproduces after restart.Current session metadata from the Browser backend:
This looks like the same Windows Browser Use policy false-positive as this issue, still reproducible in build
26.611.8273.0.I finally resolved this, but the key first step was manually removing the Browser plugin from Codex Settings.
We had spent several days investigating the misleading enterprise network policy blocks it error without success. I eventually opened Settings > Browser and manually removed the Browser plugin.
After removing it, Codex displayed Integrated browser plugin unavailable, but it did not provide any option to reinstall it.
We then discovered that the official Browser plugin was still bundled inside the Windows Codex package, but the openai-bundled marketplace was missing from codex plugin list.
We registered the bundled marketplace:
$codex = Get-ChildItem "$env:LOCALAPPDATA\OpenAI\Codex\bin" `
-Recurse -Filter codex.exe |
Sort-Object LastWriteTime -Descending |
Select-Object -First 1
$pkg = (Get-AppxPackage OpenAI.Codex).InstallLocation
$marketplace = Join-Path $pkg "app\resources\plugins\openai-bundled"
& $codex.FullName plugin marketplace add $marketplace --json
Then we reinstalled Browser officially:
& $codex.FullName plugin add browser@openai-bundled --json
Verification:
& $codex.FullName plugin list
This reported:
browser@openai-bundled installed, enabled
We also found a stale user-level CODEX_CLI_PATH pointing to an old npm installation, so we corrected it:
[Environment]::SetEnvironmentVariable(
"CODEX_CLI_PATH",
$codex.FullName,
"User"
)
During troubleshooting, the first reinstall attempt produced Access denied (os error 5) because a manually restored Browser cache and its latest junction already existed. We backed up and cleared only that stale Browser cache, then repeated the official installation successfully.
After reopening Codex, Browser appeared again in Settings. Browser Use could navigate to public websites and Zapier, and the previous enterprise network policy error disappeared.
In short, the effective sequence was:
I finally resolved this, but the key first step was manually removing the Browser plugin from Codex Settings.
We had spent several days investigating the misleading
enterprise network policy blocks iterror without success. I eventually opened Settings > Browser and manually removed the Browser plugin.After removing it, Codex displayed
Integrated browser plugin unavailable, but it did not provide any option to reinstall it.We then discovered that the official Browser plugin was still bundled inside the Windows Codex package, but the
openai-bundledmarketplace was missing fromcodex plugin list.We registered the bundled marketplace:
Then we reinstalled Browser officially:
Verification:
This reported:
We also found a stale user-level
CODEX_CLI_PATHpointing to an old npm installation, so we corrected it:During troubleshooting, the first reinstall attempt produced:
This happened because a manually restored Browser cache and its
latestjunction already existed. We backed up and cleared only that stale Browser cache, then repeated the official installation successfully.After reopening Codex, Browser appeared again in Settings. Browser Use could navigate to public websites and Zapier, and the previous enterprise network policy error disappeared.
In short, the effective sequence was:
openai-bundledmarketplace.codex plugin add.CODEX_CLI_PATH.I can reproduce this on a personal ChatGPT Plus account with a newer Windows
Codex build.
Environment
OpenAI.Codex_26.623.11225.026.623.819051.1.5Observed behavior
networkAccess: true.https://example.com/succeeds with HTTP 200.https://example.com/and a LinkedInjob-search URL before reading the page:
No enterprise requirements file or Chrome enterprise domain policy is present.
New diagnostic evidence
Both the process-level and user-level
CODEX_CLI_PATHpoint to:That path does not exist. This matches the stale-path failure described in
#28474 and strongly suggests that a Codex app update left
CODEX_CLI_PATHpointing to a removed installation. A failed effective-config read is then
surfaced as the misleading enterprise-network-policy denial.
There is also a confusing UI-state symptom: after configuring
approvals_reviewer = "auto_review"and restarting, the materialized threadstate reports
approvalsReviewer: "auto_review", but the composer selectorcontinues to display
workspace-network. The UI does not reveal the activereviewer separately, making it appear that Auto-review was discarded.
Expected behavior
CODEX_CLI_PATHvalues.of labeling it an enterprise policy.
the filesystem/network permission profile.
I am seeing the same issue on Codex Desktop for Windows.
Codex In-app Browser can visibly open the site when I manually navigate/login, but the agent cannot inspect, screenshot, read DOM, or interact with the page. The same happens with Chrome-control / Codex Chrome extension.
Tested domains:
Both domains were added to allowed sites, but Browser Use still rejects read-only actions with:
Browser Use rejected this action due to browser security policy.
Reason: Browser Use cannot access https://kiaraspicy.com because enterprise network policy blocks it.
This blocks legitimate read-only workflows:
The user can manually open and log into the sites in the in-app browser, but Codex cannot access the same visible page state.
Reproduces on a newer Windows build:
The in-app Browser Use backend connects. The Chrome-extension backend also connects and can enumerate live Chrome tabs. The native messaging host checker reports
Correct: yes, and the Browser Use origin allowlist explicitly containshttps://example.com,https://www.iana.org, andhttp://127.0.0.1:8765.Nevertheless, both the in-app browser and Chrome Browser Use reject
example.comand127.0.0.1before page load with “enterprise network policy blocks it”. This reproduces after restarting Chrome and Codex and in a brand-new task.As a control, a separately configured Playwright MCP can open
https://example.com, detect and click “Learn more”, and reach the IANA destination. That confirms ordinary network and local-browser connectivity.This suggests the Browser Use policy gate remains broken in 26.707.3748.0 and is not caused by the Chrome extension/native-host setup or the local Browser Use allowlist.
Reproduces after a full local recovery attempt on a personal ChatGPT Plus account.
Environment
26.707.3748.026.707.3142824.14.0Authoritative policy evidence
Direct calls to the same packaged Codex app-server returned:
The relevant effective-config fields were also empty:
There is no local
requirements.toml,managed_config.toml, activebrowser/config.toml, or matching origin/domain deny entry.CODEX_CLI_PATHis unset at Process, User, and Machine scope.Recovery steps already completed
node_replMCP entry and restored the packaged bridge.chrome@openai-bundledusing the officialcodex plugin remove/addcommands.browser@openai-bundledplugin, leaving both Browser and Chrome installed and enabled.After every restart, the Chrome backend was rediscovered and could create/read a real
about:blanktab. However, navigation tohttps://search.bilibili.com/all?keyword=chatgptwas still rejected before page load with:The tab remained at
about:blank. The same false denial was previously reproduced withhttps://example.comand localhost.The bundled browser client currently converts any exception from its requirements/config read into a
denydecision and then labels itcodex-network-policy. That appears consistent with an underlying config-bridge failure being surfaced as an enterprise restriction.Requested fix: treat missing/empty requirements as unconstrained, and report the original policy/config bridge error instead of converting all read failures into an enterprise-network-policy denial.
I experienced the same externally visible failure on the Windows Microsoft Store build:
The in-app browser could display the page when navigated manually, but the agent could not navigate, read the title, or inspect the DOM. It happened for every tested domain, including
example.com.In my case, this was not an actual Chrome enterprise policy. It was caused by the Codex/ChatGPT Store package being physically installed on a secondary drive.
Important caveat: I cannot confirm that this issue has the same root cause because the original report does not show the package’s physical installation volume or the bundled-plugin synchronization logs. However, this is worth checking before treating the message as a real organization-managed network policy.
How I diagnosed it
PowerShell initially reported a normal-looking path under
C:\Program Files\WindowsApps, but that directory was actually a junction toD:\WindowsApps:The bundled marketplace source also had the
Encrypted/Application Protectedattribute:The desktop logs repeatedly contained events such as:
There were also
copyfilefailures while copying files from the protected Store package into:My broken state looked like this:
This explains why the UI and browser pane could exist while agent-side Browser Use failed before it could read page content.
Workaround that fixed it
I used the following procedure:
C:..codexdirectory:%USERPROFILE%\.codex\.tmp\bundled-marketplaces%USERPROFILE%\.codex\plugins\cache\openai-bundled%USERPROFILE%\.codex\chrome-native-hosts-v2.json%LOCALAPPDATA%\OpenAI\Codex\runtimesC:.D:\WindowsApps.Do not take ownership of or change permissions on
D:\WindowsAppsorD:\WpSystem. Also do not delete the entire.codexdirectory, because it may contain authentication, sessions, memories, skills, and other personal state.Result
I tested before and after using the same Codex/ChatGPT desktop version,
26.721.3404.0.After reinstalling the package on the system drive:
Browser Use then successfully opened and read:
Therefore, at least in my environment, the “enterprise network policy” message was the observed Browser Use failure, while the underlying local cause was failed bundled-plugin/runtime initialization from an Application-Protected Store package on a secondary drive.
If the reporter’s package is also physically located on a non-system Store volume, reinstalling it on the Windows system drive may be a useful workaround. If it is already physically installed on
C:with no marketplace/runtime copy failures, then this is likely a different cause and still needs investigation by the Codex team.Fresh reproduction on the current Windows Codex Desktop build. The externally visible error wording has changed from the earlier “enterprise network policy blocks it” message, but the failure still appears to be the same policy-verification class.
Environment
OpenAI.Codex_26.803.5235.0_x64__2p2nqsd0c76g0openai-bundled/browser/26.803.4151510.0.26200.0, x64Minimal reproduction
https://help.openai.com/.Actual error
No policy bypass or alternate browser-control workaround was attempted.
Expected behavior
Browser Use should load an ordinary public OpenAI support page, or return an actionable policy source/remediation path. A policy verification failure should not be surfaced as an unexplained admin-enforced denial.
Impact
Browser automation is unusable for the requested task. In this case, the same failure also blocked opening the OpenAI support page needed to report the Browser Use bug through the normal support route.
No workspace paths, account identifiers, session IDs, or private browsing data are included in this report.
Additional Windows reproduction with a proxy-specific root cause.
Environment: personal Windows PC (not enterprise-managed), Codex Desktop, local HTTP proxy on 127.0.0.1:7897, Node runtime v24.15.0.
Observed sequence:
This suggests that at least one failure mode behind the "admin-enforced policy" message is unavailable policy verification caused by proxy inheritance/path handling, rather than an actual administrator policy. The error should distinguish policy denial from policy-service network failure and expose the effective proxy/network path. The first-turn reconnect workaround should also not require a global fixed proxy that silently changes the browser runtime's network behavior. Related: #23504.
通过阅读你的评论,我解决了问题。
在 C:\Users\antho\.codex\config.toml 的 [mcp_servers.node_repl.env] 下加入:
HTTP_PROXY = "http://127.0.0.1:7897"
HTTPS_PROXY = "http://127.0.0.1:7897"
NODE_USE_ENV_PROXY = "1"
这让 Browser Use 的 Node 运行时也通过你的本地代理访问策略服务。
不知道是否可以在不开启代理的情况下也能进行浏览器的控制?
Fresh Windows reproduction on the current Codex Desktop build, with evidence that this is not Chrome-specific.
Environment
26.825.3734.026.825.314141.2.27268.51612Reproduction
Recovery already attempted
Repair, Reset, complete app reinstall, app/browser restarts, and extension reinstall did not resolve it.
Important local finding
The reinstall left a user-level
CODEX_CLI_PATHoverride pointing to a version-hashedcodex.exethat no longer exists. The current bundled CLI exists under a different hash and runs successfully. This matches the stale-path root cause reported in the discussion here and in #21955.I am removing the dead override and restarting Codex to verify the documented repair. Even if that resolves this machine, the app should validate an environment-supplied CLI path before selecting it, and Repair/Reset/reinstall should not preserve a dead override that gets surfaced as an admin-policy failure. The error should identify the missing CLI/config bridge directly instead of reporting an unverifiable enterprise policy.
This blocks authenticated business web workflows across browser backends; no site/customer data is included here.
Verified resolution on this Windows machine.
The root cause was the stale user-level
CODEX_CLI_PATHoverride identified above. It pointed to a version-hashedcodex.exethat no longer existed after the app update/reinstall, while the current bundled CLI existed under a different hash.Repair applied
CODEX_CLI_PATHoverride.Post-restart verification
CODEX_CLI_PATH: unset.https://example.com/, read the title, and read the page DOM.This also explains why Repair, Reset, and a full reinstall did not help: they preserved the dead user environment override. Recommended product fix remains to validate an environment-supplied CLI path before using it, ignore or clean up a nonexistent override during Repair/Reset/reinstall, and surface a direct CLI/config-bridge error instead of the misleading admin-policy message.