[Bug] Voice mode connection failure: network error handling

Resolved 💬 3 comments Opened Mar 17, 2026 by Ridhwaan-Jogiat-01 Closed Mar 21, 2026

Bug Description
Voice connection failed. Check your network and try again.keep getting this error when trying to use voice mode in claude code terminal

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.1.77
  • Feedback ID: 5cbaa81f-44b5-4571-aa9c-af6a658b1666

Errors

[{"error":"Error: Unexpected server response: 403\n    at ClientRequest.<anonymous> (file:///C:/Users/user/AppData/Local/nvm/v18.20.8/node_modules/@anthropic-ai/claude-code/cli.js:42:36851)\n    at ClientRequest.emit (node:events:517:28)\n    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:700:27)\n    at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)\n    at TLSSocket.socketOnData (node:_http_client:541:22)\n    at TLSSocket.emit (node:events:517:28)\n    at addChunk (node:internal/streams/readable:368:12)\n    at readableAddChunk (node:internal/streams/readable:341:9)\n    at Readable.push (node:internal/streams/readable:278:10)\n    at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)","timestamp":"2026-03-17T12:11:41.555Z"},{"error":"Error: Unexpected server response: 403\n    at ClientRequest.<anonymous> (file:///C:/Users/user/AppData/Local/nvm/v18.20.8/node_modules/@anthropic-ai/claude-code/cli.js:42:36851)\n    at ClientRequest.emit (node:events:517:28)\n    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:700:27)\n    at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)\n    at TLSSocket.socketOnData (node:_http_client:541:22)\n    at TLSSocket.emit (node:events:517:28)\n    at addChunk (node:internal/streams/readable:368:12)\n    at readableAddChunk (node:internal/streams/readable:341:9)\n    at Readable.push (node:internal/streams/readable:278:10)\n    at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)","timestamp":"2026-03-17T12:11:41.839Z"},{"error":"Error: Failed to create shell snapshot: Command failed: C:\\Program Files\\Git\\bin\\bash.exe -c -l SNAPSHOT_FILE='C:\\Users\\user\\.claude\\shell-snapshots\\snapshot-bash-1773749622663-hn2zkb.sh'\n      # No user config file to source\n\n      # First, create/clear the snapshot file\n      echo \"# Snapshot file\" >| \"$SNAPSHOT_FILE\"\n\n      # When this file is sourced, we first unalias to avoid conflicts\n      # This is necessary because aliases get \"frozen\" inside function definitions at definition time,\n      # which can cause unexpected behavior when functions use commands that conflict with aliases\n      echo \"# Unset all aliases to avoid conflicts with functions\" >> \"$SNAPSHOT_FILE\"\n      echo \"unalias -a 2>/dev/null || true\" >> \"$SNAPSHOT_FILE\"\n\n      echo \"shopt -s expand_aliases\" >> \"$SNAPSHOT_FILE\"\n\n      \n      # Check for rg availability\n      echo \"# Check for rg availability\" >> \"$SNAPSHOT_FILE\"\n      echo \"if ! (unalias rg 2>/dev/null; command -v rg) >/dev/null 2>&1; then\" >> \"$SNAPSHOT_FILE\"\n  \n      echo '  alias rg='\"''\\''C:\\Users\\user\\AppData\\Local\\nvm\\v18.20.8\\node_modules\\@anthropic-ai\\claude-code\\vendor\\ripgrep\\x64-win32\\rg.exe'\\'''\" >> \"$SNAPSHOT_FILE\"\n    \n      echo \"fi\" >> \"$SNAPSHOT_FILE\"\n  \n\n      # Add PATH to the file\n      echo \"export PATH=\\$PATH\" >> \"$SNAPSHOT_FILE\"\n  \n\n      # Exit silently on success, only report errors\n      if [ ! -f \"$SNAPSHOT_FILE\" ]; then\n        echo \"Error: Snapshot file was not created at $SNAPSHOT_FILE\" >&2\n        exit 1\n      fi\n    \n\n    at file:///C:/Users/user/AppData/Local/nvm/v18.20.8/node_modules/@anthropic-ai/claude-code/cli.js:1597:133\n    at ChildProcess.exithandler (node:child_process:430:5)\n    at ChildProcess.emit (node:events:517:28)\n    at maybeClose (node:internal/child_process:1098:16)\n    at ChildProcess._handle.onexit (node:internal/child_process:303:5)\n    at Process.callbackTrampoline (node:internal/async_hooks:128:17)","timestamp":"2026-03-17T12:13:52.862Z"}]

View original on GitHub ↗

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