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 -> connectingVoice connection state change: connecting -> connectingVoice connection state change: connecting -> connectingVoice connection stuck in connecting state for 10 seconds
Voice connection state change: signalling -> connectingVoice connection state change: connecting -> connectingVoice connection state change: connecting -> connectingVoice connection stuck in connecting state for 10 seconds
Code: Standard joinVoiceChannel() call with guild.voiceAdapterCreator. No errors thrown, just perpetually stuck connecting.
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
d-Iaa
discord.js - Imagine an app
Support server for discord.js, a Node.js module to interact with Discord's apps API.