Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Not applicable. Using Codex Cloud through the web browser, not the desktop Codex App.
What subscription do you have?
ChatGPT Plus (personal account)
What platform is your computer?
Codex Cloud (web-based). Accessed from ChromeOS (Chromebook) and Android. The failure occurs inside the remote Codex Cloud runtime, not on the local device.
What issue are you seeing?
Codex Cloud cannot connect to its automatically configured internal HTTP/HTTPS proxy at http://proxy:8080.
The issue is reproducible in both an existing environment and a newly created environment, despite internet access being enabled and api.github.com being added to the allowed domains.
The proxy hostname resolves successfully to 172.31.7.13, but the TCP connection to port 8080 fails immediately.
Exact error:
curl: (7) Failed to connect to proxy port 8080 after 0 ms: Could not connect to server
Diagnostics:
- curl exit code: 7
- HTTP status: 000 (no HTTP response)
- Proxy: http://proxy:8080 (automatically configured)
- Network policy: restricted / enforced
- Internet access: enabled
- Allowed domain: api.github.com
- Failure occurs during agent execution.
- Setup-stage logs were not accessible.
The same failure occurs when requesting https://api.github.com and when directly testing http://proxy:8080/.
No proxy variables were modified or bypassed.
What steps can reproduce the bug?
- Open Codex Cloud using a personal ChatGPT Plus account.
- Create an environment for the GitHub repository Bellsier/gacha-factory-prototype.
- Enable internet access and add api.github.com to the allowed domains.
- Start a cloud task in the environment.
- Run: curl -v --max-time 10 https://api.github.com
- Observe that the request fails before any HTTPS connection is established.
- Run: curl -v --max-time 10 http://proxy:8080/
- Observe the same TCP connection failure.
- Repeat in a newly created Codex Cloud environment. The failure reproduces.
What is the expected behavior?
Codex Cloud should be able to connect to its automatically configured internal HTTP/HTTPS proxy and make outbound HTTPS requests to allowed domains such as api.github.com when internet access is enabled.
The request should receive an HTTP response instead of failing to connect to the internal proxy.
Additional information
Environment: Codex Cloud, personal ChatGPT Plus account
Repository: Bellsier/gacha-factory-prototype
Failure timestamp: 2026-10-15 01:06:51 KST (UTC+09:00)
Thread ID: 01a13aff-eacd-74da-847b-79f67b9e00ae
Relevant curl output:
- Uses proxy env variable http_proxy == 'http://proxy:8080'
- Host proxy:8080 was resolved.
- IPv4: 172.31.7.13
- Failed to connect to proxy port 8080 after 0 ms: Could not connect to server
The issue was reproduced across two separate Codex Cloud environments. DNS resolution succeeds, but TCP connectivity to the automatically configured internal proxy fails.
The proxy was not manually configured. No network policy bypass was attempted.
Please investigate the internal proxy connectivity or network restrictions in the Codex Cloud runtime.
Activity
github-actions commentedon Oct 15, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Bellsier commentedon Oct 15, 2026
This issue appears to be closely related to #53767.
Both reports involve personal ChatGPT Plus accounts using Codex Cloud, with internet access enabled and destination allowlists configured correctly.
In both cases, DNS resolution for the assigned internal proxy succeeds, but TCP connectivity to proxy:8080 fails immediately with the same curl error:
curl: (7) Failed to connect to proxy port 8080 after 0 ms: Could not connect to server
The issue occurs with different destination domains (GitHub API vs. Vercel) and different Codex Cloud environments.
This suggests a possible shared runtime or upstream proxy connectivity issue rather than a destination-specific allowlist problem.
Please consider investigating these reports together. I can provide additional diagnostics if needed.
Additional reproduction results:
Codex Cloud can successfully modify repository files, run tests, and create local Git commits.
However, both GitHub push and PR creation fail due to the internal proxy connectivity issue.
Git push error:
fatal: unable to access 'https://github.com/Bellsier/gacha-factory-prototype.git/': Failed to connect to proxy port 8080 after 0 ms: Could not connect to server
PR creation error:
Post "https://api.github.com/graphql": proxyconnect tcp: dial tcp 172.31.7.13:8080: socket: operation not permitted
This confirms that the issue blocks normal Codex Cloud development workflows, including pushing commits and creating pull requests.
No proxy bypass or security policy changes were attempted.
achanga2kdc commentedon Oct 16, 2026
I am having the same issue using Github Pro. There doesn't seem to be a fix for this issue
/workspace
/workspace/AGENTS.md
{"version": 1, "vpn_configured": false, "http_proxy": "http://proxy:8080", "http_network_policy": {"type": "restricted", "egress_rules": [{"host": "api.github.com"}, {"host": "github.com"}, {"host": "www.github.com"}]}, "tcp_connect_proxy": "http://proxy:8088", "tcp_network_access": {"domains": [], "ip_ranges": []}}
failed: “Could not connect to server.” The failure was reaching the proxy, hostname proxy, port 8080.
edmcman commentedon Oct 19, 2026
I'm also experiencing this in a particular codex cloud thread.
hpdrr commentedon Oct 21, 2026
same problem, my codex remote cloud cannot create a PR directly to github where it always says that unable to connect
NeuroQi commentedon Oct 21, 2026
Additional independent reproduction from a personal Codex Cloud environment on 2026-10-22 (UTC+08:00), using Android/mobile UI to launch tasks. This appears to match this issue; I have not established that it has the same root cause.
proxy:8080listener was unreachable.https://github.com/. It failed immediately:Could the Codex Cloud team check task-container to managed-proxy connectivity for fresh workspaces? Private task identifiers/timestamps can be furnished to authorized OpenAI Support; I am intentionally not publishing private repository/account details here.
vamin commentedon Oct 24, 2026
Reproducing in a managed Cloud task on October 24, 2026.
With inherited proxy, CA trust, and authentication settings:
The configured proxy is http://proxy:8080. The policy snapshot includes GitHub and api.github.com; runtime status reports connectivity connected, but network-policy state unknown.
Local execution works: dev environment is available and tests run and pass.
This was working yesterday for me, and as far as I can tell nothing has changed in the setup.
xXAvoraXx commentedon Oct 24, 2026
+++
vamin commentedon Oct 25, 2026
Follow-up to my October 24 report: explicit per-command network permission resolved the failures in my Codex Cloud session.
The same Git and GitHub API operations failed in the default execution sandbox, then succeeded using these execution-tool arguments:
{ "cmd": "git fetch origin", "sandbox_permissions": "with_additional_permissions", "additional_permissions": { "network": {"enabled": true} } }These are arguments to the agent’s execution tool, not a command to paste into a shell. You can ask the agent:
“Rerun the network operation with sandbox_permissions set to with_additional_permissions and additional_permissions.network.enabled set to true. Preserve the existing proxy, CA trust, credentials and network policy.”
Verified results:
No proxy settings, credentials or persistent network policy were changed. The added network permission applies to the individual command.
In my tests, the default execution sandbox blocked access to a working managed proxy. The connection error alone therefore did not establish that the proxy was down.
tiagocoelho7 commentedon Oct 25, 2026
[Codex Cloud] GitHub remote access fails at managed proxy:8080 across published environments
Summary
I am experiencing a persistent GitHub connectivity failure in Codex Cloud (web), even after creating a fresh cloud environment, publishing its configuration, and configuring restricted internet access for GitHub domains.
Local Git commands work, but remote operations fail immediately when attempting to connect to the managed proxy on port 8080.
Environment
tiagocoelho7/obsidian(public)obsidianobsidian-v2github.comandapi.github.comadded to the allowed domainsSteps to reproduce
tiagocoelho7/obsidian.github.comandapi.github.com, then publish the updated settings.Actual result
Exit code:
128Local repository checks succeed:
The checkout matches the verified GitHub commit.
Troubleshooting already performed
The same proxy connection failure persists.
The connection fails before receiving an HTTP response from GitHub. Therefore, remote GitHub authentication could not be validated.
Expected behavior
Codex Cloud should be able to establish outbound connections to permitted GitHub domains, allowing normal Git fetch, remote branch verification, push, and Pull Request workflows.
Impact
The cloud workspace can execute local operations, but cannot reliably synchronize with GitHub.
This blocks my intended automated development workflow, which relies on isolated Codex Cloud environments, Git branches, and Pull Requests.
Related issues
Request
Could the Codex Cloud team investigate whether this is caused by task-level network sandbox permissions or by connectivity to the managed proxy?
A related report indicates that explicit per-command network permission may restore connectivity. I have not yet tested that workaround in my environment.
Please clarify the supported least-privilege configuration for GitHub remote operations without granting unrestricted access or modifying proxy settings.
I can provide relevant task identifiers and additional sanitized diagnostics privately if needed.
z133253377-design commentedon Nov 2, 2026
Adding a fresh data point from a Business-workspace user, still ongoing as of Nov 2, 2026, 20:47 CST (UTC+8).
Our outage so far: Codex Cloud environments in our workspace (ChatGPT Business) have been unable to reach the egress proxy since Oct 30, 2026, 23:32 CST — 69 hours and counting. This is the longest single continuous stretch of this failure I have seen reported.
Exact error (unchanged across every attempt):
curl: (7) Failed to connect to proxy port 8080 after 0 ms: Could not connect to server(seen via
git ls-remote originand curl in the cloud environment)Why this looks platform-side, not account-side:
Support experience: three attempts through the in-product support chat — no ticket could be created, no human handoff available, no ETA given. status.openai.com shows "fully operational" with no incident posted for this.
Impact: a finished, tested release (real-estate management tool v1.4: password gate + community price lookup + manual property entry + category overview) cannot be merged or published; our live site is stuck on v1.3 while users wait.
Ask: please acknowledge whether this proxy outage is a known issue and share any ETA or workaround. 69 hours with no public status is not workable for a paid Business workspace.
shardsofaperture commentedon Nov 3, 2026
@tibo-openai - this has been going on for weeks - no offical help or response?
KarelMazanek commentedon Nov 8, 2026
I have same problem sinec 15.October 2026... Communicated with support, but with no result.