Skip to content

Browser access remains denied on Linux after allowing local development site in Chrome/Brave #56734

Closed

Description

@rahulgope45

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

Version 26.1021.22027

What subscription do you have?

Pro

What platform is your computer?

OS: CachyOS Linux

What issue are you seeing?

Summary
Codex cannot interact with my local development website through its browser tools, despite me explicitly allowing access.

I initially tried Brave with the browser extension installed, then installed Google Chrome and tried again. Browser access remained blocked. Restarting the Codex app and retrying did not resolve it.

The site works when I open it manually. This prevents Codex from inspecting pages, interacting with controls, and verifying frontend changes.

What steps can reproduce the bug?

Steps taken

  1. Started my local web application.
  2. Opened it at http://dev-lab.localhost:41591. (Make it any local program)
  3. Installed the browser extension in Brave and connected the browser to Codex.
  4. Asked Codex to inspect and interact with the application.
  5. Browser tools reported that access was denied.
  6. Added the development site to the available “always allowed” site setting.
  7. Retried browser access, but Codex still reported a denial.
  8. Restarted the Codex app and retried.
  9. Installed Google Chrome, connected it, and retried there.
  10. Access remained blocked.

could not find the blocked-site or “Computer use” settings that the agent suggested checking. It was unclear which settings controlled extension site access versus Codex’s own browser permissions.

What is the expected behavior?

Expected behavior
After I explicitly grant browser access to the development origin, Codex should be able to inspect and interact with that site.

If a separate Codex permission still blocks access, the app should identify that permission and provide a clear way to review or change it.

Actual behavior
Codex continues to report browser access as denied after permission changes and an app restart.

Switching from Brave to Chrome did not resolve the issue in this session.

The website itself remains accessible manually. Later development checks also confirmed that the frontend returned HTTP 200, so the local server was running.

Additional information

Diagnostic observation
During troubleshooting, the agent reported that the affected origin remained listed under origins.denied in this chat’s browser session policy file:
~/.codex/browser/sessions/.toml
Reported denied origin:
http://dev-lab.localhost:41591
The permission file was not modified manually.

This suggests a possible mismatch between the permission I granted through the UI and the policy used by browser tools. That is a hypothesis, not a confirmed root cause. I also cannot confirm whether the setting I changed was the authoritative Codex permission or only the browser extension’s site-access setting.

Image

An alternative port, 5177, was discussed during troubleshooting, but I do not have a confirmed result establishing whether changing the port affects this issue.
Impact
Codex can edit code and run local commands, but cannot complete browser-based verification. I have to manually inspect frontend changes and report problems back, which significantly slows the workflow.

Questions for maintainers

  • Which permission setting is authoritative for browser-tool origin access?
  • How can a user clear a previously denied origin through supported UI?
  • Should allowing an origin update an existing chat’s browser session policy immediately?
  • Are there special restrictions for HTTP development origins using *.localhost?
  • What sanitized logs would help diagnose this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Linuxappbrowserbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions