API Error (503 upstream connect error or disconnect/reset...

Status Fixed / completed
Maintainer reply ✓ Yes — dicksontsai
Activity 9 comments · opened Sep 10, 2025 · closed Sep 10, 2025
💡 Likely answer: A maintainer (dicksontsai, collaborator) responded on this thread — see the highlighted reply below.

Bug Description
API Error (503 upstream connect error or disconnect/reset before headers

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 1.0.110
  • Feedback ID: e8548487-80dc-498b-9cee-b7d4d264f8ee

Errors

[{"error":"AxiosError: Request failed with status code 500\n    at FN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:715:1077)\n    at IncomingMessage.Q0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:716: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 dB1.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:718:2088)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async fA1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2477:2752)\n    at async Promise.all (index 0)\n    at async F (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3111:505)","timestamp":"2025-09-10T16:19:58.428Z"},{"error":"AxiosError: Request failed with status code 503\n    at FN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:715:1077)\n    at IncomingMessage.Q0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:716: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 dB1.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:718:2088)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async mT0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2477:2949)","timestamp":"2025-09-10T16:19:58.563Z"},{"error":"Error: terminated\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:991:6454\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-09-10T16:20:22.129Z"},{"error":"AxiosError: Request failed with status code 503\n    at FN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:715:1077)\n    at IncomingMessage.Q0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:716: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 dB1.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:718:2088)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Eg1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2477:3190)\n    at async J (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3111:917)","timestamp":"2025-09-10T16:21:57.247Z"},{"error":"Error: terminated\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:991:6454\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-09-10T16:22:38.012Z"},{"error":"SyntaxError: Unexpected token 'A', \"API Error:\"... is not valid JSON\n    at JSON.parse (<anonymous>)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:733:9932\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:713:13288)\n    at Je2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1115:1982)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-09-10T16:22:38.021Z"},{"error":"Error: 503 upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused\n    at I4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:983:2656)\n    at xT.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1000:2131)\n    at xT.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1000:5344)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async $Y1.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1899:29389)\n    at async $Y1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1899:17996)\n    at async k7B (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1899:29216)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1899:24065\n    at async KE0 (file:///opt/homebrew/lib/node_modules

Note: Error logs were truncated.

View original on GitHub ↗

9 Comments

tad-hq · 11 months ago

Identified - APIs and Claude.ai are down. Services will be restored as soon as possible.
Sep 10, 2025 - 16:28 UTC [https://status.anthropic.com/](url)

nthtrung09it · 11 months ago

<img width="1906" height="532" alt="Image" src="https://github.com/user-attachments/assets/474401bc-3365-42c7-b9ba-854a4df318c3" />

sankalpsingha · 11 months ago

Same here. Getting the same error.

BlueOpsHub · 11 months ago

Same here

yashasvigirdhar · 11 months ago

<img width="1868" height="392" alt="Image" src="https://github.com/user-attachments/assets/600b4655-1335-4a48-a8dd-b94f93450ca7" />

BlueOpsHub · 11 months ago

claude came back me

yashasvigirdhar · 11 months ago

looks like its restored now

dicksontsai collaborator · 11 months ago
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.