[BUG] @anthropic-ai/claude-code not working

Resolved 💬 21 comments Opened Jun 12, 2025 by Pblak Closed Jun 12, 2025
💡 Likely answer: A maintainer (igorkofman, collaborator) responded on this thread — see the highlighted reply below.

npm install -g @anthropic-ai/claude-code
npm error code E504
npm error 504 Gateway Timeout - GET https://registry.npmjs.org/@anthropic-ai%2fclaude-code
npm error A complete log of this run can be found in:

Additional Context

<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->

View original on GitHub ↗

21 Comments

humanwritten · 1 year ago

I'm getting
⎿ API Error (503 no healthy upstream) · Retrying in 1 seconds… (attempt 1/10)
⎿ API Error (503 no healthy upstream) · Retrying in 1 seconds… (attempt 2/10)
⎿ API Error (503 no healthy upstream) · Retrying in 2 seconds… (attempt 3/10)
⎿ API Error (503 no healthy upstream) · Retrying in 4 seconds… (attempt 4/10)
⎿ API Error (503 no healthy upstream) · Retrying in 8 seconds… (attempt 5/10)
⎿ API Error (503 no healthy upstream) · Retrying in 18 seconds… (attempt 6/10)
⎿ API Error (503 no healthy upstream) · Retrying in 34 seconds… (attempt 7/10)
⎿ API Error (503 no healthy upstream) · Retrying in 33 seconds… (attempt 8/10)
⎿ API Error (503 no healthy upstream) · Retrying in 34 seconds… (attempt 9/10)
⎿ API Error (503 no healthy upstream) · Retrying in 34 seconds… (attempt 10/10)
⎿ API Error: 503 no healthy upstream

it claims claude code is okay but it doesn't seem to be

<img width="775" alt="Image" src="https://github.com/user-attachments/assets/160dc7c9-b74a-443e-b4d0-494d2bc598f4" />

vanman2024 · 1 year ago
npm install -g @anthropic-ai/claude-code npm error code E504 npm error 504 Gateway Timeout - GET https://registry.npmjs.org/@anthropic-ai%2fclaude-code npm error A complete log of this run can be found in: ## Additional Context

Does uninstalling and reinstalling it help?

zabirauf · 1 year ago

Hitting exactly the same issue

jeanozamora · 1 year ago

I'm having the same issue at the moment.

miguelbm1989 · 1 year ago

Hi! having the same issue, i see othe people have just commented, i guess it might be a general problem?

Jok0ne · 1 year ago

Same issue here.

dam62500 · 1 year ago

same too

rcoundon · 1 year ago

Me too

tana90 · 1 year ago

C'mon guys, I have work to do :))

jgottapu · 1 year ago

seeing the same

Khalifares · 1 year ago

Same issue for me too

nikhilgikiai · 1 year ago

oh i reinstalled brew and node js before checking here

sockpuppetrebel · 1 year ago

Claude code is down as fuuuuu i'm surprised they don't have their outage page updated correctly, gotta say not impressed with my first month of max subscription. first 2 weeks were heavenly bliss of productivity and assistance and the last 2 weeks have gotten progressively worse until now it's apparently down 100%?

Pblak · 1 year ago

COme on guys !!
i have work to doooo !!

Pblak · 1 year ago

⎿ API Error (503 upstream connect error or disconnect/reset before headers. reset reason: connection timeout) · Retrying in 1 seconds… (attempt 1/10)

stevenlafl · 1 year ago

https://status.cloud.google.com/incidents/ow5i3PPK96RduMcb1SsW#2c2sBHWU84yPDJ8y1ar4

Looks to be back up. (yes it's related, Anthropic uses GCP)

willgriffin · 1 year ago

You mean you have work you need claude to do ;)

igorkofman collaborator · 1 year ago

Hey folks, yes we were impacted by the massive GCP outage. It is fully resolved now.

pruthvi-itribe · 1 year ago

Am impacted multiple time from yesterday and now at 11:52 AM IST facing this

pruthvi-itribe · 1 year ago

On restarting mac, its working, something to do with cache api or something, multiple times i have killed terminal but it was getting stuck there, this happened day before yesterday, but at that time there was claude outage

github-actions[bot] · 11 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.