{"version":"2.1.328","anchor":"telemetry-for-api-redirects-and-proxy-handling","canonical_anchor":"telemetry-for-api-redirects-and-proxy-handling","heading":"Proxy handling reads ALL_PROXY for HTTPS and NO_PROXY check failures are logged","tier":"notice","area":"Internals","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/telemetry-for-api-redirects-and-proxy-handling","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Proxy handling reads ALL_PROXY for HTTPS and NO_PROXY check failures are logged\n\nA new proxy resolver honours https_proxy, all_proxy and no_proxy, NO_PROXY check errors are logged, and API redirects are now recorded\n\n**Unclear.** It is not clear whether `all_proxy` was already honoured before this release or is newly honoured.\n\n**What**\n\nA proxy is a server your network traffic goes through. Claude Code's proxy handling has been reworked:\n\n- A new proxy resolver reads `https_proxy`, `HTTPS_PROXY`, `all_proxy` and `ALL_PROXY`, and honours `no_proxy` and `NO_PROXY`.\n\n- The `NO_PROXY` matcher was rewritten. It used to build a pattern from the text and return nothing on error. If the check fails now, it logs \"The NO_PROXY check failed:\" and treats the host as not exempt from the proxy.\n\n- Claude Code now records when an API request is redirected, noting whether it stays on the same site or goes elsewhere. Requests to `\/api\/claude_code\/settings` are labelled as settings requests.\n\n**Why**\n\nIf you set `all_proxy` or `ALL_PROXY`, HTTPS requests may now use it. If your `NO_PROXY` value is malformed, the failure is logged and traffic for that host goes through the proxy, which could change which hosts skip it.\n\n- Area: Internals\n- Names: `ALL_PROXY`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: both\n- Heads-up: yes"}