Open Pastel-Industries opened 2 years ago
Could you copy & paste the entire error, as there should be more text above?
the new update fixes the error. dont forget to change your config file to 3.8 too and use supervisorctl reread and supervisorctl update (if using supervisor) or restart
Changing config file to 3.8 didn't help. Here's the full error:
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something went wrong when looking up the track at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:44) at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.dispatchItemLoadFailure(DefaultAudioPlayerManager.java:236) at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$createItemLoader$0(DefaultAudioPlayerManager.java:225) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at com.sedmelluq.discord.lavaplayer.tools.OrderedExecutor$ChannelRunnable.executeQueue(OrderedExecutor.java:98) at com.sedmelluq.discord.lavaplayer.tools.OrderedExecutor$ChannelRunnable.run(OrderedExecutor.java:87) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) Suppressed: com.sedmelluq.discord.lavaplayer.tools.exception.EnvironmentInformation: lavaplayer.version: 1.3.78 os.arch: amd64 os.name: Linux os.version: 5.17.1-arch1-1 java.vendor: N/A java.version: 17.0.3 java.runtime.version: 17.0.3+3 java.vm.version: 17.0.3+3 Caused by: java.lang.RuntimeException: java.util.zip.ZipException: Corrupt GZIP trailer at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:58) at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeSearchProvider.loadSearchResult(YoutubeSearchProvider.java:74) at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager$LoadingRoutes.search(YoutubeAudioSourceManager.java:262) at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager$LoadingRoutes.search(YoutubeAudioSourceManager.java:228) at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.route(DefaultYoutubeLinkRouter.java:35) at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItemOnce(YoutubeAudioSourceManager.java:196) at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItem(YoutubeAudioSourceManager.java:131) at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItemOnce(DefaultAudioPlayerManager.java:436) at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItem(DefaultAudioPlayerManager.java:418) at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$createItemLoader$0(DefaultAudioPlayerManager.java:217) ... 6 common frames omitted Caused by: java.util.zip.ZipException: Corrupt GZIP trailer at java.base/java.util.zip.GZIPInputStream.readTrailer(GZIPInputStream.java:225) at java.base/java.util.zip.GZIPInputStream.read(GZIPInputStream.java:119) at org.apache.http.client.entity.LazyDecompressingInputStream.read(LazyDecompressingInputStream.java:70) at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:244) at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:284) at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:343) at org.jsoup.internal.ConstrainableInputStream.read(ConstrainableInputStream.java:64) at java.base/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:270) at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:313) at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:188) at java.base/java.io.InputStreamReader.read(InputStreamReader.java:177) at java.base/java.io.BufferedReader.fill(BufferedReader.java:162) at java.base/java.io.BufferedReader.read1(BufferedReader.java:213) at java.base/java.io.BufferedReader.read(BufferedReader.java:287) at org.jsoup.parser.CharacterReader.bufferUp(CharacterReader.java:81) at org.jsoup.parser.CharacterReader.current(CharacterReader.java:129) at org.jsoup.parser.TokeniserState.readRawData(TokeniserState.java:1682) at org.jsoup.parser.TokeniserState.access$200(TokeniserState.java:8) at org.jsoup.parser.TokeniserState$6.read(TokeniserState.java:76) at org.jsoup.parser.Tokeniser.read(Tokeniser.java:58) at org.jsoup.parser.TreeBuilder.runParser(TreeBuilder.java:76) at org.jsoup.parser.TreeBuilder.parse(TreeBuilder.java:52) at org.jsoup.parser.Parser.parseInput(Parser.java:49) at org.jsoup.helper.DataUtil.parseInputStream(DataUtil.java:216) at org.jsoup.helper.DataUtil.load(DataUtil.java:107) at org.jsoup.Jsoup.parse(Jsoup.java:167) at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeSearchProvider.loadSearchResult(YoutubeSearchProvider.java:70) ... 14 common frames omitted
This seems to be difficult to troubleshoot. YouTube might've rolled out a change to a portion of users, which breaks MusicBot for them. As I can't get this issue reproduced myself, could you join our Discord server, then @ me (Michaili#1397) so we can more easily look into this?
Bug Description
When trying to play a song, bot gives the following error:
Error loading track.
Steps to Reproduce
Expected Result
Playing music trough voice channel
Debug Output
debug_information.txt
Additional Info
No response
Checklist