claude doctor hangs indefinitely on api.anthropic.com health check
Resolved 💬 2 comments Opened Jun 18, 2026 by SneakernetVet Closed Jun 22, 2026
Description
claude doctor hangs indefinitely and never produces any output. It must be killed manually.
Environment
- Claude Code version: 2.1.181
- OS: Linux (Debian 13, kernel 6.12.90)
- Node: v22.22.3
- Auth: OAuth (claude.ai account)
Steps to reproduce
claude doctor
# hangs forever, no output on stdout or stderr
Investigation
Running claude doctor in the background while monitoring with ss -tnp shows:
- The process clones
git@github.com:anthropics/claude-plugins-official.gitsuccessfully (~2.6s) - It then establishes a TCP connection to
api.anthropic.com(160.79.104.10:443) - The connection stays in
ESTABstate with Recv-Q=0, Send-Q=0 — request sent, no response ever arrives - The process never exits and produces zero bytes of output
ESTAB 0 0 192.168.12.90:45240 160.79.104.10:443 users:(("claude",pid=XXXX,fd=20))
Confirmed: claude update works correctly and completes in ~5s. The hang is specific to claude doctor.
Expected behavior
claude doctor should either complete the health check or time out with an error message.
Actual behavior
Hangs indefinitely. Zero output on stdout or stderr. Must be killed with kill.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗