claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

API Error: Connection error.

Open Makswell77713 opened this issue 1 month ago • 6 comments

Bug Description API Error: Connection error.

Environment Info

  • Platform: darwin
  • Terminal: intellij
  • Version: 2.0.55
  • Feedback ID:

Errors

[{"error":"Error\n    at dU (/$bunfs/root/claude:27:1143)\n    at <anonymous> (/$bunfs/root/claude:32:10086)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:34:2147)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-01T20:52:15.537Z"},{"error":"Error\n    at dU (/$bunfs/root/claude:27:1143)\n    at <anonymous> (/$bunfs/root/claude:32:10086)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:34:2147)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-01T20:52:15.546Z"},{"error":"Error: Plugin source missing\n    at lR0 (/$bunfs/root/claude:1528:36819)\n    at lR0 (/$bunfs/root/claude:1528:37506)\n    at bw8 (/$bunfs/root/claude:1529:4122)\n    at bw8 (/$bunfs/root/claude:1529:4194)\n    at Sw8 (/$bunfs/root/claude:1529:1623)\n    at Sw8 (/$bunfs/root/claude:1529:1925)\n    at <anonymous> (/$bunfs/root/claude:1530:3002)\n    at <anonymous> (/$bunfs/root/claude:1530:3197)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-01T20:52:15.739Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/apple/.local/share/claude/versions/2.0.55 (expected in multi-process scenarios)\n    at HN0 (/$bunfs/root/claude:2667:1622)\n    at o2A (/$bunfs/root/claude:2665:34072)\n    at async m17 (/$bunfs/root/claude:2665:35274)\n    at async vx (/$bunfs/root/claude:2667:236)\n    at async <anonymous> (/$bunfs/root/claude:2667:12465)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-01T20:52:23.562Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/apple/.local/share/claude/versions/2.0.55 (expected in multi-process scenarios)\n    at HN0 (/$bunfs/root/claude:2667:1622)\n    at o2A (/$bunfs/root/claude:2665:34072)\n    at async m17 (/$bunfs/root/claude:2665:35274)\n    at async vx (/$bunfs/root/claude:2667:236)\n    at async <anonymous> (/$bunfs/root/claude:2667:12465)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-01T21:06:49.238Z"},{"error":"Error\n    at <anonymous> (/$bunfs/root/claude:32:10674)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/claude:31:3314)\n    at request (/$bunfs/root/claude:34:2147)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-01T21:12:20.693Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/apple/.local/share/claude/versions/2.0.55 (expected in multi-process scenarios)\n    at HN0 (/$bunfs/root/claude:2667:1622)\n    at o2A (/$bunfs/root/claude:2665:34072)\n    at async m17 (/$bunfs/root/claude:2665:35274)\n    at async vx (/$bunfs/root/claude:2667:236)\n    at async <anonymous> (/$bunfs/root/claude:2667:12465)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-01T21:28:14.087Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/apple/.local/share/claude/versions/2.0.55 (expected in multi-process scenarios)\n    at HN0 (/$bunfs/root/claude:2667:1622)\n    at o2A (/$bunfs/root/claude:2665:34072)\n    at async m17 (/$bunfs/root/claude:2665:35274)\n    at async vx (/$bunfs/root/claude:2667:236)\n    at async <anonymous> (/$bunfs/root/claude:2667:12465)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-01T21:29:15.993Z"},{"error":"Error: Connection error.\n    at makeRequest (/$bunfs/root/claude:1262:4547)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-01T21:30:05.728Z"},{"error":"SyntaxError: JSON Parse error: Expected '}'\n    at <parse> (:0)\n    at parse (unknown)\n    at <anonymous> (/$bunfs/root/claude:77:729)\n    at A (/$bunfs/root/claude:11:6606)\n    at maB (/$bunfs/root/claude:1410:2225)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-01T21:30:05.731Z"},{"error":"Error: Connection error.\n    at makeRequest (/$bunfs/root/claude:1262:4547)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-01T21:30:11.314Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/apple/.local/share/claude/versions/2.0.55 (expected in multi-process scenarios)\n    at HN0 (/$bunfs/root/claude:2667:1622)\n    at o2A (/$bunfs/root/claude:2665:34072)\n    at async m17 (/$bunfs/root/claude:2665:35274)\n    at async vx (/$bunfs/root/claude:2667:236)\n    at async <anonymous> (/$bunfs/root/claude:2667:12465)\n    at processTicksAndReje

Note: Error logs were truncated.

Makswell77713 avatar Dec 01 '25 21:12 Makswell77713

Every request I have a problem - Unable to connect to API due to poor internet connection

Makswell77713 avatar Dec 01 '25 21:12 Makswell77713

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/11304
  2. https://github.com/anthropics/claude-code/issues/12251
  3. https://github.com/anthropics/claude-code/issues/8030

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Dec 01 '25 21:12 github-actions[bot]

This is not a duplicate. Last week there was a similar issue that was resolved after submitting a report, and today the same error appeared again, completely blocking the work. Even though everything was working perfectly just an hour ago.

Makswell77713 avatar Dec 01 '25 21:12 Makswell77713

same error for me

freQuensy23-coder avatar Dec 01 '25 23:12 freQuensy23-coder

I'm also having significant problems with connection errors. This morning I did get a new error message though Unable to connect to API (ECONNRESET). Retrying multiple times or exiting and restarting with --continue are my only work arounds. I'm on the 5X max plan.

btoone avatar Dec 11 '25 13:12 btoone