Browser access denied despite “Always allow” permission and explicit origin allow configuration
Environment
- Codex Windows package: 26.1007.9446.0
- Windows: 24H2, build 26100.9711
- Local website: http://127.0.0.1:4364/
- Failed browser automation attempt used the connected Microsoft Edge provider.
Steps
- Set Settings → Browser → Agent permissions to “Always allow” for this exact origin.
- Restart Codex.
- Ask Codex to open the local website for visual inspection.
Expected
Codex can access the explicitly approved origin.
Actual
Browser automation is rejected before navigation: “Origin approval gate did not grant access.” “Saved permission or managed policy denies access.”
The local config confirms:
[browser_use.origins."http://127.0.0.1:4364"]
access = "allow"
downloads = "allow"
uploads = "allow"
The rejection does not identify which setting or policy is responsible. I have not established whether a managed policy applies.
Already checked
- The permission screenshot and local configuration both show access allowed.
- Restarting the application did not resolve the issue.
- Available desktop logs did not explain the rejection.
How can I inspect the effective browser-origin policy and recover access through the supported workflow?
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
- #53031
- #53744
- #53025
- #53364
- #53493
Powered by Codex Action
Title: Codex app denies localhost browser access despite Always allow on personal account
Codex App version
Last reported version: 26.1007.30912, build 20156, prod.
Subscription
Personal account; specific plan tier not supplied. Not a managed Business/Enterprise workspace.
Platform
macOS 26.3.1 (a), build 25D771280a.
Issue
Agent browser access to http://127.0.0.1:63027 is denied despite Settings > Browser > Website permissions showing Browsing: Always allow and Downloads: Always allow for that exact origin.
Error: "Browser Use rejected this action due to browser security policy. Reason: A saved user permission setting blocks this action. Browser use could not acquire authority to trigger network egress. The origin approval gate did not grant access for http://127.0.0.1:63027. A saved permission or managed policy denies access."
Reproduction observed
- Set the exact localhost origin to Always allow in Codex browser permissions.
- Ask the agent to open a local preview at that origin in the in-app browser.
- Agent browser tool rejects access with the error above.
- Resetting the permission entry and restarting Codex did not resolve it.
Expected behavior
The explicitly permitted origin should be accessible, or the denial should identify the effective overriding rule and how a personal-account user can resolve it.
Diagnostics
The owner manually opened chrome://policy in the Codex browser. Screenshots show No policies set under Chrome Policies, Policy Precedence, Extension Install Policies, and Google Update Policies. The permission screenshot separately confirms Always allow for the exact origin. The issue was observed on October 21, 2026, America/New_York. A targeted search of that day's desktop logs did not identify the denying rule. The root cause is unconfirmed: permission synchronization or another enforcement layer may be involved. Raw session transcripts and app logs are omitted from this public report because they may contain private project data. Please specify a minimal diagnostic and private submission channel if needed.
Related user report: persistent browser permission prompts in a Windows development workflow.
I use Codex with VS Code and an external Chrome browser/MCP integration for visual checks of local websites. Even after explicitly allowing browser access (including choosing the persistent / “Always allow” option where offered), the agent sometimes asks again on subsequent attempts. I can grant access, return to a task, and encounter another prompt for the same browser workflow. On other attempts, it works normally.
The general Full Access option was enabled, too, but I understand filesystem/command sandbox access and browser-origin permissions are distinct controls; I am not assuming Full Access should bypass site-safety checks.
Expected: already-granted browser permissions should be applied consistently within their actual scope, and any separate or overriding restriction should be explained clearly (per-chat, per-origin, MCP bridge, or managed policy).
Impact: recurring approvals interrupt unattended frontend testing and leave tasks unfinished until I return to the machine.
Evidence limits: this case uses VS Code + external Chrome/MCP, while the original report uses Codex desktop + Edge. I have not collected a browser bridge trace or exact extension version, and cannot claim the same root cause. Please document which permission layer is prompting and what diagnostics users should capture.