Lavalink’ Hotfix

By Darren Nathanael, Lavalink Devs on Wed, May 29, 2024

Known working jars- as of publishing;

Jars

v4: https://repo.lavalink.dev/artifacts/lavalink/fe62703c/Lavalink.jar
v3: https://repo.lavalink.dev/artifacts/lavalink/b0db58a0/Lavalink.jar

Docker

v4: https://github.com/lavalink-devs/Lavalink/pkgs/container/lavalink/197704996?tag=v4-update-lp
v3: https://github.com/lavalink-devs/Lavalink/pkgs/container/lavalink/197706659?tag=v3-update-lp

Lavaplayer

ADD THE SNAPSHOT REPOSITORY: https://maven.lavalink.dev/snapshots

FOR USERS OF 1.x

1implementation 'dev.arbjerg:lavaplayer:0eaeee195f0315b2617587aa3537fa202df07ddc-SNAPSHOT'

FOR USERS OF 2.x

1implementation 'dev.arbjerg:lavaplayer:afec211f05c9dcf0b6ee44276a02f0316ea2458a-SNAPSHOT'

ISSUES: - Solved by the Jar Above.

Index 984 out of bounds for length 984.

 1java.lang.ArrayIndexOutOfBoundsException: Index 984 out of bounds for length 984
 2at moe.kyokobot.koe.crypto.XSalsa20Poly1305LiteEncryptionMode.box(XSalsa20Poly1305LiteEncryptionMode.java:22) ~[core-2.0.0-rc2.jar!/:na]
 3at moe.kyokobot.koe.internal.handler.DiscordUDPConnection.createPacket(DiscordUDPConnection.java:119) ~[core-2.0.0-rc2.jar!/:na]
 4at moe.kyokobot.koe.codec.udpqueue.UdpQueueOpusFramePoller.populateQueue(UdpQueueOpusFramePoller.java:57) ~[ext-udpqueue-2.0.0-rc2.jar!/:na]
 5at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) ~[netty-common-4.1.75.Final.jar!/:4.1.75.Final]
 6at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:469) ~[netty-common-4.1.75.Final.jar!/:4.1.75.Final]
 7at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:503) ~[netty-transport-4.1.75.Final.jar!/:4.1.75.Final]
 8at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) ~[netty-common-4.1.75.Final.jar!/:4.1.75.Final]
 9at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.75.Final.jar!/:4.1.75.Final]
10at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.75.Final.jar!/:4.1.75.Final]
11... (72 lines left)

Video returned by YouTube isn’t what was requested

Loading Twitch main page failed

Update your Lavalink/Lavaplayer (depending on what you use), and in the case of youtube issues, make sure you’re using the new source mentioned below.

youtube-source

This is a new youtube source manager to replace the built-in one. https://github.com/lavalink-devs/youtube-source

If you continue to receive the Video returned by YouTube isn't what was requested error, configure IPv6 rotation. There is no other known workaround for this.


As of May 5, 2024;

The official built-in Youtube source has been deprecated in Lavaplayer v1/v2 & Lavalink v3/v4 in favour of a new source manager/plugin Please see: https://github.com/lavalink-devs/youtube-source/

I should also add there is a new @YouTube Source Updates role which gets pinged when there are updates to the new source mamager/plugin (edited)