I get this error when I add allowlist network policy with our production domains to an agent with a shell tool (using the openai agent sdk):
```
An error occurred while processing your request. You can retry your request, or contact us through our help center at help.openai.com if the error persists. Please include the request ID req_3b0917dca27342dda56901e1a1c05306 in your message.
```
It does not occur when network policy is disabled. The domains in allowed_domains are in Container network mode in the data controls in platform.openai.com. Another thing to note is that it was still working on Feb 26.
Here is a minimal set of instructions to reproduce the problem:
Add a domain (e.g. âgoogle[dot]comâ as in the code snippet) to platform.openai.com > Data control > Hosted tools > Container network mode > allowlist
Run the command below
Result:
Error code: 500 - {âerrorâ: {âmessageâ: âAn error occurred while processing your request. You can retry your request, or contact us through our help center at help.openai.com if the error persists. Please include the request ID req_XXXXX in your message.â, âtypeâ: âserver_errorâ, âparamâ: None, âcodeâ: âserver_errorâ}}
You must âpreauthorizeâ every URL that will be employed manually. It seems you found Container network mode â allow list for your organization. You also must âsaveâ there.
Also, ensure that you consistently use only the domain name or subdomain, and not a http prefix - which neither the input into the allowlist or input into the platform siteâs shell tool will warn about - youâll just get more failures.
âGooglingâ is not scrape-able or accessible by bot, generally, if you thought the AI could search, which it seems you are trying. When OpenAI has a pay-per-use internet search, consuming from a competitor might not be facilitiated, either. If you have a Google-hosted resource, see that it can be retrieved by a scripted âGETâ first.
Iâve used the internet access to update wheel modules and get blob storage files, to report that it does generally work.
The Google domain is just an example but it should still work (it should just return some html to the llm).
My use case involves having a skill for using our production rest API so our domain is trusted and should be accessible from the shell container. I added it to the list of allowed domains (in the place of the Google url in curl snippet) in the request but also in the allowlist in the admin dashboard on platform.openai.com. No http prefixes etc. I also tested creating a container and then referencing the container in the shell tool but that also gave the same error.
Could you check if itâs still working right now? Because it seems that it broke on February 26. I had no code changes but suddenly it broke.
Some extra information: you donât have to instruct the llm to use the shell tool. It just errors whenever you have the allowlist in the container params.
Does anyone know the ETA of something like this being fixed? This is holding up our company badly and I canât imagine that we are the only ones using this feature. There should at least be a notice somewhere that itâs broken atm. Thank you.
We re-tested this on our side and werenât able to reproduce the error, so it may have been a temporary issue rather than something caused by the network allowlist itself.
Could you let us know if youâre still seeing the problem? If so, does it only happen when network_policy.type="allowlist" is enabled, or do you also see it without the allowlist?
If itâs still happening, please send a recent request ID and approximate timestamp so we can investigate further.
Hitting the same symptom on the openai-agents SDK 0.14.1 with the hosted shell tool in container_auto. Every shell-tool curl from inside the container exits with curl: (7) Failed to connect to proxy port 8080 after ~1000ms, even though the per-run network_policy allowed_domains host is also on the org dashboard allowlist (bare hostname, saved).
Per-run policy: type=allowlist, single hostname in allowed_domains
memory_limit=1g, max_turns=12
On your specific question â we havenât yet rerun with network_policy.type="disabled". Just shipped an env-var toggle for that A/B test on our side; will follow up here with the result.
Thereâs another open thread on this forum (the one whose title starts with âHosted Shell container cannot clone from a public git host even though that host is allowlisted in network_policyâ, March 26) reporting the same proxy port 8080 failure mode. A community user there pointed at the cause: the container auto-sets HTTP_PROXY and HTTPS_PROXY to the in-container proxy daemon, and that daemon is the unreachable thing. Bypassing the proxy by unsetting HTTP_PROXY and HTTPS_PROXY and calling curl with --noproxy '*' (or git with -c http.proxy=) makes outbound calls land â destination is on the allowlist, the broken hop is just the proxy-env routing. Flagging in case it helps narrow down whether this thread and that one are the same underlying issue.
Following up with sandbox-internal diagnostics. Built a small skill that gathers env vars, /etc/resolv.conf, /etc/hosts, ip route, and curls a multi-host matrix from inside the container.
Direct answer to your earlier question: the failure reproduces with network_policy.type="disabled" too â just with a different curl error.
A/B matrix (April 27 2026):
allowlist, default curl â exit 7, âFailed to connect to proxy port 8080 after 3 sâ
Same pattern on six different hosts â our platform host, two GitHub-org hosts that are on the org-level allowlist, two more API hosts of ours, and a control host. Failure is universal, not host-specific or allowlist-specific.
Sandbox network shape from inside the container, with allowlist:
HTTP_PROXY and HTTPS_PROXY (and lowercase variants) auto-set to the in-container proxy.
NO_PROXY set to loopback addresses only.
/etc/resolv.conf has a single nameserver â Azure WireServer DNS (resolves Azure-internal names only, not public hosts).
/etc/hosts has a static entry mapping proxy to a private IPv4 in the same /28 subnet as the agent container.
ip route shows one route â the local /28 only. No default gateway, no path to the open internet.
With disabled, the proxy env vars are unset entirely; everything else is the same.
So the proxy sidecar in the agentâs /28 is the entire egress for both DNS and HTTP. When the daemon on it is unreachable, nothing inside the sandbox can reach anything outside.
The 3-second curl timeout to the proxy port (with no RST) is consistent with the daemon being down or with packets being silently dropped â not a 5xx-style daemon-up-but-broken.
Thanks for the update. We re-tested today, and the broad hosted-shell networking outage does look mostly fixed for our project, but we are still seeing one host-specific failure.
Setup:
OpenAI Agents SDK for Python: openai-agents 0.14.1, openai 2.32.0
So the original failure mode we saw earlier, where sandbox networking failed broadly across hosts, appears resolved. The remaining issue seems narrower: api dot github dot com still fails at the TCP/connect layer, while github dot com and raw dot githubusercontent dot com work in the same setup with the same SDK call pattern and allowlist configuration.
We have verified that api dot github dot com is explicitly present in the project Container network mode allowlist. We also do not see a Responses API server_error for these runs; the call completes and the agent reports curlâs connection failure from inside the shell tool output.
Thanks for confirming the broader issue is resolved. For the specific issue youâre still seeing, please contact support through help.openai.com so we can investigate further and assist.