[Windows][ChatGPT Work] New project session blocks DNS and HTTPS for a local CLI under managed workspace-write
What version of the Codex App are you using?
Windows Microsoft Store package OpenAI.Codex 26.1117.4957.0 (x64), verified from the installed package registration. The bundled executable reports codex-cli 0.171.0-alpha.13.
What platform is your computer?
Windows x64, using ChatGPT Work with a local PowerShell 7.6.9 executor in a project.
What issue are you seeing?
A new project conversation uses a managed workspace-write profile with network access restricted. The local shell reports CODEX_SANDBOX_NETWORK_DISABLED=1. DNS resolution returns Windows error 5 (Access is denied) and outbound HTTPS fails with a socket access-permission error before any HTTP response. This blocks a local document integration that needs HTTPS.
In this case, queries for the text of two Kingsoft Docs documents through kdocs-cli 2.9.0 both failed with lookup mcp-center.wps.cn: no such host. An explicit DNS probe of that hostname returned Access is denied. The CLI separately reports authenticated: false. The requests never reached the service and this test did not establish document sharing permissions or whether authentication alone would allow access.
What steps can reproduce the bug?
-
Start a new ChatGPT Work conversation in a local project on Windows using the managed workspace-write profile.
-
Ask the assistant to run the following commands in the session's PowerShell executor:
$env:CODEX_SANDBOX_NETWORK_DISABLED Resolve-DnsName -Name 'mcp-center.wps.cn' -DnsOnly Invoke-WebRequest -Uri 'https://www.kdocs.cn/' -Method Head -
In the affected session, the first command returned
1and the second returned Access is denied. The HTTPS probe above uses the public site as a substitute for the private links used in the original test. Both original HTTPS requests failed with a socket permissions error.
What is the expected behavior?
If the effective permission profile allows outbound networking, DNS and HTTPS should work for local tools. If a managed policy intentionally disables networking, the client should show the effective setting and its source in the new conversation so users can identify why an integration cannot connect.
Additional information
I verified the effective restriction but did not verify the UI network setting or which configuration layer selected the policy. Related reports: #61114 and #55828. This report records a later Windows build and a reproducible failure for a local CLI. Private document links and local identifiers are omitted.
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
- #62967
- #62291
- #61794
Powered by Codex Action
Same problem. This is probably a bug introduced by recent update. The DNS lookup fails in new sessions. But it still works in old sessions created a few days ago.
Following an update, this issue still exist, which create a huge inconvenience to me since I cannot work normally in a new chat. Why this disgusting bug hasn't been fixed yet and you are still messing up with manipulating the rate of usage!
This is still blocking real work on Windows. In another ChatGPT Work project session, I asked Codex to launch five training jobs through the project's configured Paseo connection. Zero of the five jobs started. The failure happened before Codex could even inspect the remote machine.
Two independent read-only Paseo commands, daemon status --json and terminal ls --json, returned the same underlying socket error:
connect EACCES 127.0.0.1:7897
That address is the configured local relay proxy. A retry of the status check with elevated sandbox permissions was rejected immediately because the session had sandbox_approval: false. I had explicitly requested the connection, yet the client gave me no approval prompt. The CLI reported DAEMON_UNREACHABLE, even though the observed denial occurred on the local proxy connection. The remote daemon's status could never be checked.
The original report documented DNS and HTTPS denials. This occurrence adds a numeric loopback address, so troubleshooting remote DNS alone cannot account for this failure. Please investigate how Windows Work sessions select and expose their effective network and approval policies. A configured integration that fails on its first socket call, with no actionable recovery in the session, is unacceptable for a development client.
Please triage this as a workflow blocker and provide a concrete answer. Is loopback proxy access intentionally denied under this profile? Which setting selected that profile for this session, and what supported action can a user take to restore access? If the policy is intentional, show its source and recovery path in the session. If the client applied it incorrectly, please fix the profile selection and add a Windows regression test that covers a CLI connecting through a loopback proxy.