Repository navigation
Description
Summary
A personal Codex Cloud web environment cannot reach its assigned HTTP/HTTPS proxy. DNS resolution succeeds and the destination allowlist is correct, but TCP connectivity to proxy:8080 fails immediately with Operation not permitted. The destination (Vercel) is never reached.
This persists after the general Codex/Work incident on 2026-10-13 was marked resolved.
Failing task
Environment
- Codex Cloud (current web experience, not Legacy)
- Personal ChatGPT Plus account, not Enterprise/Business Agent Security
- Browser: Google Chrome on Windows
- Internet access enabled
- Restricted networking
- No VPN/Tailscale configured
- No proxy secrets configured
Timestamps
- Earlier failed connectivity test: approximately
2026-10-13 16:29:17 UTC /feedback submission: approximately2026-10-13 20:39 UTC; web UI only returned “Thanks for your feedback” and did not return a session ID or share-session option- Fresh post-incident test still failed
Effective network policy
/etc/codex/network-policy.json contains:
{
"version": 1,
"vpn_configured": false,
"http_proxy": "http://proxy:8080",
"http_network_policy": {
"type": "restricted",
"egress_rules": [
{ "host": "*.vercel.app" },
{ "host": "lloqfcnrifsbhqcqmrtt.supabase.co" }
]
},
"tcp_connect_proxy": "http://proxy:8088",
"tcp_network_access": {
"domains": [],
"ip_ranges": []
}
}(The actual policy includes the standard Codex/package/GitHub allowlist entries as well; only the relevant entries are shown here.)
Proxy environment
The runtime reports HTTP/HTTPS proxy configuration pointing to http://proxy:8080, including:
http_proxy=http://proxy:8080
https_proxy=http://proxy:8080
HTTP_PROXY=http://proxy:8080
HTTPS_PROXY=http://proxy:8080
CODEX_EXEC_SERVER_PROXY_PRIVATE_IPS_VIA_UPSTREAM=true
DNS
getent hosts proxy:
172.31.24.189 proxy
Route diagnostic
ip route cannot be inspected in the runtime:
Cannot open netlink socket: Operation not permitted
Connectivity results
Fresh verification after the general Codex/Work incident was resolved:
Proxy DNS: PASS
Proxy TCP :8080: FAIL
Vercel HTTPS through proxy: FAIL
*.vercel.app allowlist: PASS
Vercel reached: NO
Final result: CONNECTIVITY STILL BLOCKED
Direct TCP attempt to proxy:8080 fails with:
PermissionError(1, 'Operation not permitted')
curl -v https://vylix-3olufx6ob-xaznedarbassam-1655.vercel.app uses https_proxy=http://proxy:8080, resolves the proxy to 172.31.24.189, then fails immediately:
Failed to connect to proxy port 8080 after 0 ms: Could not connect to server
curl: (7) Failed to connect to proxy port 8080 after 0 ms: Could not connect to server
curl -v http://proxy:8080 fails identically:
Host proxy:8080 was resolved.
IPv4: 172.31.24.189
Failed to connect to proxy port 8080 after 0 ms: Could not connect to server
curl: (7) Failed to connect to proxy port 8080 after 0 ms: Could not connect to server
Expected behavior
Codex Cloud should be able to reach its assigned HTTP/HTTPS proxy and then enforce the configured restricted destination allowlist. *.vercel.app is explicitly allowed.
Actual behavior
The runtime resolves the assigned proxy but cannot open the connection to proxy:8080; the request never reaches Vercel.
Additional context
OpenAI Support advised that these results fit a Codex Cloud proxy-path/runtime networking problem rather than a Vercel/Supabase or destination-allowlist issue. They also noted that managed controls such as allow_local_binding / allow_upstream_proxy are not exposed in the personal Codex Cloud environment UI.
Please investigate the runtime/upstream proxy connectivity and effective platform-side networking policy for this task/environment. No customer-side repository, Vercel, Supabase, allowlist, or environment changes are being made while this is investigated.
Activity
github-actions commentedon Oct 13, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
usausamikann commentedon Oct 19, 2026
I'm experiencing the same issue in Codex Cloud on October 19, 2026.
Environment
usausamikann/4k_game/workspace/4k_gamehttp://proxy:8080Diagnostic results
1. Git remote access
git ls-remote origin HEAD2. HTTPS request
curl -I --max-time 10 https://github.com3. Proxy configuration
http://proxy:8080.4. DNS and TCP connectivity
proxy→172.31.1.29.172.31.1.29:8080fails withOperation not permitted.5. Network policy
unknown.Additional observation
Interestingly, GitHub operations through a separate ChatGPT GitHub integration were successful, including retrieving the latest
mainand creating a pull request.However, direct Git commands inside the Codex Cloud execution environment consistently failed before reaching GitHub.
This suggests that the failure may be specific to the task runtime's network path or sandbox permissions, rather than GitHub authentication or repository access.
Expected behavior
Codex Cloud tasks should be able to reach their assigned internal proxy and perform authorized GitHub operations.
Actual behavior
The proxy hostname resolves correctly, but TCP connections to port 8080 are denied.
No proxy configuration changes, bypass attempts, or network policy changes were made during diagnosis.
Thank you for investigating this issue.
goliatone commentedon Oct 21, 2026
Confirming the same failure in another Codex Cloud setup (2026-10-20). This reproduces across two cloud environments, including one with a newly published configuration. Internet access is enabled; the effective network policy lists the required GitHub API and package-registry destinations.
Sanitized diagnostic from inside a cloud task:
With inherited proxy and CA settings, unauthenticated HTTPS probes to
api.github.comandregistry.npmjs.orgboth fail identically:A normal Git fetch likewise fails because it cannot reach the proxy (exit 128). No destination-side response or GitHub authentication exchange occurs.
The destination allowlist appears correctly populated; the runtime cannot establish the TCP connection to its assigned proxy before any allowlist rule can be evaluated. Please investigate the cloud task sandbox/network namespace and outbound permission to the managed proxy endpoint.
No proxy bypasses or security-policy changes were attempted. Identifying repository, environment, workspace, account, and task details intentionally omitted.
trentjnichols44-arch commentedon Oct 23, 2026
Additional independent reproduction (2026-10-23 UTC) in Codex Cloud using a personal ChatGPT account, on a separate repository/environment from the original report.
Expected: When the environment UI already has "Allow Codex to access internet" enabled and "Allow domains: Package managers" selected, a read-only npm registry lookup should connect through the assigned managed proxy and retrieve package metadata.
Observed in a fresh task (no changes to settings):
Exited 1 after a single attempt:
Relevant, non-secret effective configuration reported by the task:
The initial implementation task failed identically during a bounded
npmdependency attempt, withconnect EPERM 172.31.5.61:8080. The user confirmed the internet/Package managers UI settings had always been enabled, and made no settings change between the two tasks. The second task was launched separately specifically to isolate the network check. No source modifications or dependency installations were made in the diagnostic task. npm also reported a separate inability to write its log under~/.npm/_logs; this does not account for the proxy TCP permission denial.Impact: Even a narrow, offline-safe code task cannot acquire pinned public build dependencies (e.g. esbuild), so the environment's documented Package managers network access is nonfunctional.
Request: Please inspect Codex Cloud sandbox egress enforcement and reachability to its assigned proxy
proxy:8080for this class of personal cloud environments. Is there a known workaround or an effective-network-policy mismatch? The failure is before the package registry can respond; increasing npm retries or changing repository credentials should not be needed.No credentials, private repository content, or device identifiers included. This looks consistent with the originally reported sandbox/proxy failure, so reporting as a reproduction here rather than opening a duplicate issue.
neutronyesss commentedon Oct 26, 2026
Confirming related socket-level
EPERMsymptoms in a separate published Codex Cloud web environment (2026-10-26). I have not directly tested connectivity toproxy:8080, so this is a possible related reproduction rather than proof of the identical underlying cause.127.0.0.1:3000failed withlisten EPERM.socket.bind(("127.0.0.1", 0))failed withPermissionError, errno1(EPERM). This reproduces the local bind failure without application code.URLError -> PermissionError(errno=1)at the socket phase; no HTTP response was received.These checks suggest a Cloud sandbox socket restriction rather than an application or destination allowlist error. Could the team investigate whether local socket bind and outbound proxy-path connections are denied by a common managed policy, and identify a supported correction?
No source files, databases, environment settings, credentials, or production resources were changed. Identifying project, repository, account, endpoint, and session details are intentionally omitted.
DavidB-DnD commentedon Oct 28, 2026
I’m experiencing similar problems in Codex Cloud on 28 October 2026, using ChatGPT in a web browser on Windows.
Runtime networking failure
My existing task can read and edit repository files and run offline tests, but GitHub and npm requests fail with:
Failed to connect to proxy port 8080
A separate diagnostic reports socket creation failing with EPERM before bind/connect. Starting a local HTTP server is also blocked. The runtime reports running/connected with network policy enforced, but dependency installation, browser testing and PR publication cannot proceed.
Environment publishing failure
Publishing changes to two cloud environments remains stuck at “Publishing”. One attempt remained there for over an hour, while task diagnostics continued to show the previous configuration version.
Browser DevTools captured a failed environment-draft update:
The interface does not surface a useful explanation of this failure. I cannot confirm whether the publishing failure and runtime socket/proxy restriction share a cause.
Expected behaviour
Cloud tasks should be able to use their configured proxy for permitted GitHub and package-registry access. Environment publication should either complete and apply the new configuration or display an actionable error.
Please investigate the effective runtime socket permissions, configured proxy access and failed draft-update/publication operation. Local work is preserved in the existing task. No proxy bypass or host-security changes have been attempted.
I can provide task and environment references privately through OpenAI Support.