Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
codex-cli 0.163.0
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
Codex Cloud environment has restricted internet (Package managers) enabled, but the platform-managed proxy http://proxy:8080 is unreachable from tasks. proxy resolves to varying private IPs (e.g., 172.31.x.x), but any request (including allowlisted https://github.com) fails immediately with curl: (7) Failed to connect to proxy port 8080 / HTTP 000. Reproduces in brand-new tasks after republish. Env ID: ccarenv_b64_Y2NhcmVudl8wZWY4MmI2Zjk0OGM4MTkxOTBmOTQzMGM0YjRkMmI4YQ. Task URL: https://chatgpt.com/local/01a1692d-4445-73a8-b096-6cd01fc28065 (around 2026-10-23 14:34 UTC).
What steps can reproduce the bug?
Create/open Codex Cloud environment for zeevtur/JobSearch
Turn on Allow Codex to access internet → Allow domains: Package managers (keep additional domain zeevtur.app.n8n.cloud) → Publish
Start a new task from that published environment
In the task terminal, run: curl -sv --proxy http://proxy:8080 https://github.com -o /dev/null
Observe: curl: (7) Failed to connect to proxy port 8080 (HTTP 000) even though proxy resolves and github.com is allowlisted
Env ID: ccarenv_b64_Y2NhcmVudl8wZWY4MmI2Zjk0OGM4MTkxOTBmOTQzMGM0YjRkMmI4YQ
Approx time: 2026-10-23 14:34 UTC
The curl -sv --proxy http://proxy:8080 https://github.com -o /dev/null output and the /etc/codex/network-policy.json proxy fields
What is the expected behavior?
No response
Additional information
No response
Activity
zeevtur commentedon Oct 23, 2026
Env ID: ccarenv_b64_Y2NhcmVudl8wZWY4MmI2Zjk0OGM4MTkxOTBmOTQzMGM0YjRkMmI4YQ
Task URL: https://chatgpt.com/local/01a1692d-4445-73a8-b096-6cd01fc28065
Approx time (UTC): 2026-10-23 14:34
Output of curl -sv --proxy http://proxy:8080 https://github.com -o /dev/null
Confirmation it reproduces in a brand-new task after republish
zeevtur commentedon Oct 23, 2026
cat /etc/codex/network-policy.json | head -n 50
{
"version": 1,
"vpn_configured": false,
"http_proxy": "http://proxy:8080",
"http_network_policy": {
"type": "restricted",
"egress_rules": [
{
"host": "aka.ms"
},
{
"host": "api.nuget.org"
},
{
"host": "apt.buildkite.com"
},
{
"host": "apt.llvm.org"
},
{
"host": "archive.apache.org"
},
{
"host": "archive.ubuntu.com"
},
{
"host": "auth.docker.io"
},
{
"host": "azuresearch-usnc.nuget.org"
},
{
"host": "azuresearch-ussc.nuget.org"
},
{
"host": "bcr.bazel.build"
},
{
"host": "bitbucket.org"
},
{
"host": "buf.build"
},
{
"host": "builds.dotnet.microsoft.com"
},
{
"host": "builds.hex.pm"
},
{
zeevtur commentedon Oct 23, 2026
env | egrep -i 'http_proxy|https_proxy|no_proxy'
no_proxy=localhost,127.0.0.1,::1
https_proxy=http://proxy:8080
NO_PROXY=localhost,127.0.0.1,::1
HTTPS_PROXY=http://proxy:8080
HTTP_PROXY=http://proxy:8080
http_proxy=http://proxy:8080