Environment
- Platform (select one):
- Claude CLI version: 1.0.93
- Operating System: Ubuntu 22.04
- Terminal: Windows Terminal
Bug Description
After configuring HTTP_PROXY/HTTPS_PROXY in Claude Code v1.0.93, network requests fail to go through the proxy and the following warning is emitted on every run:
(node:19595) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time. (Use `node --trace-warnings ...` to show where the warning was created)
The same proxy settings work correctly in v1.0.92 without any warnings.
Steps to Reproduce
- Install or update to Claude Code CLI v1.0.93.
- Set environment variable
HTTP_PROXY (or HTTPS_PROXY) to a valid proxy URL.
- Run any Claude client command that makes an HTTP request (e.g.
claude chat --model code-v1).
Expected Behavior
Network requests should be routed through the configured proxy and no experimental-agent warnings should appear.
Actual Behavior
- Requests do not use the proxy (no outbound network traffic through the proxy).
- The
[UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental… warning is logged on startup.
Additional Context
- Downgrading to Claude Code CLI v1.0.92 with the same proxy environment variables restores expected behavior and suppresses the warning.
- Possible root cause: v1.0.93 switched to Undici’s experimental
EnvHttpProxyAgent, which may not properly read environment variables and emits warnings.
- A workaround is to manually configure a stable
ProxyAgent via code or pin back to v1.0.92.
Environment
Bug Description
After configuring
HTTP_PROXY/HTTPS_PROXYin Claude Code v1.0.93, network requests fail to go through the proxy and the following warning is emitted on every run:The same proxy settings work correctly in v1.0.92 without any warnings.
Steps to Reproduce
HTTP_PROXY(orHTTPS_PROXY) to a valid proxy URL.claude chat --model code-v1).Expected Behavior
Network requests should be routed through the configured proxy and no experimental-agent warnings should appear.
Actual Behavior
[UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental…warning is logged on startup.Additional Context
EnvHttpProxyAgent, which may not properly read environment variables and emits warnings.ProxyAgentvia code or pin back to v1.0.92.