Skip to content

Voice requires encryption #1013

@Wikijito7

Description

@Wikijito7

As stated here, Discord will enforce E2EE when a user (or bot) is trying to connect to a Voice Channel. This would had a grace period on which clients could connect using the legacy non encrypted voice. It seems that the grace time is over and now Discord is returning an error when trying to connect to a VC without encryption.

It seems that we'll have to implement DAVE, Discord's Audio and Video End-to-End Encryption, if we want to connect to a VC. Is it on the roadmap?

I'll add the log as well.

[DefaultDispatcher-worker-6] ERROR dev.kord.voice.gateway.DefaultVoiceGateway - 
java.lang.IllegalStateException: Voice Gateway (689108711452442667) closed: 4016 Unknown encryption mode.
    at dev.kord.voice.gateway.DefaultVoiceGateway.handleClose(DefaultVoiceGateway.kt:233)
    at dev.kord.voice.gateway.DefaultVoiceGateway.start(DefaultVoiceGateway.kt:112)
    at dev.kord.voice.gateway.DefaultVoiceGateway$start$1.invokeSuspend(DefaultVoiceGateway.kt)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:35)
    at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:101)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:829)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)

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