[BUG] Voice stream error: websocket upgrade rejected with http 101 — Windows CLI
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
## Description
Holding Space to activate voice input in the CLI produces:
voice stream error: websocket upgrade rejected with http 101
Voice input works correctly in the Claude Code Desktop App on the same machine.
## Environment
- OS: Windows 11 Pro 10.0.26200
- Claude Code CLI version: 2.1.86
- Network: home network, no VPN, no corporate proxy
- Desktop App voice: ✅ working
## Steps to Reproduce
- Open Claude Code in Windows terminal
- Hold Space key to activate voice input
- Error appears immediately:
voice stream error: websocket upgrade rejected with http 101
## Expected Behaviour
Voice input activates and streams audio, same as Desktop App.
## Notes
HTTP 101 is the "Switching Protocols" response — the WebSocket handshake
initiates but appears to be rejected at the application layer before any
audio data is exchanged. No VPN or proxy to account for the difference
between CLI and Desktop App behaviour.
What Should Happen?
Voice input should work in CLI
Error Messages/Logs
voice stream error: websocket upgrade rejected with http 101
Steps to Reproduce
- Open Claude Code in Windows terminal
- Hold Space key to activate voice input
- Error appears immediately:
voice stream error: websocket upgrade rejected with http 101
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.86
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
<img width="960" height="156" alt="Image" src="https://github.com/user-attachments/assets/0ac1ab18-fca2-49b8-a796-8fd003209d4d" />
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗