[BUG] statsig sdk not respecting https_proxy/HTTPS_PROXY

Resolved 💬 8 comments Opened Nov 7, 2025 by jdx Closed Jan 22, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

it's hard to say for sure, but it seems that I can't use claude with an egress proxy very well. If I disable telemetry it works but without it claude hangs for a few minutes before working. The http proxy seems to work generally, it just hangs presumably the first time it emits telemetry.

Test 1: With Telemetry Disabled (Works)

$ time DISABLE_TELEMETRY=1 claude "just say 'hello'"
hello

real    0m9.153s
user    0m9.932s
sys     0m4.419s

Result: Completes successfully in ~9 seconds

Test 2: With Telemetry Enabled (Hangs)

$ time timeout 30s claude "just say 'hello'"
# Hangs indefinitely, killed by timeout

real    0m30.029s
user    0m9.311s
sys     0m4.205s

Result: Timeout after 30 seconds (exit code 124)

What Should Happen?

It shold be using the same http proxy information for statsig.

Error Messages/Logs

Steps to Reproduce

Not sure how to reproduce without an egress proxy.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.35

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Non-interactive/CI environment

Additional Information

_No response_

View original on GitHub ↗

This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗