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

Anthropic API Request Timeout or Unresponsive Connection

Open Suketug opened this issue 1 year ago • 3 comments

Bug Description It stuck and shows API error

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 1.0.59
  • Feedback ID: 491282b3-ea09-40e5-9fc8-e1aff0960ddb

Errors

[{"error":"Error: Language not supported while highlighting code, falling back to markdown: example\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1389:418\n    at Object.useMemo (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:26368)\n    at Kz9.useMemo (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:46:15588)\n    at UV (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1389:312)\n    at RM (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19859)\n    at Tv (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:42847)\n    at Rv (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38368)\n    at YS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38296)\n    at lM (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38150)\n    at eV (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:35213)","timestamp":"2025-07-24T22:27:46.180Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1389:418\n    at Object.useMemo (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:26368)\n    at Kz9.useMemo (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:46:15588)\n    at UV (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1389:312)\n    at RM (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19859)\n    at Tv (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:42847)\n    at Rv (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38368)\n    at YS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38296)\n    at lM (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38150)\n    at eV (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:35213)","timestamp":"2025-07-24T22:27:46.181Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1389:418\n    at Object.useMemo (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:26368)\n    at Kz9.useMemo (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:46:15588)\n    at UV (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1389:312)\n    at RM (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19859)\n    at Tv (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:42847)\n    at Rv (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38368)\n    at YS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38296)\n    at lM (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38150)\n    at eV (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:35213)","timestamp":"2025-07-24T22:27:46.182Z"},{"error":"Error: String not found in file. Failed to apply edit.\n    at zx (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1787:728)\n    at qU0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1787:104)\n    at Object.renderToolUseRejectedMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2318:1662)\n    at F_B (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2417:2561)\n    at RM (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19859)\n    at Tv (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:42847)\n    at Rv (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38368)\n    at YS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38296)\n    at lM (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38150)\n    at eV (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:35213)","timestamp":"2025-07-24T22:27:46.187Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: example\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1389:418\n    at Object.useMemo (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:26368)\n    at Kz9.useMemo (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:46:15588)\n    at UV (file:///opt/homebrew/lib

Note: Error logs were truncated.

Suketug avatar Jul 25 '25 15:07 Suketug

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 04 '25 10:12 github-actions[bot]

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

github-actions[bot] avatar Jan 04 '26 10:01 github-actions[bot]

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.

github-actions[bot] avatar Jan 13 '26 14:01 github-actions[bot]