Repository navigation
Description
What version of the Codex App are you using?
Installed Windows package: OpenAI.Codex 26.1016.6573.0 (from Get-AppxPackage *Codex*).
Standalone Codex CLI: v0.163.0.
What platform is your computer?
The issue was first observed on Windows 10 Pro, version 10.0.19045 (x64). The machine was upgraded to Windows 11 on October 21, 2026, and the same Work/Codex Desktop networking failure persists on Windows 11. The exact Windows 11 build number has not been collected.
This is one computer tested before and after the OS upgrade, not two different computers. The standalone CLI v0.163.0 HTTP 200 control and current package version were captured after the upgrade, on Windows 11.
What issue are you seeing?
Local ChatGPT Work and Codex Desktop sessions consistently run with sandbox networking disabled, even though Work network access is enabled in the UI and the user-level Codex configuration requests workspace-write sandboxing with networking enabled.
Direct HTTPS downloads fail inside affected sessions on both Windows 10 and Windows 11. Upgrading the OS did not resolve the problem. Normal Windows PowerShell and standalone Codex CLI using the workspace-write sandbox both reach the same public HTTPS destination successfully. This reproduces across Work/Codex sessions, including a fresh Work session using GPT-6 Luna. In that Luna session, the agent reported that it had no exposed, supported network permission-request mechanism.
This appears to be a desktop/Work effective-permission-policy mismatch rather than a host DNS/TLS failure or a general inability of the Codex sandbox to access the internet. The precise component assigning the incorrect policy is not established.
Relevant configuration
Work Data Controls UI: network access switch enabled (screenshot captured, available on request).
User config.toml (the settings below were verified and initially misplaced keys were corrected before the final retest):
approval_policy = "on-request"
sandbox_mode = "workspace-write"
[windows]
sandbox = "elevated"
[sandbox_workspace_write]
network_access = trueThis configuration is a relevant excerpt, not the full file. In particular, approval_policy and sandbox_mode are top-level settings after correction.
Steps to reproduce
- On Windows, enable Work network access in the desktop application. Configure Codex as above.
- Restart the desktop application and start a fresh local Work or Codex Desktop session.
- Ask the agent to check the effective networking variables and run an ordinary HTTPS request inside its current sandbox, without bypasses:
$env:CODEX_SANDBOX_NETWORK_DISABLED $env:CODEX_PERMISSION_PROFILE $env:CODEX_NETWORK_PROXY_ACTIVE Resolve-DnsName example.com curl.exe -I -L --max-time 15 https://example.com/
- If the request is blocked, ask the agent to request authorized network permission and retry. This was also attempted using GPT-6 Luna.
- Compare with regular Windows PowerShell and standalone Codex CLI:
codex exec --skip-git-repo-check --sandbox workspace-write 'Do not modify files. Check CODEX_SANDBOX_NETWORK_DISABLED, then run curl.exe -I --max-time 15 https://example.com/ using only the configured sandbox permissions. Report the exact results. Do not bypass restrictions.'
Actual behavior
Restricted local Work / Desktop sessions:
CODEX_SANDBOX_NETWORK_DISABLED=1
CODEX_PERMISSION_PROFILE=<unset>
CODEX_NETWORK_PROXY_ACTIVE=<unset>
Resolve-DnsName example.com -> Access is denied
curl.exe ... https://example.com/ -> curl: (6) Could not resolve host: example.com
In the Luna Work session, the model reported no supported network permission-request mechanism among the tools exposed to that session. No approval was requested or granted.
Regular Windows PowerShell, same machine:
Resolve-DnsName example.com: returned A and AAAA records.curl.exe -vL --max-time 20 -o NUL https://example.com/: completed successfully with HTTP 200 OK, including Schannel/TLS negotiation.netsh winhttp show proxy: direct access (no proxy).Get-ChildItem Env:*PROXY*: no matching environment variables.
Standalone Codex CLI, same machine, explicitly using workspace-write:
OpenAI Codex v0.163.0
sandbox: workspace-write (network access enabled)
CODEX_SANDBOX_NETWORK_DISABLED is unset
curl.exe -I --max-time 15 https://example.com/
HTTP/1.1 200 OK
command exit code: 0
The CLI output also showed approval: never for this noninteractive codex exec invocation. It successfully made the request within its assigned sandbox, without bypassing any restrictions or modifying files.
Expected behavior
When Work public internet access and the Codex workspace-write network setting are enabled, a local Work/Codex Desktop session should either:
- Receive the corresponding network-enabled sandbox policy; or
- Expose the supported approval mechanism so the user can authorize a scoped network request.
The actual effective policy should be visible and match the permission options selected in the app, rather than silently assigning CODEX_SANDBOX_NETWORK_DISABLED=1.
Related issues
- Codex Desktop on Windows applies networkAccess=false despite network access being enabled #53278: Codex Desktop on Windows applies
networkAccess=falsedespite enabled settings (also reports working CLI networking). - [Windows / ChatGPT Work] Executor runs as CodexSandboxOffline with approval_policy=never despite internet access enabled; SharePoint downloads fail with WSAEACCES #55828: Windows ChatGPT Work uses
CodexSandboxOfflinedespite Work access/settings enabled. - [Windows][Work] Network permission escalation is model-dependent: Luna succeeds, Astra and GPT-6.1 Sol cannot request access #52098: Work network permission escalation differs by model. In this reproduction, Luna also could not request approval, unlike the successful Luna case in that issue.
Additional information
- No firewall, DNS, certificate, or system security settings were changed.
- No bypass via
curl --resolveor similar was attempted after the restricted policy was identified. - This report contains no private document contents, credentials, signed URLs, or user-local filesystem paths.
Activity
github-actions commentedon Oct 22, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
[-][Windows 10][Work + Codex Desktop] Networking disabled despite enabled settings; standalone CLI HTTPS succeeds (26.1016.6573.0)[/-][+][Windows 10 + 11][Work + Codex Desktop] Networking disabled despite enabled settings; standalone CLI HTTPS succeeds (26.1016.6573.0)[/+]MBUltradent commentedon Oct 27, 2026
This seems to work after updating today to version 26.1023.50603
habr05 commentedon Oct 28, 2026
26.1023.50603 still did not fix on my end.
Animamigrante commentedon Oct 29, 2026
Additional reproduction on 29 October 2026 with ChatGPT desktop version 26.1023.51421 (About screen: “Powered by Codex & OWL”, released 27 October).
Work public internet access is enabled. The same failure was reproduced in three local Work contexts on the same Windows computer:
In all three:
Local DNS resolution of ws.audioscrobbler.com and www.google.com fails with 11001 / HostNotFound in the first two contexts. The third independently reproduces the Google curl failure below.
No HTTP response is received inside Work. In ordinary PowerShell on the same computer, the Last.fm endpoint returns HTTP 400, confirming DNS/TCP/TLS reachability there (not API authentication). The host also has a configured DNS server. Google Drive connector reads/writes work, but those are a separate path and are not evidence of local shell internet access.
Already tried without resolving the issue:
Read-only configuration inspection found no project/ancestor .codex/config.toml overrides. The user config has windows.sandbox="elevated" but no explicit sandbox_workspace_write.network_access setting, so this is not identical to the configuration in the original report. No proxy environment settings were found in the affected process. A timed command/log comparison did not expose the effective policy source or a denial reason.
No firewall, DNS, credentials, permission profiles, or security settings were modified. Work reset and reinstallation have not been performed. Standalone Codex CLI networking has not been tested on this machine.
Could maintainers identify a supported, non-destructive way to inspect the source of the effective local Work network policy and reconcile it with the enabled Work network setting? Is there a fix applicable to 26.1023.51421 that retains filesystem isolation and does not require resetting Work or granting Full Access?
This reproduces the symptom across projects; it does not establish the exact root cause.
tt1o commentedon Nov 5, 2026
Additional reproduction on 2026-11-05 (Asia/Shanghai): this still occurs in Windows ChatGPT Work after updating the desktop package to OpenAI.Codex 26.1029.7803.0. A separately launched Codex CLI succeeds on the same computer with the existing Google authorization.
Environment and configuration
26.1013.4894.0.26.1029.7803.0.codex-cli 0.163.0-alpha.10.2.Actual Work results
Before the update, TCP connections to both
oauth2.googleapis.com:443andbigquery.googleapis.com:443failed withPermissionError / WinError 10013.After the update, a fresh execution still reports:
A local diagnostic wrapper using the official Google auth/BigQuery Python SDKs still fails while refreshing the existing personal Application Default Credentials:
{ "status": "error", "error": "authentication_failed", "message": "Personal ADC could not be loaded or refreshed.", "exception_type": "TransportError" }The wrapper's generic suggestion to log in again is not evidence that the credentials have expired. No
invalid_granterror was observed. The ADC quota-project warning also appeared in the successful CLI control, so it has not been established as the cause.The post-update test stopped after the diagnostic failed; it did not submit a data query or proceed to table metadata retrieval. The direct TCP tests above were performed before the update, not repeated afterwards.
Successful standalone CLI control
The user launched the CLI from an ordinary Windows command prompt with:
The control session recorded
sandbox_policy.network_access=trueand a network-enabled permission profile. Reusing the existing personal Google ADC, the diagnostic returnedstatus=okandrefresh=succeeded, and BigQuery table schema retrieval succeeded.The successful control completed at 2026-11-05 11:23:54 Asia/Shanghai. It only checked authorization refresh and table metadata; no business-data query was executed.
Already attempted and requested resolution
The Work network toggle, local configuration, client restart / another desktop task, standalone CLI control, and desktop update have all been checked or attempted. Work still fails after the update.
This narrows the investigation to Work's effective execution permissions or their handoff, but does not establish whether the cause is stored session permissions, configuration merging, host policy, or another component. The working standalone CLI is a diagnostic control, not a resolution for Work.
Could maintainers identify which policy source disables networking in Work despite the enabled setting, and provide a supported persistent fix that retains workspace filesystem isolation?
Acceptance criterion: the existing authorization can refresh and BigQuery metadata can be read directly in an ordinary Work session, including after restarting the desktop app, without manually launching a separate CLI each time.
No firewall rules, certificate validation, or sandbox protections were disabled for these tests. This report intentionally excludes account emails, credentials, tokens, private filesystem paths, raw private logs, and internal database/table names.