Skip to content

ChatGPT Work on Windows remains network-restricted and rejects read-only MCP approval despite enabled internet access #55336

Open

Description

@albertzhize

Summary

In ChatGPT Work on Windows, an existing Work conversation repeatedly runs with effective approval_policy=never, sandbox_mode=workspace-write, and restricted network access despite the user confirming Settings > Data controls > Work network access > Allow public internet access is enabled.

This produces two independent blockers: ordinary HTTPS connections fail with EACCES, and connected Supabase read-only SQL is rejected before execution because approval is required but the effective policy is never. A local Codex conversation on the same computer succeeds through its supported automatic approval path.

Environment and scope

  • Reproduced October 19, 2026; related failures were also observed October 16.
  • Windows, PowerShell, Node.js HTTPS probes.
  • Affected surface: an existing ChatGPT Work conversation using a connected Windows computer; orchestration is reported as durable, while the command itself reports win32.
  • Exact desktop product build was not established. Chromium/Electron executable version metadata is not being presented as the app product version.
  • This is not a claim that Codex CLI itself reproduces the Work issue.
  • Sites and Supabase plugin permissions both report “Use my default”; the global default is “Allow low-risk actions”.
  • No explicit approval policy or network policy was found in the inspected local config.toml; inspected standard managed requirements files were absent. Cloud/organization effective policy has not been established.

Reproduction

  1. Enable Work public internet access in Settings.
  2. Finish the current code run, then send a new message in the affected Work conversation.
  3. Inspect that conversation's effective runtime policy, rather than inferring it from a local configuration file.
  4. Run a credential-free Node HTTPS HEAD probe to the Sites Git host (https://git.chatgpt-team.site/) and to an ordinary public HTTPS site.
  5. Through the connected Supabase tool, execute only SELECT 1 AS connection_ok;.

Actual results

The affected Work conversation was explicitly re-tested once per target:

  • Effective policy still reports approval_policy=never, sandbox_mode=workspace-write, network restricted.
  • Both HTTPS probes return EACCES, before TCP or TLS connection; there is no HTTP response.
  • Supabase SELECT 1, and a separate aggregate-only query, both fail with:
    MCP tool call requires approval, but approval policy is never
  • No approval card/path is offered to resolve the SQL rejection.
  • The command executor was healthy during this latest check (command completed, exit 0). Earlier exec-server transport disconnected errors are a separate symptom, not evidence of the cause of the permission failures.

Same-machine control

In a separate local Codex conversation:

  • Restricted execution reproduces EACCES.
  • With supported auto_review escalation, the Sites Git host completes TLS (unauthenticated root HEAD returns HTTP 400), and the public site returns HTTP 200.
  • The installed official Sites source helper successfully authenticates and synchronizes the repository using a fresh credential passed only through hidden stdin.
  • Connected Supabase SELECT 1 returns connection_ok=1.

This establishes that the services and an authorized local path work; it does not establish that the affected Work environment has recovered.

Expected behavior

The Work UI should make the effective network and approval policy clear. If higher-priority policy prevents the enabled internet setting from applying to the connected executor, show that restriction and the supported remediation. A read-only plugin action that requires approval should have an available supported approval path, or return an actionable explanation rather than leaving an existing Work conversation stuck in the never/approval-required combination.

Please investigate whether stale environment policy, policy propagation/precedence, or a Work-to-local-executor approval mapping accounts for this mismatch. No root cause is asserted here.

Possibly related, but not confirmed duplicates: #29915 and #45237.

Privacy

No access tokens, repository credentials, account/session/project identifiers, user database rows, student data, or raw logs are included. The original source patch and local work have been preserved.

Activity

  1. added
    bug
    windows-os
    mcp
    sandbox
    connectivity
    on Oct 19, 2026
  2. klperch-hub commented on Oct 24, 2026

    @klperch-hub

    Additional observations from a separate affected Windows Work conversation, tested on 24 October 2026. These resemble this report; a shared root cause has not been established.

    Observed behaviour

    • The user reports that Work network access → Allow public internet access was already enabled.
    • Fresh shell commands still receive CODEX_SANDBOX_NETWORK_DISABLED=1.
    • The effective session reports workspace-write, restricted networking, and granular approval settings with sandbox escalation disabled. This differs from the original report's approval_policy=never.
    • Python socket.getaddrinfo("example.com", 443) fails with gaierror, errno 11001.
    • One unauthenticated HTTPS HEAD request to https://example.com/, with an eight-second timeout, fails at DNS resolution.
    • Binding an IPv4 listener to 127.0.0.1 on an ephemeral port succeeds. Connecting to that same listener from a client in the diagnostic process fails with WinError 10013; the listener receives no connection.
    • Desktop logs confirm app restarts, followed by further restricted executions. Restarting did not resolve this conversation's problem.

    These diagnostic commands did not change environment variables or security settings. Binding alone is therefore not sufficient evidence that loopback networking works.

    Environment

    • Desktop build number from app logs: 21828.
    • Bundled codex-cli --version: 0.164.0-alpha.11.1. This is not asserted to be the desktop product version.
    • Windows build 26300.9711, reported display version 26H2.
    • Recent sandbox logs select MXC.
    • No explicit networking or approval restriction was found in the inspected user/project config files. The inspected standard local requirements files were absent. This does not exclude an app-supplied or higher-priority policy.
    • A successful control test in a separate local Codex conversation has not been established for this machine.

    Narrowed investigation, not a claimed root cause

    At public source snapshot 970111f6cb62cc02fe36a82ea7d71b37a2889c97:

    This suggests inspecting the handoff between the Work setting and the attached executor's resolved policy. It does not establish why the restricted profile was supplied.

    It would help to expose the requested network preference, resolved permission, policy source, and policy revision in diagnostics. Regression coverage should exercise setting changes, reconnect, and resume, including both an enabled preference without an overriding denial and an explicit higher-priority denial that remains enforced and explained.

    No validated fix is claimed. No raw logs, private paths, account/session identifiers, or credentials are included.

  3. brianlaughlin commented on Nov 26, 2026

    @brianlaughlin

    I reproduced the shell networking failure on Windows on Nov. 25, 2026. The Work network access toggle was visibly enabled in Settings → Data controls. The same Python API helper completed an authenticated read from standalone Codex CLI on the same PC. In ChatGPT Work, the helper failed at DNS resolution before any HTTP response. Restarting the Work harness did not change the result.

    Credential-free reproduction in the Work PowerShell executor:

    $env:CODEX_SANDBOX_NETWORK_DISABLED
    python -c "import socket; print(socket.getaddrinfo('www.microsoft.com', 443))"

    Actual: the flag prints 1 and Python returns socket.gaierror: [Errno 11001] getaddrinfo failed. The Work session reports a managed workspace-write profile with restricted networking. PowerShell is 7.6.9 and the Windows build family is 26300. The desktop app version could not be verified from the affected shell.

    Expected: the Work shell can resolve public hosts when the toggle is enabled, or the app explains which policy takes precedence if the executor must remain restricted. The same-machine CLI result may help narrow the investigation to how Work selects or passes the network policy to the Windows executor.

  4. erin496-boop commented on Nov 29, 2026

    @erin496-boop

    Additional reproduction on Nov. 29, 2026:

    • ChatGPT desktop 26.1120.50957 on Windows 10 Home 26H2 (OS build 26300.10075).
    • Work network access was enabled. A fresh Work run still failed after the recommended off/30-second/on toggle cycle.
    • A single unauthenticated GET to https://api.guildwars2.com/v2/build failed in the Work shell with No such host is known (api.guildwars2.com:443). No HTTP status or response body was received.
    • The managed JavaScript runner reported Managed execution requires a usable CODEX_CLI_PATH, so the shell runner handled the request.
    • The desktop composer showed no Local/Cloud selector, so I could not verify the execution target.

    No API key or files were used. I can’t determine whether this reproduction shares the same root cause as the reports above.

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

    bugconnectivitymcpsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions