andersfylling / disgord

Go module for interacting with the documented Discord's bot interface; Gateway, REST requests and voice
BSD 3-Clause "New" or "Revised" License
502 stars 71 forks source link

VoiceChannel.Connect() timing out on some servers #510

Open ImVexed opened 1 year ago

ImVexed commented 1 year ago

Describe the bug We're occasionally observing VoiceChannel.Connect() timeouts when trying to play some audio. Most of the time it's transient, however, we're observing it now consistently happening with a certain server. The bot will get into the voice channel from the discord clients' perspective, but we still get a timeout.

Expected behavior Not timeout

Error messages

Error: timeout on receiving voice channel information from discord

From voiceconnection.go:139

Desktop (please complete the following information):