[Bug] Anthropic API Error: Repeated 503 Upstream Connection Resets - FIX YOUR ***

Status Fixed / completed
Maintainer reply None cached
Activity 9 comments · opened Sep 3, 2025 · closed Sep 7, 2025

Bug Description
-rwxr-xr-x 1 root root 21911 Sep 3 09:25 /var/www/dashboard/sales-ops/index.html.backup-20250903-092539
⎿ API Error (503 upstream connect error or disconnect/reset before headers. reset reason: overflow) · Retrying in 5 seconds… (attempt 4/10)
⎿ API Error (503 upstream connect error or disconnect/reset before headers. reset reason: overflow) · Retrying in 8 seconds… (attempt 5/10)
⎿ API Error (503 upstream connect error or disconnect/reset before headers. reset reason: overflow) · Retrying in 20 seconds… (attempt 6/10)
⎿ API Error (503 upstream connect error or disconnect/reset before headers. reset reason: overflow) · Retrying in 35 seconds… (attempt 7/10)
⎿ API Error (503 upstream connect error or disconnect/reset before headers. reset reason: overflow) · Retrying in 39 seconds… (attempt 8/10)
⎿ API Error (503 upstream connect error or disconnect/reset before headers. reset reason: overflow) · Retrying in 33 seconds… (attempt 9/10)

  • getting this quite often.. not cool

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 1.0.100
  • Feedback ID: b612fda4-1858-41b6-a99d-5290863bffb7

Errors

[{"error":"AxiosError: Request failed with status code 503\n    at fq (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:673:1077)\n    at IncomingMessage.F0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:674:9955)\n    at IncomingMessage.emit (node:events:519:35)\n    at IncomingMessage.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1701:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at w21.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:676:2088)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async H01 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2472:2750)\n    at async Promise.all (index 0)\n    at async F (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3076:505)","timestamp":"2025-09-03T01:28:00.057Z"}]

View original on GitHub ↗

9 Comments

brandontan · 12 months ago

API Error (503 upstream connect error or disconnect/reset before headers. reset reason: overflow) · Retrying in 4 seconds… (attempt 4/10)
⎿ API Error (503 no healthy upstream) · Retrying in 8 seconds… (attempt 5/10) API Error (503 upstream connect error or disconnect/reset before headers. reset reason: overflow) · Retrying in 4 seconds… (attempt 4/10)
⎿ API Error (503 no healthy upstream) · Retrying in 8 seconds… (attempt 5/10)

NOT USABLE !

parkertoddbrooks · 12 months ago

+1

⎿ API Error (503 no healthy upstream) · Retrying in 5 seconds… (attempt 4/10)
⎿ API Error (503 no healthy upstream) · Retrying in 10 seconds… (attempt 5/10)
⎿ API Error (503 no healthy upstream) · Retrying in 19 seconds… (attempt 6/10)
⎿ API Error (503 no healthy upstream) · Retrying in 36 seconds… (attempt 7/10)
⎿ API Error (503 no healthy upstream) · Retrying in 38 seconds… (attempt 8/10)
⎿ API Error (503 no healthy upstream) · Retrying in 33 seconds… (attempt 9/10)
⎿  API Error: Operation aborted

ArturoTorresMartinez · 12 months ago

⎿ API Error (503 no healthy upstream) · Retrying in 4 seconds… (attempt 4/10)
⎿ API Error (503 no healthy upstream) · Retrying in 10 seconds… (attempt 5/10)
⎿ API Error (503 no healthy upstream) · Retrying in 19 seconds… (attempt 6/10)
⎿ API Error (503 no healthy upstream) · Retrying in 37 seconds… (attempt 7/10)

+1

brandontan · 12 months ago

⎿ API Error (503 upstream connect error or disconnect/reset before headers. reset reason: overflow) · Retrying in 4 seconds… (attempt 4/10)
⎿ API Error (503 upstream connect error or disconnect/reset before headers. reset reason: overflow) · Retrying in 10 seconds… (attempt 5/10)
⎿ API Error (503 upstream connect error or disconnect/reset before headers. reset reason: overflow) · Retrying in 19 seconds… (attempt 6/10)
⎿ API Error (503 upstream connect error or disconnect/reset before headers. reset reason: overflow) · Retrying in 40 seconds… (attempt 7/10)
⎿ API Error (503 upstream connect error or disconnect/reset before headers. reset reason: overflow) · Retrying in 34 seconds… (attempt 8/10)
⎿ API Error (503 no healthy upstream) · Retrying in 39 seconds… (attempt 9/10)
⎿ API Error (503 no healthy upstream) · Retrying in 36 seconds… (attempt 10/10)
⎿  API Error: 503 no healthy upstream

Niqnil · 12 months ago

Had the same problem. https://status.anthropic.com/ shows:
Elevated error rates on API and claude.ai
Identified - The issue has been identified and a fix is being implemented.
Sep 03, 2025 - 01:34 UTC

brandontan · 12 months ago

⎿ API Error (Request timed out.) · Retrying in 5 seconds… (attempt 4/10)
⎿ API Error (Request timed out.) · Retrying in 8 seconds… (attempt 5/10)
⎿ API Error (Request timed out.) · Retrying in 17 seconds… (attempt 6/

1.07 PM UTC+8

brandontan · 12 months ago

⎿   ⚠ Fast Refresh had to perform a full reload due to a runtime error.

figgo · 11 months ago

⎿ API Error (503 upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused) · Retrying in 4 seconds… (attempt 4/10)
⎿ API Error (503 upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused) · Retrying in 10 seconds… (attempt 5/10)
⎿ API Error (503 upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused) · Retrying in 17 seconds… (attempt 6/10)
⎿ API Error (503 upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused) · Retrying in 38 seconds… (attempt 7/10)
⎿ API Error (503 upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused) · Retrying in 40 seconds… (attempt 8/10)
⎿ API Error (503 upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused) · Retrying in 34 seconds… (attempt 9/10)

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.