Code Monkey home page Code Monkey logo

Comments (10)

jihadkhawaja avatar jihadkhawaja commented on June 17, 2024 2

For anyone having the same issue, I solved it by downgrading to OpenJDK 13 and updating Lavalink

from victoria.

Yucked avatar Yucked commented on June 17, 2024

Does lavalink say anything in console when that happens?

And iirc SearchAsync is used for links. I might be wrong about that.

from victoria.

collectVood avatar collectVood commented on June 17, 2024

Oh yeah an error, forgot to add that.

Caused by: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false') at [Source: (org.apache.http.client.entity.LazyDecompressingInputStream); line: 2, column: 2] at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1840) ~[jackson-core-2.10.0.jar!/:2.10.0] at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:712) ~[jackson-core-2.10.0.jar!/:2.10.0] at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:637) ~[jackson-core-2.10.0.jar!/:2.10.0] at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._handleUnexpectedValue(UTF8StreamJsonParser.java:2654) ~[jackson-core-2.10.0.jar!/:2.10.0] at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._nextTokenNotInObject(UTF8StreamJsonParser.java:856) ~[jackson-core-2.10.0.jar!/:2.10.0] at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextToken(UTF8StreamJsonParser.java:753) ~[jackson-core-2.10.0.jar!/:2.10.0] at com.fasterxml.jackson.databind.ObjectMapper._readTreeAndClose(ObjectMapper.java:4231) ~[jackson-databind-2.10.0.jar!/:2.10.0] at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:2692) ~[jackson-databind-2.10.0.jar!/:2.10.0] at com.sedmelluq.discord.lavaplayer.tools.JsonBrowser.parse(JsonBrowser.java:178) ~[lavaplayer-1.3.34.jar!/:na] at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubePlaylistLoader.load(DefaultYoutubePlaylistLoader.java:40) ~[lavaplayer-1.3.34.jar!/:na] ... 14 common frames omitted

Also have been trying SearchAsync on links seems to yield the same result.

from victoria.

collectVood avatar collectVood commented on June 17, 2024

And for the Could not find tracks from mix I get this error:

`
2020-03-03 17:09:42.684 ERROR 1340 --- [ader-2-thread-1] lavalink.server.player.AudioLoader : Load failed

com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Could not find tracks from mix.
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeMixProvider.loadMixWithId(YoutubeMixProvider.java:99) ~[lavaplayer-1.3.34.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager$LoadingRoutes.mix(YoutubeAudioSourceManager.java:249) ~[lavaplayer-1.3.34.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager$LoadingRoutes.mix(YoutubeAudioSourceManager.java:228) ~[lavaplayer-1.3.34.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.routeFromUrlWithVideoId(DefaultYoutubeLinkRouter.java:91) ~[lavaplayer-1.3.34.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.routeFromMainDomain(DefaultYoutubeLinkRouter.java:61) ~[lavaplayer-1.3.34.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.route(DefaultYoutubeLinkRouter.java:39) ~[lavaplayer-1.3.34.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItemOnce(YoutubeAudioSourceManager.java:196) ~[lavaplayer-1.3.34.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItem(YoutubeAudioSourceManager.java:133) ~[lavaplayer-1.3.34.jar!/:na]
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItemOnce(DefaultAudioPlayerManager.java:437) ~[lavaplayer-1.3.34.jar!/:na]
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItem(DefaultAudioPlayerManager.java:419) ~[lavaplayer-1.3.34.jar!/:na]
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$createItemLoader$0(DefaultAudioPlayerManager.java:218) ~[lavaplayer-1.3.34.jar!/:na]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_231]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_231]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_231]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_231]
`

Formatting not working on this one for some reason, sorry.

from victoria.

Yucked avatar Yucked commented on June 17, 2024

That seems like a Lavalink failing to parse the JSON. So either something broke in Lavalink/LavaPlayer or the response returned from those sites has changed.

from victoria.

Yucked avatar Yucked commented on June 17, 2024

I'm guessing this issue got resolved? I'd be closing this now.

from victoria.

jihadkhawaja avatar jihadkhawaja commented on June 17, 2024

[Command] /play omfg hello
[LAVALINK] 2020-10-30 01:58:28.567 INFO 4184 --- [ XNIO-1 task-48] l.server.player.AudioLoaderRestHandler : GET /loadtracks
[LAVALINK] 2020-10-30 01:58:29.478 WARN 4184 --- [ader-2-thread-1] c.s.d.l.s.youtube.YoutubeSearchProvider : Failed to match ytInitialData JSON object
[LAVALINK] 2020-10-30 01:58:29.479 INFO 4184 --- [ader-2-thread-1] lavalink.server.player.AudioLoader : No matches found

from victoria.

Yucked avatar Yucked commented on June 17, 2024

?????

from victoria.

jihadkhawaja avatar jihadkhawaja commented on June 17, 2024

?????

Search always returning null, sometimes it works after retrying for more than 20 times, then it give same error again, what could be the isssue ?

from victoria.

Yucked avatar Yucked commented on June 17, 2024

That's a Lavalink issue sadly. If Lavalink doesn't return anything, Victoria won't show anything.

from victoria.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.