Skip to content

Discord voice decrypt failure breaks inbound STT (UnencryptedWhenPassthroughDisabled) #25861

@mikejacksonS2F

Description

@mikejacksonS2F

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

  1. Configure Discord voice in channels.discord.voice with autoJoin.
  2. Restart gateway.
  3. Join VC, run /vc join.
  4. Speak two short phrases with clear pauses.
  5. Observe log error above and missing/incorrect transcription behavior.

Config notes

  • channels.discord.voice.tts set for ElevenLabs.
  • messages.tts also 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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions