When Claude Code Can't Connect, Read the Two Lines in claude doctor's API Connectivity Section Side by Side
Claude Code 2.1.331 added an API connectivity section to claude doctor. Using real output from a machine behind a proxy, this walks through reading the API and Sign-in lines together, what "via https_proxy" tells you, ERR_PROXY_TUNNEL versus ECONNREFUSED, and a small script that adds a first guess.
When a Scheduled Task Keeps Saying SUCCEEDED but Produces Nothing, Check Outbound Traffic in the First Minute
The run history is green, but the output file is still yesterday's. A short probe and a freshness check that tell you in the first minute whether outbound calls are being refused with a 403 on CONNECT.
Locking down Claude Code sandbox egress with strictAllowlist
Tightening automation egress with strictAllowlist in Claude Code v2.1.219, plus measured failure timings that tell a policy deny from DNS and real outages, and three defects that made my own recon scripts return nothing.