API Request Timeout or Connection Issue

Resolved 💬 3 comments Opened Mar 14, 2025 by ebressert Closed Mar 14, 2025

Bug Description
╭─────────────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code research preview! │
│ │
│ /help for help │
│ │
│ cwd: /path/to/working/dir │
╰─────────────────────────────────────────────────────────╯

hi

⎿  API Error: request ended without sending any chunks\

Environment Info

  • Platform: macos
  • Terminal: zed
  • Version: 0.2.42
  • Feedback ID: 6740fb74-307f-4cda-a7e1-fe819813679a

Errors

[{"error":"Error: Command failed: security add-generic-password -a $USER -s \"Claude Code\" -w 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\nsecurity: SecKeychainItemCreateFromContent (<default>): The specified item already exists in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:882:11)\n    at execSync (node:child_process:954:15)\n    at hU (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:431:2321)\n    at FK2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:532:1016)\n    at lm2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1160:4891)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1174:3394","timestamp":"2025-03-14T22:07:12.177Z"},{"error":"Error: request ended without sending any chunks\n    at Xu.I (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:514:27940)\n    at Xu._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:514:24087)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-03-14T22:07:20.877Z"}]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗