openai/codex · error

managed networking requires the elevated Windows sandbox bac

Error message

managed networking requires the elevated Windows sandbox backend

What it means

Error "managed networking requires the elevated Windows sandbox backend" thrown in openai/codex.

Source

Thrown at codex-rs/windows-sandbox-rs/src/unified_exec/mod.rs:75

            request.cwd,
            request.env_map,
            request.proxy_enforced,
            request.network_proxy_restricting_sid,
            request.proxy_settings_mode,
            request.timeout_ms,
            request.read_roots_override,
            request.read_roots_include_platform_defaults,
            request.write_roots_override,
            request.deny_read_paths_override,
            request.deny_write_paths_override,
            request.tty,
            request.stdin_open,
            request.use_private_desktop,
        )
        .await
    } else {
        if request.proxy_enforced {
            bail!("managed networking requires the elevated Windows sandbox backend");
        }
        if request.network_proxy_restricting_sid.is_some() {
            bail!("network proxy restricting SID requires the elevated Windows sandbox backend");
        }
        spawn_windows_sandbox_session_legacy(
            request.permission_profile,
            request.workspace_roots,
            request.codex_home,
            request.command,
            request.cwd,
            request.env_map,
            request.timeout_ms,
            request.deny_read_paths_override,
            request.deny_write_paths_override,
            request.tty,
            request.stdin_open,
            request.use_private_desktop,
        )

View on GitHub (pinned to 339751715c)

Solutions

  1. Enable the elevated Windows sandbox backend, or disable managed networking for this request.

When it happens

Trigger: Thrown at codex-rs/windows-sandbox-rs/src/unified_exec/mod.rs:75 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of openai/codex@339751715c (2026-08-25). Data as JSON: /api/errors/fb48fe5b0e40fb93. Report an issue: GitHub.