"WebSocket Connection Failure When Sending Messages" This title succinctly captures the core problem of a WebSocket communication error preventing message transmission. It highlights the key symptom (message sending failure) and suggests a technical netwo
Resolved 💬 2 comments Opened Mar 14, 2025 by dannydi12 Closed Mar 14, 2025
Bug Description
Getting the following error when sending any message at all: API Error: request ended without sending any chunks
Environment Info
- Platform: macos
- Terminal: Apple_Terminal
- Version: 0.2.34
- Feedback ID: 7ad853ec-169c-4d94-ad24-500a4bdc538c
Errors
[{"error":"Error: Command failed: /Users/danieldivenere/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/arm64-darwin/rg --files --glob *.md /Users/danieldivenere/.claude/commands\nrg: /Users/danieldivenere/.claude/commands: IO error for operation on /Users/danieldivenere/.claude/commands: No such file or directory (os error 2)\n\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at ChildProcess.exithandler (node:child_process:422:12)\n at ChildProcess.emit (node:events:519:28)\n at ChildProcess.emit (node:domain:488:12)\n at maybeClose (node:internal/child_process:1105:16)\n at Socket.<anonymous> (node:internal/child_process:457:11)\n at Socket.emit (node:events:519:28)\n at Socket.emit (node:domain:488:12)\n at Pipe.<anonymous> (node:net:338:12)","timestamp":"2025-03-14T21:55:29.982Z"},{"error":"TypeError: path must not be empty\n at Tq3 (file:///Users/danieldivenere/node_modules/@anthropic-ai/claude-code/cli.js:319:68729)\n at I_ (file:///Users/danieldivenere/node_modules/@anthropic-ai/claude-code/cli.js:319:68838)\n at aM2._test (file:///Users/danieldivenere/node_modules/@anthropic-ai/claude-code/cli.js:319:69442)\n at aM2.ignores (file:///Users/danieldivenere/node_modules/@anthropic-ai/claude-code/cli.js:319:69944)\n at tM2 (file:///Users/danieldivenere/node_modules/@anthropic-ai/claude-code/cli.js:647:230)\n at xq3 (file:///Users/danieldivenere/node_modules/@anthropic-ai/claude-code/cli.js:645:470)\n at Object.call (file:///Users/danieldivenere/node_modules/@anthropic-ai/claude-code/cli.js:643:109)\n at call.next (<anonymous>)\n at Z_ (file:///Users/danieldivenere/node_modules/@anthropic-ai/claude-code/cli.js:998:91)\n at file:///Users/danieldivenere/node_modules/@anthropic-ai/claude-code/cli.js:1057:842","timestamp":"2025-03-14T21:55:30.125Z"}]This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗