Discord.Net icon indicating copy to clipboard operation
Discord.Net copied to clipboard

[Bug]: Unable to connect to voice channel

Open kizuki1749 opened this issue 4 months ago • 2 comments

Check The Docs

  • [x] I double checked the docs and couldn't find any useful information.

Verify Issue Source

  • [x] I verified the issue was caused by Discord.Net.

Check your intents

  • [x] I double checked that I have the required intents.

Description

From June 6, the log recorded “System.InvalidOperationException: Discord does not support xsalsa20_poly1305” and the bot was unable to connect to voice channels. I updated the library to the latest version, but the problem was not resolved.

According to Discord's API documentation, “xsalsa20_poly1305” is deprecated, so switching to “aead_xchacha20_poly1305_rtpsize” may be necessary.

Version

Current: 3.18.0-beta3, Former: 3.17.4

Working Version

No response

Logs

Audio #1    Error handling Ready:
System.InvalidOperationException: Discord does not support xsalsa20_poly1305
   場所 Discord.Audio.AudioClient.<ProcessMessageAsync>d__72.MoveNext() 場所 D:\GitHub Repository\NewDiscordBot\NewDiscordBot_Voice\Discord\Discord.Net.WebSocket\Audio\AudioClient.cs:行 318

Sample

No response

Packages

N/A

Environment

  • OS: Windows
  • Arch: x86
  • SDK: .NET SDK 8.0

kizuki1749 avatar Jun 06 '25 03:06 kizuki1749