Skip to content

Cloud sandbox restrictions block dependency installation and Chromium startup #53187

Open

Description

@deadlydud

Impact

This is a showstopper for our workflow. We cannot install required dependencies or use browser automation, preventing us from completing our work in this cloud environment.

The intended task was to install yt-dlp and faster-whisper in an isolated Python virtual environment, download audio from two YouTube videos while respecting access restrictions, convert it with ffmpeg, and transcribe it. The browser transcript fallback also failed before page navigation.

Environment and observed failures

This is a managed Linux cloud environment with a workspace-write command sandbox, not a confirmed reproduction on a particular standalone Codex CLI release. The CLI version was not collected.

At the latest status check, the environment service reported running, connected, observations_current=true, network_policy.mode=unrestricted, and network_policy.state=enforced.

Package installation failed with:

ProxyError: Cannot connect to proxy
Failed to establish a new connection: [Errno 1] Operation not permitted

A subsequent ordinary Python urllib request to https://pypi.org/simple/yt-dlp/ failed with:

URLError: <urlopen error [Errno 1] Operation not permitted>

A scoped network-enabled installation retry was requested but canceled by the user. It therefore does not establish whether a granted network permission would resolve package installation.

Chromium startup failure

Playwright launched /usr/bin/chromium headlessly. Chromium terminated before opening a page. The startup log reported:

third_party/crashpad/crashpad/util/linux/socket.cc:45
setsockopt: Operation not permitted (1)

The process then exited with SIGTRAP.

Separate minimal tests in the ordinary command sandbox confirmed that both Internet socket creation and setsockopt(SOL_SOCKET, SO_PASSCRED) on a local Unix socket pair fail with [Errno 1] Operation not permitted.

Run each example separately:

import socket
socket.socket(socket.AF_INET, socket.SOCK_STREAM)
import socket
a, b = socket.socketpair()
a.setsockopt(socket.SOL_SOCKET, socket.SO_PASSCRED, 1)

Related report

These browser symptoms closely match #47452, which reports a Linux sandbox filter blocking Chromium's local startup communication. This suggests a related compatibility issue, although we have not confirmed the underlying implementation cause in our managed environment. The network restriction and browser startup failure may require separate fixes.

Requested resolution

Please investigate the effective command permissions and Chromium startup failure, and provide a supported way to run dependency installation and browser automation in this environment. It would also help if the environment status clearly distinguished its network policy from the permissions actually applied to commands.

We are comfortable with a complete reset and recreation of the virtual machine for this cloud instance if that would help resolve the issue. We suspect an initialization or configuration problem during the initial setup, but this remains unconfirmed. A fresh environment would help determine whether the failures are specific to this instance or reflect a broader sandbox compatibility issue.

No audio was downloaded or transcribed. No production applications or global Python packages were modified. This report describes a blocker for this workflow and instance; it does not establish that all cloud environments are affected.

Activity

  1. added
    bug
    codex-web
    sandbox
    connectivity
    on Oct 11, 2026
  2. github-actions commented on Oct 11, 2026

    @github-actions
    Contributor
  3. deadlydud commented on Oct 11, 2026

    @deadlydud
    Author
  4. yan-oai commented on Oct 13, 2026

    @yan-oai

    Hey @deadlydud would love to help debug this.

    1. You've confirmed that Network is set to Unrestricted in the domain allow list Environment Settings, correct?
    2. Could you please ask the agent for it's environment ID and share it with me? Also hit /feedback and please share the debug trace
  5. deadlydud commented on Oct 13, 2026

    @deadlydud
    Author
  6. glbookshare commented on Oct 18, 2026

    @glbookshare

    same here, cannot use codex cloud on my plus sub. since days...

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

    browserbugcodex-webconnectivitysandbox

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions