Error: Connection not established within 15 seconds

How to fix that

Error: Error: Connection not established within 15 seconds.

at VoiceConnection.authenticateFailed (/rbd/pnpm-volume/fc605d59-499a-44f9-9deb-4f181cbaea02/node_modules/.registry.npmjs.org/discord.js/11.6.3/node_modules/discord.js/src/client/voice/VoiceConnection.js:268:27)

at connectTimeout.client.setTimeout (/rbd/pnpm-volume/fc605d59-499a-44f9-9deb-4f181cbaea02/node_modules/.registry.npmjs.org/discord.js/11.6.3/node_modules/discord.js/src/client/voice/VoiceConnection.js:297:18)

at Timeout.setTimeout (/rbd/pnpm-volume/fc605d59-499a-44f9-9deb-4f181cbaea02/node_modules/.registry.npmjs.org/discord.js/11.6.3/node_modules/discord.js/src/client/Client.js:436:7)

at ontimeout (timers.js:436:11)

at tryOnTimeout (timers.js:300:5)

at listOnTimeout (timers.js:263:5)

at Timer.processTimers (timers.js:223:10)

(node:2137) UnhandledPromiseRejectionWarning: Error: Error: Connection not established within 15 seconds.

at VoiceConnection.authenticateFailed (/rbd/pnpm-volume/fc605d59-499a-44f9-9deb-4f181cbaea02/node_modules/.registry.npmjs.org/discord.js/11.6.3/node_modules/discord.js/src/client/voice/VoiceConnection.js:268:27)

at connectTimeout.client.setTimeout (/rbd/pnpm-volume/fc605d59-499a-44f9-9deb-4f181cbaea02/node_modules/.registry.npmjs.org/discord.js/11.6.3/node_modules/discord.js/src/client/voice/VoiceConnection.js:297:18)

at Timeout.setTimeout (/rbd/pnpm-volume/fc605d59-499a-44f9-9deb-4f181cbaea02/node_modules/.registry.npmjs.org/discord.js/11.6.3/node_modules/discord.js/src/client/Client.js:436:7)

at ontimeout (timers.js:436:11)

at tryOnTimeout (timers.js:300:5)

at listOnTimeout (timers.js:263:5)

at Timer.processTimers (timers.js:223:10)

(node:2137) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)

(node:2137) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Hi @WinneRose,

I’m not entirely sure, but this discussion in GitHub may help you. Let me know if it does.

And of course, if any experienced bot makers in the community can help - please post here!