Darkside138/DiscordSoundboard

Bot repeatedly disconnects from server

Closed this issue · 8 comments

As of 3/20/23, the bot will connect to a server to try to play a sound, then disconnect and reconnect indefinitely.

Version: 3.2.3

Been having the same issue here. I've been unable to get the latest release working so I've been running 3.10

I am also experiencing this issue

Same issue

Been having the same issue here. I've been unable to get the latest release working so I've been running 3.10

Does 3.10 actually work? Same issue for me on older versions :/

Possibly related to this issue?

IP Discovery Upcoming Change

We recently pushed out a change related to Voice Connections that broke apps sending 70-byte UDP packets to the voice server when using IP Discovery. While the documentation and deprecation were updated in December 2019, there wasn't communication around the the change starting to roll out so we've temporarily reverted the change to give developers more time to handle the breaking change.

⚠️ Starting 15 March 2023, all apps with Voice Connections using IP Discovery must send 74-byte UDP packets. IP Discovery requests sending the deprecated 70-byte packet will no longer receive a response.

Some 3rd party libraries may be needed to be updated to support this change, so if your app uses Voice Connections and a 3rd party library, check with the maintainer(s) to see if it sends the updated packet and/or whether you need to update the library version you're using.

📰 Read the IP Discovery documentation for more information about the UDP packet to send: https://discord.com/developers/docs/topics/voice-connections#ip-discovery

Looks like that is the exact problem, I wonder if JDA has a newer version of their 4.4.0 LTS that would work on this, or if it has to be updated to 5.0.0

So, I rebuilt the soundboard with JDA:4.4.1_353 and it works now. I wish I knew how to post a request to change the git repo.

I released a new version last night that updates the code to the new 5.beta.6. This seems to have resolved the issue.