-
-
Notifications
You must be signed in to change notification settings - Fork 52.6k
Description
Discord voice receive decrypt failure: DecryptionFailed(UnencryptedWhenPassthroughDisabled) causes STT to miss user speech
Environment
- OpenClaw:
2026.2.23 - OS: macOS (Apple Silicon)
- Node:
25.6.1 @discordjs/voice:0.19.0@snazzah/davey:0.1.9
What happens
Bot joins Discord voice channel and can speak, but often fails to hear/transcribe inbound mic audio from users. It then responds with generic fallback prompts as if no valid transcript was received.
Gateway logs show:
discord voice: receive error: Failed to decrypt: DecryptionFailed(UnencryptedWhenPassthroughDisabled)
Expected
Inbound voice frames decrypt successfully and STT receives user audio reliably.
Actual
Inbound decode intermittently/consistently fails with decrypt error; STT input is effectively lost.
Repro steps
- Configure Discord voice in
channels.discord.voicewith autoJoin. - Restart gateway.
- Join VC, run
/vc join. - Speak two short phrases with clear pauses.
- Observe log error above and missing/incorrect transcription behavior.
Config notes
channels.discord.voice.ttsset for ElevenLabs.messages.ttsalso set for message surfaces.- ElevenLabs auth was separately validated and fixed; decrypt error persists on inbound VC path.
Sanitized log excerpt
warn discord/voice {"subsystem":"discord/voice"} discord voice: receive error: Failed to decrypt: DecryptionFailed(UnencryptedWhenPassthroughDisabled)
Impact
Real-time voice-chat use is unreliable because user speech is not consistently captured.
Request
Guidance/fix for Discord inbound voice decrypt handling under current DAVE/E2EE behavior (or recommended config/runtime workaround).