question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bot repeatedly connects and disconnects, doesn't play sounds

See original GitHub issue

Bot worked fine until recently (1-2 month ago). Now it keeps reconnecting to our channel and doesn’t play sounds. The following message appears in the console:

Closing connection and attempting to reconnect. 2019-08-10 19:31:14.571 WARN 15096 --- [83277112197130)] n.dv8tion.jda.core.audio.AudioWebSocket : Failed to establish websocket connection: HOSTNAME_UNVERIFIED - The certificate of the peer (CN=*.discord.gg, OU=PositiveSSL Wildcard, OU=Domain Control Validated) does not match the expected hostname (eu-central210.discord.media)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:69 (10 by maintainers)

github_iconTop GitHub Comments

10reactions
Darkside138commented, Oct 26, 2019

FYI, I found some time to work on the bot and have local file (mp3) playback working. The only thing left is to fix playing files by URL. I think what I’ll do is make a build today/tonight with the current features then test and release it. I just wanted to let everyone know where things are at. Local testing has gone well. If anyone is feeling ambitious I’ve checked in the latest. You could pull and build yourself. Warning, I have not tried the build so I’m not sure if that works yet or not.

3reactions
MrDanSiegelcommented, Oct 28, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

Kenku bot often disconnects/stops playing to the voice ...
Strangely, the problems mostly happen within the first 10-15 minutes of using the bot. Afterwards, it stops misbehaving and works fine until ...
Read more >
Windows keeps making these random "device connect ...
I'm on windows 10 and I get random splashing sounds (Device Connect and Disconnect) USBLogView shows nothing, the readme does state it does...
Read more >
Bluetooth speaker disconnects/reconnects at random, "power
The speaker hasn't disconnected and connected again yet, but the amount of time it takes ... Your approach has not been and is...
Read more >
Stop random USB connection or disconnection sounds
PC constantly playing USB device Connected/Disconnected sound? ... If the above methods didn't stop random USB connection or disconnection ...
Read more >
USB Headset Keeps Disconnecting and Reconnects on Discord
Your browser can't play this video. ... My device would connect then disconnecting in an endless loop whenever I joined discord or my ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found