claude-code - 💡(How to fix) Fix [Bug] Voice connection fails with WebSocket upgrade on macOS despite network connectivity [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#54869Fetched 2026-04-30 06:33:37
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3

Error Message

initializes), then connection fails silently — no error logged on the renderer, only the UI message.

Code Example

[]
RAW_BUFFERClick to expand / collapse

Bug Description Voice fails in both Claude Code and Claude desktop app with "Voice connection failed. Check your network and try again."

Voice mode fails identically in both Claude Code (CLI) and the Claude desktop app on macOS. Both apps connect/work fine for everything else — only voice fails.

Ruled out locally:

  • No VPN, proxy, corporate network, or DNS filtering
  • macOS firewall disabled; no Little Snitch / Lulu / similar
  • iCloud Private Relay not active; only en0 carries traffic
  • HTTPS to api.anthropic.com works fine; WebSocket upgrade succeeds
  • Anthropic status page shows all systems operational
  • Microphone permission granted (confirmed in ~/Library/Logs/Claude/main.log)
  • Fresh OAuth login on both apps after sign-out (didn't help)

Desktop app log evidence: Renderer hits Web Audio API (ScriptProcessorNode is deprecated warning fires when voice initializes), then connection fails silently — no error logged on the renderer, only the UI message.

Environment:

  • macOS 26 (Darwin 25.4.0)
  • Claude Code v2.1.123 (native installer)
  • Claude desktop app: latest
  • Both apps freshly signed in

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.123
  • Feedback ID: 9ea5aabc-a0a7-466b-ae04-aa2565824e7b

Errors

[]

extent analysis

TL;DR

Investigate Web Audio API compatibility issues, specifically the deprecation of ScriptProcessorNode, as a potential cause for the voice connection failure.

Guidance

  • Review the Web Audio API documentation to understand the implications of ScriptProcessorNode deprecation and potential alternatives.
  • Check the Claude desktop app's renderer code to see how it handles the ScriptProcessorNode deprecation warning and if it affects the voice connection.
  • Verify that the issue persists across different macOS versions and Claude app versions to determine if it's a version-specific problem.
  • Consider testing the voice feature in a different environment, such as a different network or a virtual machine, to isolate the issue.

Example

No code snippet is provided as the issue does not contain sufficient code context.

Notes

The issue may be related to a compatibility problem between the Web Audio API and the Claude desktop app's renderer, but further investigation is needed to confirm this.

Recommendation

Apply workaround: Investigate alternative audio processing nodes or update the renderer code to handle the ScriptProcessorNode deprecation, as the root cause seems to be related to this issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] Voice connection fails with WebSocket upgrade on macOS despite network connectivity [1 participants]