Codex Cloud rejects allowlisted Azure Blob Storage endpoint with “Cloudflare egress requires HTTP inspection”
What version of the Codex App are you using (From “About Codex” dialog)?
26.928.21956
What subscription do you have?
Plus
What platform is your computer?
Darwin 27.0.0 arm64 arm
What issue are you seeing?
Summary
Codex Cloud cannot connect to an Azure Blob Storage endpoint despite its exact hostname being allowed in the environment’s internet-access settings.
The configured proxy rejects the connection with:
Cloudflare egress requires HTTP inspection
The actual storage account hostname is omitted for privacy.
Environment
- Codex Cloud managed environment with restricted internet access.
- Network policy reports
enforced. - The exact Azure Blob Storage hostname is explicitly allowlisted.
- Azure management, Azure Key Vault, GitHub API, Tailscale API, and Cloudflare API endpoints are also allowed.
Reproduction
Replace <storage-account> with an existing, explicitly allowlisted Azure Storage account. Keep the environment’s inherited proxy settings:
curl --show-error --max-time 15 \
"https://<storage-account>.blob.core.windows.net/"
Result:
curl: (56) CONNECT tunnel failed, response 403
To capture the proxy’s response body:
import socket
host = "<storage-account>.blob.core.windows.net"
with socket.create_connection(("proxy", 8080), timeout=5) as s:
s.settimeout(5)
s.sendall(
f"CONNECT {host}:443 HTTP/1.1\r\n"
f"Host: {host}:443\r\n"
"Connection: close\r\n\r\n".encode()
)
print(s.makefile("rb").read().decode())
Request:
CONNECT <storage-account>.blob.core.windows.net:443 HTTP/1.1
Host: <storage-account>.blob.core.windows.net:443
Connection: close
Response, with the date header omitted:
HTTP/1.1 403 Forbidden
content-length: 42
content-type: text/plain
server: envoy
connection: close
Cloudflare egress requires HTTP inspection
Comparison
Through the same configured proxy:
| Destination | Explicitly allowed | CONNECT result |
|---|---|---|
| Azure Blob Storage endpoint | Yes | 403: Cloudflare egress requires HTTP inspection |
| Azure Key Vault endpoint | Yes | 200 |
| GitHub API | Yes | 200 |
| Tailscale API | Yes | 200 |
| Cloudflare API | Yes | 200 |
A made-up, non-allowlisted storage hostname receives a different response:
Destination forbidden
Because that hostname is not allowlisted, this does not establish whether another allowlisted storage endpoint would trigger the inspection error.
Expected behavior
The explicitly allowed Azure Blob Storage endpoint should be reachable through the supported proxy path, or the proxy should accurately explain any additional configuration requirement.
Diagnostic boundary
The proxy rejects CONNECT before a TLS tunnel is established and before Azure authentication. The response does not establish that Cloudflare handles the destination traffic.
Why does an allowlisted Azure Blob Storage endpoint trigger a Cloudflare HTTP-inspection error?
What steps can reproduce the bug?
Feedback ID: 01a10150-4f00-745b-96f6-f6eaadf8207c
What is the expected behavior?
No response
Additional information
No response
Even with full internet access, Azure Storage doesnt seem to work. S3 and GCP Cloud Storage do work.
This has been happening for me as well. Just like described it seems exclusive to azure storage.
I also have this issue, I also see this is happening only when trying to connect to azure blob storage. When asking the agent to check why it happens while env editing / setup, it succeeds
I have exactly the same issue.
Same for me: Trying to access Azure storage at *.blob.core.windows.net.
Getting “Cloudflare egress requires HTTP inspection”
same here :( surely this should be rectified as a priority? Anyone found a work around?
Have a Codex Cloud environment which has azure CLI configured and authenticated, and it configures the services but cannot upload to the blob.