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.
19 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.