Skip to content

[Windows / ChatGPT Work] Executor runs as CodexSandboxOffline with approval_policy=never despite internet access enabled; SharePoint downloads fail with WSAEACCES #55828

Open

Description

@admin-iditac

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

26.1013.4894.0 (installed package OpenAI.Codex_26.1013.4894.0_x64)

What subscription do you have?

ChatGPT Business (Pro)

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

In a ChatGPT Work conversation on Windows, the local executor runs as user CodexSandboxOffline with CODEX_SANDBOX_NETWORK_DISABLED=1, sandbox workspace-write and approval_policy=never, even though:

  • Work public internet access is enabled in Settings.
  • Automatic approval is selected in the UI.
  • config.toml is valid and contains [sandbox_workspace_write] with network_access = true.

Consequence: the SharePoint connector finds documents and returns valid references to their bytes, but downloading them to the Windows executor fails immediately with WSAEACCES ("An attempt was made to access a socket in a way forbidden by its access permissions") against oaiusercontent.com:443. Managed materialization returns a signed URL, and downloading it fails the same way. Uploading a local file to SharePoint works (size and hash verified afterwards).

The approval selector disappears after the first message, so there is no way to inspect or change permissions on a chat that has already started.

What steps can reproduce the bug?

Feedback ID: fea22130-d9fe-4475-88ec-dc7b4bebf0d9

What is the expected behavior?

The executor should run with network access when Work internet access and network_access=true are enabled. If a higher-priority policy overrides those settings, the UI should show which policy applies, where it comes from, and how to change it, including for chats that have already started.

Additional information

Possibly the same root cause as #55336 (same symptoms on Windows) and #54837 (same symptoms on macOS with a nearly identical build, 26.1013.40934, logs showing sandboxPolicySource=default). This suggests the problem is not specific to this machine.

No credentials, signed URLs, customer documents or full logs are included.

Activity

  1. added
    app
    on Oct 21, 2026
  2. added
    bug
    windows-os
    sandbox
    connectivity
    on Oct 21, 2026
  3. jwal485 commented on Oct 21, 2026

    @jwal485

    I'm experiencing the same issue on Windows following the latest Codex desktop update.

    Steps to reproduce:

    1. Open an existing Git repository.
    2. Start a new chat using New worktree.
    3. Codex fails with: Cannot serialize value: (couldn't stringify value).

    What I've tested:

    • Happens with all models.
    • Starting new chats using This computer works normally.
    • Existing chats continue working.
    • Starting a local chat and then handing it off to a New worktree works successfully.
    • The issue started immediately after updating Codex.

    This suggests the problem is specifically with initialising a new chat directly in worktree mode, rather than worktree creation itself.

    Workaround confirmed: Start the chat locally, then use Hand off → New worktree.

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

    appbugconnectivitysandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions