Skip to content

Bug: In-app browser fails with missing sandboxPolicy runtime field #33449

Closed as duplicate

Description

@lauramiro

Summary

The Codex in-app browser is failing because the runtime reports a missing sandboxPolicy field. This appears to be a Codex host/runtime issue rather than an issue with my local app.

What I tried

  1. Restarted the Codex app.
  2. Opened the repository in a fresh Codex session.
  3. Started the app normally with npm run dev.
  4. Opened http://localhost:3000 in a regular browser, where the app works.
  5. Retried the in-app browser after the restart/new session.

Expected behavior

The in-app browser should open and interact with http://localhost:3000 without requiring any undocumented runtime field.

Actual behavior

The in-app browser fails with this error:

Mcp error: -32602: js: codex/sandbox-state-meta: missing field `sandboxPolicy`
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

    appIssues related to the Codex desktop appbrowserbugSomething isn't workingsandboxIssues related to permissions or sandboxing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions