Source: darkzodchi @x.com | Full article: Knostic.ai
A developer (Dor Munis) was debugging an odd HTTP 407 proxy error when using Claude Code's /login command. Everything else worked fine — curling Anthropic's API directly returned 200. Running Claude Code in debug mode revealed the culprit: it was silently reading his .env file and loading his HTTP_PROXY credentials into memory automatically. Moving the .env outside the project directory fixed it immediately.