Version 0.19.0 stuck in connecting state

Discord Voice Connection Stuck in "Connecting" State After @discordjs/voice v0.19.0 Upgrade Setup: • discord.js@14.21.0 • @discordjs/voice@0.19.0 (upgraded from 0.18.0) • Deno runtime • Bot has proper permissions and was working this morning After upgrading from @discordjs/voice@0.18.0 to 0.19.0, voice connections get stuck in "connecting" state and never reach "ready". The bot successfully joins the voice channel but can't establish the audio connection. Logs:
Voice connection state change: signalling -> connecting
Voice connection state change: connecting -> connecting
Voice connection state change: connecting -> connecting
Voice connection stuck in connecting state for 10 seconds
Voice connection state change: signalling -> connecting
Voice connection state change: connecting -> connecting
Voice connection state change: connecting -> connecting
Voice connection stuck in connecting state for 10 seconds
Code: Standard joinVoiceChannel() call with guild.voiceAdapterCreator. No errors thrown, just perpetually stuck connecting.
2 Replies
d.js toolkit
d.js toolkit•2mo ago
d.js docs
d.js docs•2mo ago
To debug your voice connection and player: - Use debug: true when creating your VoiceConnection and AudioPlayer - Add an event listener to the <VoiceConnection> and the <AudioPlayer>:
// Add one for each class if applicable
<AudioPlayer | VoiceConnection>
.on('debug', console.log)
.on('error', console.error)
// Add one for each class if applicable
<AudioPlayer | VoiceConnection>
.on('debug', console.log)
.on('error', console.error)
- Add an error listener to the stream you are passing to the resource:
<Stream>.on('error', console.error)
<Stream>.on('error', console.error)
Note: The <> represents classes that need to be adapted to their respective name in your code

Did you find this page helpful?