Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Audio] Lavalink.jar Status #4505

Open
aikaterna opened this issue Oct 17, 2020 · 2 comments
Open

[Audio] Lavalink.jar Status #4505

aikaterna opened this issue Oct 17, 2020 · 2 comments
Labels
Category: Cogs - Audio This is related to the Audio cog. Type: Informational Aims to provide information or facilitate discussion.

Comments

@aikaterna
Copy link
Member

aikaterna commented Oct 17, 2020

If you are experiencing any problems listed in this issue, they are known and will be addressed as soon as fixes can be identified, written, and published/pushed to a new version of Red. This issue will be edited with new information as it's available to us.

(Last updated Jan 12 2025. Please visit our support server at https://discord.gg/red if you need assistance.)

This information is for our latest Lavalink.jar, released in Aug 2024: version 3.7.12+red.1 and the Lavalink yt plugin version 1.11.2.

"Sign in if you're not a bot" or "This video requires login" or "This video is unavailable" is an IP ban that is usually resolvable by using Oauth.
"This content isn't available" means your Oauth account has been flagged and you need a new one.

With any of these choices, you will need to manage Lavalink.
You will need to pay attention to Red updates where we may update Red's Lavalink.jar or the application.yml, and integrate the changes into your own, modified copy of the application.yml.
See https://docs.discord.red/en/stable/cog_guides/audio.html#setting-up-an-unmanaged-lavalink-node-on-a-remote-vps-or-server. This is not a 1:1 guide for this situation.

"Solutions" which may or may not work for you:

With any of these methods:
You must provide your own application.yml to:
detail which sources the plugin will use
provide your Oauth information
provide the proper potoken information
outline which rotation strategy you choose to use and your IP block(s)

See the plugin readme for more information.


Release from Apr 2024, version 3.7.11+red.3

"Something broke when playing the track" with a 403 Forbidden error in Lavalink logs

A fix for this issue was added in 3.5.14. Please update your bot to that version and try again. If you continue to experience this issue, after updating please let us know.

Some users may get messages saying "Sign in to confirm you're not a bot".

This seems to be related to where the bot is being hosted - see the above message for 3.7.12


Release from Apr 2024, version 3.7.11+red.2

Some tracks are getting stuck at 0:00.

Trying to play some private videos will result in a more generic traceback that includes the JSON response from the site instead of a proper FriendlyException string.

@aikaterna aikaterna added the Type: Informational Aims to provide information or facilitate discussion. label Oct 17, 2020
@Cog-Creators Cog-Creators locked and limited conversation to collaborators Oct 17, 2020
@github-actions github-actions bot added the Status: Needs Triage This has not been labeled or discussed for handling yet. label Oct 17, 2020
@aikaterna aikaterna removed the Status: Needs Triage This has not been labeled or discussed for handling yet. label Oct 17, 2020
@Drapersniper Drapersniper pinned this issue Oct 17, 2020
@Drapersniper
Copy link
Contributor

Drapersniper commented Oct 26, 2020

Edit by aika: Superceded, comment here is regarding the 1115 build.

  • Yet another yt songs returning Something broke when playing the track.
2020-10-26 13:10:41.074  INFO 30584 --- [XNIO-1 I/O-8] lavalink.server.io.SocketServer          : {"op": "play", "guildId": "133049272517001216", "track": "QAAAgAIAHFRva3lvIEdob3VsICJVTlJBVkVMIiBMeXJpY3MACldhdER1WXVXYW4AAAAAAAOlmAALVzJfT0d5UVBxQnMAAQAraHR0cHM6Ly93d3cueW91dHViZS5jb20vd2F0Y2g/dj1XMl9PR3lRUHFCcwAHeW91dHViZQAAAAAAAAAA"}
2020-10-26 13:10:41.545 ERROR 30584 --- [lava-daemon-pool-playback-1-thread-1] c.s.d.l.t.p.LocalAudioTrackExecutor      : Error in playback of W2_OGyQPqBs

com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something broke when playing the track.
	at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:43) ~[lavaplayer-1.3.58.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:117) ~[lavaplayer-1.3.58.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:349) ~[lavaplayer-1.3.58.jar!/:na]
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:na]
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:na]
	at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]
Caused by: java.lang.NullPointerException: null
	at java.base/java.util.concurrent.ConcurrentHashMap.get(Unknown Source) ~[na:na]
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeSignatureCipherManager.getCipherKeyFromScript(YoutubeSignatureCipherManager.java:136) ~[lavaplayer-1.3.58.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeSignatureCipherManager.resolveFormatUrl(YoutubeSignatureCipherManager.java:103) ~[lavaplayer-1.3.58.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.loadBestFormatWithUrl(YoutubeAudioTrack.java:87) ~[lavaplayer-1.3.58.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:42) ~[lavaplayer-1.3.58.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:105) ~[lavaplayer-1.3.58.jar!/:na]
	... 4 common frames omitted

EDIT: Should be resolved now on build 1128

@Drapersniper Drapersniper added the Category: Cogs - Audio This is related to the Audio cog. label Oct 26, 2020
@Drapersniper
Copy link
Contributor

Errors on

        Version:        3.3.1.4
        Build:          1128
        Build time:     28.10.2020 16:23:24 UTC
        Branch          JackTheEternalVirgin
        Commit:         6f0a682
        Commit time:    29.09.2020 10:25:53 UTC
        JVM:            11.0.6
        Lavaplayer      1.3.53
2020-10-29 12:26:50.941  INFO 22864 --- [   XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op": "play", "guildId": "133049272517001216", "track": "QAABDQIAGOS6jOS6uuOBruODouODjuOCsOODqeODoAAJ576O6aKo6JeNf/////////8AY2h0dHBzOi8vY2RuLmRpc2NvcmRhcHAuY29tL2F0dGFjaG1lbnRzLzE2OTg2ODg0Njc1OTU0Mjc4NS81ODA4Mzk0NTgzODM5ODY3MTgvRnV0YXJpX25vX01vbm9ncmFtLm9nZwEBAGNodHRwczovL2Nkbi5kaXNjb3JkYXBwLmNvbS9hdHRhY2htZW50cy8xNjk4Njg4NDY3NTk1NDI3ODUvNTgwODM5NDU4MzgzOTg2NzE4L0Z1dGFyaV9ub19Nb25vZ3JhbS5vZ2cABGh0dHAAA29nZwAAAAAAAAAA", "noReplace": false, "startTime": "0"}
2020-10-29 12:30:20.073 ERROR 22864 --- [back-1-thread-5] c.s.d.l.t.p.LocalAudioTrackExecutor      : Error in playback of https://cdn.discordapp.com/attachments/169868846759542785/580839458383986718/Futari_no_Monogram.ogg

com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something went wrong when decoding the track.
        at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:44) ~[lavaplayer-1.3.53.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.executeProcessingLoop(LocalAudioTrackExecutor.java:294) ~[lavaplayer-1.3.53.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.container.ogg.OggAudioTrack.process(OggAudioTrack.java:39) ~[lavaplayer-1.3.53.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.track.DelegatedAudioTrack.processDelegate(DelegatedAudioTrack.java:25) ~[lavaplayer-1.3.53.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.source.http.HttpAudioTrack.process(HttpAudioTrack.java:54) ~[lavaplayer-1.3.53.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:105) ~[lavaplayer-1.3.53.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:349) ~[lavaplayer-1.3.53.jar!/:na]
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:na]
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:na]
        at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]
Caused by: java.lang.IllegalStateException: Cannot load the next track while the previous one has not been consumed.
        at com.sedmelluq.discord.lavaplayer.container.ogg.OggPacketInputStream.startNewTrack(OggPacketInputStream.java:56) ~[lavaplayer-1.3.53.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.container.ogg.OggTrackLoader.detectCodec(OggTrackLoader.java:41) ~[lavaplayer-1.3.53.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.container.ogg.OggTrackLoader.loadTrackBlueprint(OggTrackLoader.java:31) ~[lavaplayer-1.3.53.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.container.ogg.OggAudioTrack.processTrackLoop(OggAudioTrack.java:61) ~[lavaplayer-1.3.53.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.container.ogg.OggAudioTrack.lambda$process$0(OggAudioTrack.java:41) ~[lavaplayer-1.3.53.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.executeProcessingLoop(LocalAudioTrackExecutor.java:276) ~[lavaplayer-1.3.53.jar!/:na]
        ... 8 common frames omitted

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Category: Cogs - Audio This is related to the Audio cog. Type: Informational Aims to provide information or facilitate discussion.
Projects
None yet
Development

No branches or pull requests

2 participants