[docs] docs: document Squid allow_api_proxy_ip ACL and Gemini raw-IP fix#3009
Conversation
Sync documentation with commit 6a9fcf9 which added an explicit Squid ACL (allow_api_proxy_ip) that permits traffic to the API proxy sidecar IP before raw-IP deny rules. This fixes Gemini CLI requests being rejected by Squid when the undici HTTP client routes the raw IP through HTTP_PROXY regardless of the NO_PROXY setting. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@copilot fix this failing ci check https://github.com/github/gh-aw-firewall/actions/runs/25716192334/job/75581277264?pr=3009 |
Docker builds with --build-local can take >120s when USER_UID/USER_GID build args differ from the pre-built images (cache miss at the user creation layer). Increase runWithSudo timeout from 120000 to 180000ms and Jest test timeouts from 120000 to 240000ms to match the pattern established in one-shot-tokens.test.ts.
The root cause was that Fixed in fix(tests): increase buildLocal timeout in skip-pull and no-docker tests by raising the |
✅ Coverage Check PassedOverall Coverage
📁 Per-file Coverage Changes (1 files)
Coverage comparison generated by |
Smoke Test Results
Overall: 3/4 PASS — Core functionality working (auth context issue).
|
🔬 Smoke Test Results
Overall: FAIL — GitHub MCP returned 401 (bad credentials); template variable substitution did not occur for pre-step outputs. PR author and assignees: unable to retrieve due to MCP auth failure.
|
Smoke Test: Copilot BYOK (Offline) Mode
Running in BYOK offline mode ( Overall: FAIL — GitHub MCP returned 401; pre-step smoke data templates were not expanded.
|
|
Smoke Test Codex: FAIL Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "registry.npmjs.org"See Network Configuration for more information.
|
🏗️ Build Test Suite Results
Overall: 8/8 ecosystems passed — ✅ PASS
|
Smoke Test: GitHub Actions Services Connectivity
Overall: FAIL —
|
Documentation Sync - May 2026
This PR synchronizes documentation with code changes from the past 7 days.
Changes Made
docs/api-proxy-sidecar.md: Added explanation of the newallow_api_proxy_ipSquid ACL in the "Network isolation" sectiondocs/api-proxy-sidecar.md: Added a new troubleshooting entry for "Gemini requests blocked by Squid (raw-IP denied)" that documents the root cause (undici routing raw IPs through HTTP_PROXY) and the resolutionCode Changes Referenced
6a9fcf9:fix: unblock Smoke Gemini — exclude MCP host env leak, allow api-proxy IP through Squid (#2986)— addedacl allow_api_proxy_ip dst <ip>+http_access allow allow_api_proxy_iptosrc/squid-config.tsbefore raw-IP deny rules, so that HTTP clients (e.g. Node.jsundiciProxyAgent) that route raw IP addresses throughHTTP_PROXYwithout honouringNO_PROXYare not rejected by Squid.Verification