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

Unable to connect to API due to poor internet connection

Open Makswell77713 opened this issue 1 month ago • 4 comments

Bug Description Unable to connect to API due to poor internet connection

Environment Info

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

Errors

[{"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 TCA (/$bunfs/root/claude:2667:1300)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-01T22:42:59.786Z"},{"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-01T22:43:00.629Z"},{"error":"Error: Connection error.\n    at makeRequest (/$bunfs/root/claude:1262:4547)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-01T22:43:01.171Z"},{"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-01T22:43:07.951Z"},{"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-01T22:43:31.687Z"},{"error":"Error: console.error: \u001b[33m⚠️  [BashTool] Pre-flight check is taking longer than expected. Run with ANTHROPIC_LOG=debug to check for failed or slow API requests.\u001b[39m\n\n    at <anonymous> (/$bunfs/root/claude:831:36090)\n    at <anonymous> (/$bunfs/root/claude:711:3612)\n    at value (native:173:22)\n    at warn (native:243:9)\n    at <anonymous> (/$bunfs/root/claude:3973:5440)","timestamp":"2025-12-01T22:49:37.890Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CVgo1UaMzh5QuYSWiRr9q\"}\n    at generate (/$bunfs/root/claude:415:9649)\n    at makeRequest (/$bunfs/root/claude:1262:5434)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-01T22:57:19.780Z"},{"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-01T23:15:28.494Z"},{"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-02T03:33:25.466Z"},{"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-02T03:52:16.411Z"},{"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-02T04:10:35.396Z"},{"error":"Error: Connection error.\n    at makeRequest (/$bunfs/root/claude:1262:4547)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-02T07:30:51.048Z"},{"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-02T07:30:51.051Z"}

Note: Error logs were truncated.

Makswell77713 avatar Dec 02 '25 07:12 Makswell77713

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/12828
  2. https://github.com/anthropics/claude-code/issues/12251
  3. https://github.com/anthropics/claude-code/issues/8032

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 02 '25 07:12 github-actions[bot]

Also getting this, howerver it's not due to bad connection, but rather something else if i had to guess since it's attempting to update despite me reinstalling it 4 hours ago more or less.

Prosopho avatar Dec 02 '25 13:12 Prosopho

Getting Unable to connect to API due to poor internet connection errors for the past 30 minutes or so. Nothing wrong with my internet or local network connectivity.

sammcj avatar Dec 09 '25 23:12 sammcj