Repository navigation
Description
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 reportswin32. - 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
- Enable Work public internet access in Settings.
- Finish the current code run, then send a new message in the affected Work conversation.
- Inspect that conversation's effective runtime policy, rather than inferring it from a local configuration file.
- 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. - 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 disconnectederrors 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_reviewescalation, 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 1returnsconnection_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
github-actions commentedon Oct 19, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
klperch-hub commentedon Oct 24, 2026
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
CODEX_SANDBOX_NETWORK_DISABLED=1.workspace-write, restricted networking, and granular approval settings with sandbox escalation disabled. This differs from the original report'sapproval_policy=never.socket.getaddrinfo("example.com", 443)fails withgaierror, errno 11001.https://example.com/, with an eight-second timeout, fails at DNS resolution.127.0.0.1on 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.These diagnostic commands did not change environment variables or security settings. Binding alone is therefore not sufficient evidence that loopback networking works.
Environment
codex-cli --version: 0.164.0-alpha.11.1. This is not asserted to be the desktop product version.Narrowed investigation, not a claimed root cause
At public source snapshot
970111f6cb62cc02fe36a82ea7d71b37a2889c97:sandbox_context.permissionswhen preparing the Windows sandbox.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.
brianlaughlin commentedon Nov 26, 2026
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:
Actual: the flag prints
1and Python returnssocket.gaierror: [Errno 11001] getaddrinfo failed. The Work session reports a managedworkspace-writeprofile 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.
erin496-boop commentedon Nov 29, 2026
Additional reproduction on Nov. 29, 2026:
https://api.guildwars2.com/v2/buildfailed in the Work shell withNo such host is known (api.guildwars2.com:443). No HTTP status or response body was received.Managed execution requires a usable CODEX_CLI_PATH, so the shell runner handled the request.No API key or files were used. I can’t determine whether this reproduction shares the same root cause as the reports above.