Cog-Creators / Lavalink-Jars

Repository for hosting Lavalink Jarfiles for Red-DiscordBot.
Apache License 2.0
59 stars 8 forks source link

Loading information for a YouTube track failed. #13

Closed Asiimovicek closed 8 months ago

Asiimovicek commented 8 months ago

 .    /\ | | ____ | () | | \ \ \ \  ( ( )| |/ ` \ \ / / ` | | | ' | |/ / \ \ \ \  \/ | | (| |\ V / (| | | | | | | <  ) ) ) )  ' ||_,| _/ \,|||| |||_\ / / / /  =========================================///_/

Version:        3.7.8
Build time:     03.08.2023 15:46:57 UTC
Branch          HEAD
Commit:         439f122
Commit time:    03.08.2023 15:32:39 UTC
JVM:            17.0.10
Lavaplayer      1.5.0

2024-03-11 15:47:20.166 INFO 93 --- [main] lavalink.server.Launcher : No active profile set, falling back to 1 default profile: "default" 2024-03-11 15:47:21.223 WARN 93 --- [main] io.undertow.websockets.jsr : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used 2024-03-11 15:47:21.255 INFO 93 --- [main] io.undertow.servlet : Initializing Spring embedded WebApplicationContext 2024-03-11 15:47:21.255 INFO 93 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1083 ms 2024-03-11 15:47:21.516 INFO 93 --- [main] c.s.d.l.tools.GarbageCollectionMonitor : GC monitoring enabled, reporting results every 2 minutes. 2024-03-11 15:47:22.281 INFO 93 --- [main] lavalink.server.config.KoeConfiguration : OS: LINUX, Arch: ARMv8_64 2024-03-11 15:47:22.281 INFO 93 --- [main] lavalink.server.config.KoeConfiguration : Enabling JDA-NAS 2024-03-11 15:47:22.285 INFO 93 --- [main] c.s.l.c.natives.NativeLibraryLoader : Native library udpqueue: loading with filter null 2024-03-11 15:47:22.292 INFO 93 --- [main] c.s.l.c.natives.NativeLibraryLoader : Native library udpqueue: successfully loaded. 2024-03-11 15:47:22.344 WARN 93 --- [main] l.server.config.SentryConfiguration : Turning off sentry 2024-03-11 15:47:22.714 INFO 93 --- [main] io.undertow : starting server: Undertow - 2.2.16.Final 2024-03-11 15:47:22.725 INFO 93 --- [main] org.xnio : XNIO version 3.8.6.Final 2024-03-11 15:47:22.736 INFO 93 --- [main] org.xnio.nio : XNIO NIO Implementation Version 3.8.6.Final 2024-03-11 15:47:22.817 INFO 93 --- [main] org.jboss.threads : JBoss Threads version 3.1.0.Final 2024-03-11 15:47:22.867 INFO 93 --- [main] o.s.b.w.e.undertow.UndertowWebServer : Undertow started on port(s) 2333 (http) 2024-03-11 15:47:22.873 INFO 93 --- [main] lavalink.server.Launcher : Started Launcher in 2.758 seconds (JVM running for 5.268) 2024-03-11 15:47:22.874 INFO 93 --- [main] lavalink.server.Launcher : Lavalink is ready to accept connections. 2024-03-11 15:47:22.929 INFO 93 --- [XNIO-1 task-1] io.undertow.servlet : Initializing Spring DispatcherServlet 'dispatcherServlet' 2024-03-11 15:47:22.930 INFO 93 --- [XNIO-1 task-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2024-03-11 15:47:22.931 INFO 93 --- [XNIO-1 task-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms 2024-03-11 15:47:22.951 INFO 93 --- [XNIO-1 task-1] l.server.io.HandshakeInterceptorImpl : Incoming connection from /127.0.0.1:39932 2024-03-11 15:47:23.188 INFO 93 --- [XNIO-1 task-1] lavalink.server.io.SocketServer : Connection successfully established from Red-Lavalink/0.11.0 2024-03-11 15:47:23.217 INFO 93 --- [XNIO-1 I/O-4] lavalink.server.io.SocketServer : {"op": "configureResuming", "key": "Red-Core-Audio-700268790830858276-pterodactyl", "timeout": 60} 2024-03-11 15:47:23.217 WARN 93 --- [XNIO-1 I/O-4] lavalink.server.io.WebSocketHandler : Sending websocket commands to Lavalink has been deprecated and will be removed in API version 4. API version 3 will be removed in Lavalink 5. Please use the new REST endpoints instead. 2024-03-11 15:47:30.642 INFO 93 --- [XNIO-1 task-1] l.server.player.AudioLoaderRestHandler : Got request to load for identifier "https://youtu.be/NDT6k7_y3AY?si=MR4b7EfsPKI7e0Mc" 2024-03-11 15:47:30.648 WARN 93 --- [lava-daemon-pool-info-loader-2-thread-1] c.s.d.l.s.y.YoutubeAccessTokenTracker : YouTube auth tokens can't be retrieved because email and password is not set in YoutubeAudioSourceManager, age restricted videos will throw exceptions. 2024-03-11 15:47:30.824 INFO 93 --- [XNIO-1 I/O-4] lavalink.server.io.SocketServer : {"op": "voiceUpdate", "guildId": "1014916889639669853", "sessionId": "b1145bb195572d67fd2716fefd3e789a", "event": {"token": "4b38e133b26daa0a", "guild_id": "1014916889639669853", "endpoint": "frankfurt4488.discord.media:443"}} 2024-03-11 15:47:30.942 INFO 93 --- [lava-daemon-pool-info-loader-2-thread-1] c.s.d.l.s.y.YoutubeAccessTokenTracker : Updating YouTube visitor id (current is null). 2024-03-11 15:47:31.019 INFO 93 --- [lava-daemon-pool-info-loader-2-thread-1] c.s.d.l.s.y.YoutubeAccessTokenTracker : Updating YouTube visitor id succeeded, new one is CgtZWmlBbkxhSTM0RSiTz7yvBjIKCgJVUxIEGgAgYjoKILvnt-y18sn3ZQ%3D%3D, next update will be after 600 seconds. 2024-03-11 15:47:31.049 ERROR 93 --- [lava-daemon-pool-info-loader-2-thread-1] c.s.d.l.p.DefaultAudioPlayerManager : Error in loading item https://youtu.be/NDT6k7_y3AY?si=MR4b7EfsPKI7e0Mc

com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Loading information for a YouTube track failed. at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:44) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadTrackWithVideoId(YoutubeAudioSourceManager.java:240) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager$LoadingRoutes.track(YoutubeAudioSourceManager.java:252) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager$LoadingRoutes.track(YoutubeAudioSourceManager.java:248) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.routeFromUrlWithVideoId(DefaultYoutubeLinkRouter.java:101) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.routeFromShortDomain(DefaultYoutubeLinkRouter.java:107) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.route(DefaultYoutubeLinkRouter.java:44) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItemOnce(YoutubeAudioSourceManager.java:216) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItem(YoutubeAudioSourceManager.java:147) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItemOnce(DefaultAudioPlayerManager.java:428) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItem(DefaultAudioPlayerManager.java:410) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$createItemLoader$0(DefaultAudioPlayerManager.java:208) ~[lavaplayer-1.5.0.jar!/:na] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[na:na] at java.base/java.lang.Thread.run(Thread.java:840) ~[na:na] Suppressed: com.sedmelluq.discord.lavaplayer.tools.exception.EnvironmentInformation: lavaplayer.version: 1.5.0 os.arch: aarch64 os.name: Linux os.version: 5.15.0-1051-oracle java.vendor: Debian java.version: 17.0.10 java.runtime.version: 17.0.10+7-Debian-1deb12u1 java.vm.version: 17.0.10+7-Debian-1deb12u1 Caused by: java.lang.RuntimeException: java.io.IOException: Invalid status code for video page response: 400 at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.toRuntimeException(ExceptionTools.java:66) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.loadDetails(DefaultYoutubeTrackDetailsLoader.java:38) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadTrackWithVideoId(YoutubeAudioSourceManager.java:228) ~[lavaplayer-1.5.0.jar!/:na] ... 14 common frames omitted Caused by: java.io.IOException: Invalid status code for video page response: 400 at com.sedmelluq.discord.lavaplayer.tools.io.HttpClientTools.assertSuccessWithContent(HttpClientTools.java:157) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.loadTrackInfoFromInnertube(DefaultYoutubeTrackDetailsLoader.java:240) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.load(DefaultYoutubeTrackDetailsLoader.java:48) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.loadDetails(DefaultYoutubeTrackDetailsLoader.java:36) ~[lavaplayer-1.5.0.jar!/:na] ... 15 common frames omitted

2024-03-11 15:47:31.050 ERROR 93 --- [lava-daemon-pool-info-loader-2-thread-1] lavalink.server.player.AudioLoader : Load failed

com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Loading information for a YouTube track failed. at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:44) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadTrackWithVideoId(YoutubeAudioSourceManager.java:240) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager$LoadingRoutes.track(YoutubeAudioSourceManager.java:252) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager$LoadingRoutes.track(YoutubeAudioSourceManager.java:248) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.routeFromUrlWithVideoId(DefaultYoutubeLinkRouter.java:101) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.routeFromShortDomain(DefaultYoutubeLinkRouter.java:107) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.route(DefaultYoutubeLinkRouter.java:44) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItemOnce(YoutubeAudioSourceManager.java:216) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItem(YoutubeAudioSourceManager.java:147) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItemOnce(DefaultAudioPlayerManager.java:428) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItem(DefaultAudioPlayerManager.java:410) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$createItemLoader$0(DefaultAudioPlayerManager.java:208) ~[lavaplayer-1.5.0.jar!/:na] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[na:na] at java.base/java.lang.Thread.run(Thread.java:840) ~[na:na] Suppressed: com.sedmelluq.discord.lavaplayer.tools.exception.EnvironmentInformation: lavaplayer.version: 1.5.0 os.arch: aarch64 os.name: Linux os.version: 5.15.0-1051-oracle java.vendor: Debian java.version: 17.0.10 java.runtime.version: 17.0.10+7-Debian-1deb12u1 java.vm.version: 17.0.10+7-Debian-1deb12u1 Caused by: java.lang.RuntimeException: java.io.IOException: Invalid status code for video page response: 400 at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.toRuntimeException(ExceptionTools.java:66) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.loadDetails(DefaultYoutubeTrackDetailsLoader.java:38) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadTrackWithVideoId(YoutubeAudioSourceManager.java:228) ~[lavaplayer-1.5.0.jar!/:na] ... 14 common frames omitted Caused by: java.io.IOException: Invalid status code for video page response: 400 at com.sedmelluq.discord.lavaplayer.tools.io.HttpClientTools.assertSuccessWithContent(HttpClientTools.java:157) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.loadTrackInfoFromInnertube(DefaultYoutubeTrackDetailsLoader.java:240) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.load(DefaultYoutubeTrackDetailsLoader.java:48) ~[lavaplayer-1.5.0.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.loadDetails(DefaultYoutubeTrackDetailsLoader.java:36) ~[lavaplayer-1.5.0.jar!/:na] ... 15 common frames omitted

any idea what is happening?

aikaterna commented 8 months ago

Resolved when #6305 is merged. https://github.com/Cog-Creators/Red-DiscordBot/pull/6305