Skip to content

Can't play music #185

@xtAngmO

Description

@xtAngmO

Basic Troubleshooting

  • I have checked for similar issues (open AND closed), and my issue is not a duplicate. (MANDATORY)
  • I have checked for pull requests that may already address my issue. (MANDATORY)
  • I am using (and my issue is reproducible on) the latest version of youtube-source.
  • My issue is reproducible with IPv6 rotation.
  • I DO NOT confirm that this has been filled out truthfully.

Version of youtube-source

1.15.0

The search query/queries, URL(s), playlist ID(s)/URL(s) or video ID(s)/URL(s) that triggered the issue

GET /v4/loadtracks?identifier=https://www.youtube.com/watch?v%3DkPa7bsKwL-c

Code Example

N/A

## The system shows an error saying "This video requires login" even though I have provided the correct refresh token.

Exception and Stacktrace

2025-10-13T11:18:22.533Z  INFO 1 --- [Lavalink] [  XNIO-1 task-3] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "https://www.youtube.com/watch?v=kPa7bsKwL-c"
2025-10-13T11:18:23.285Z  INFO 1 --- [Lavalink] [  XNIO-1 task-3] l.server.player.AudioLoaderRestHandler   : Loaded track Lady Gaga, Bruno Mars - Die With A Smile (Official Music Video)
2025-10-13T11:18:23.292Z  INFO 1 --- [Lavalink] [  XNIO-1 task-3] l.server.io.RequestLoggingFilter         : GET /v4/loadtracks?identifier=https://www.youtube.com/watch?v%3DkPa7bsKwL-c, client=172.22.0.1
2025-10-13T11:18:23.989Z  INFO 1 --- [Lavalink] [  XNIO-1 task-3] l.server.io.RequestLoggingFilter         : PATCH /v4/sessions/wgwmi08rj3nuak21/players/805822196445741076?noReplace=True, client=172.22.0.1, payload={"voice": {"sessionId": "bf29b5cdf3403b12d970ba51d4bb28d3", "token": "f18b57867c707a1f", "endpoint": "singapore11123.discord.media:443"}}
2025-10-13T11:18:24.000Z  INFO 1 --- [Lavalink] [  XNIO-1 task-3] l.server.io.RequestLoggingFilter         : PATCH /v4/sessions/wgwmi08rj3nuak21/players/805822196445741076?noReplace=False, client=172.22.0.1, payload={"track": {"encoded": "QAAA3QMAP0xhZHkgR2FnYSwgQnJ1bm8gTWFycyAtIERpZSBXaXRoIEEgU21pbGUgKE9mZmljaWFsIE11c2ljIFZpZGVvKQAMTGFkeUdhZ2FWRVZPAAAAAAAD2GAAC2tQYTdic0t3TC1jAAEAK2h0dHBzOi8vd3d3LnlvdXR1YmUuY29tL3dhdGNoP3Y9a1BhN2JzS3dMLWMBADRodHRwczovL2kueXRpbWcuY29tL3ZpL2tQYTdic0t3TC1jL21heHJlc2RlZmF1bHQuanBnAAAHeW91dHViZQAAAAAAAAAA", "userData": {}}, "volume": 100, "position": 0, "endTime": null, "paused": false, "filters": {"equalizer": [{"band": 0, "gain": 0.0}, {"band": 1, "gain": 0.0}, {"band": 2, "gain": 0.0}, {"band": 3, "gain": 0.0}, {"band": 4, "gain": 0.0}, {"band": 5, "gain": 0.0}, {"band": 6, "gain": 0.0}, {"band": 7, "gain": 0.0}, {"band": 8, "gain": 0.0}, {"band": 9, "gain": 0.0}, {"band": 10, "gain": 0.0}, {"band": 11, "gain": 0.0}, {"band": 12, "gain": 0.0}, {"band": 13, "gain": 0.0}, {"band": 14, "gain": 0.0}]}}
2025-10-13T11:18:25.500Z  WARN 1 --- [Lavalink] [back-1-thread-1] c.s.d.l.t.p.LocalAudioTrackExecutor      : Suspicious exception for playback of kPa7bsKwL-c

com.sedmelluq.discord.lavaplayer.tools.FriendlyException: This video requires login.
        at dev.lavalink.youtube.track.YoutubeAudioTrack.process(YoutubeAudioTrack.java:134) ~[youtube-plugin-1.15.0.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:109) ~[lavaplayer-2.2.2.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$2(DefaultAudioPlayerManager.java:339) ~[lavaplayer-2.2.2.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]

2025-10-13T11:18:25.513Z  INFO 1 --- [Lavalink] [  XNIO-1 task-3] l.server.io.RequestLoggingFilter         : PATCH /v4/sessions/wgwmi08rj3nuak21/players/805822196445741076?noReplace=False, client=172.22.0.1, payload={"track": {"encoded": null}}
2025-10-13T11:18:25.518Z  INFO 1 --- [Lavalink] [  XNIO-1 task-3] l.server.io.RequestLoggingFilter         : DELETE /v4/sessions/wgwmi08rj3nuak21/players/805822196445741076, client=172.22.0.1

What is your client configuration?

server: # REST and WS server port: 2333 address: 0.0.0.0 http2: enabled: false # Whether to enable HTTP/2 support plugins: youtube: enabled: true oauth: enabled: true refreshToken: 1//0gUIAq... allowSearch: true allowDirectVideoIds: true allowDirectPlaylistIds: true clients: - TV # OAuth compatible - TVHTML5EMBEDDED # OAuth compatible - MUSIC - ANDROID_VR - WEB - WEBEMBEDDED # name: # Name of the plugin # some_key: some_value # Some key-value pair for the plugin # another_key: another_value lavalink: plugins: - dependency: "dev.lavalink.youtube:youtube-plugin:1.15.0" snapshot: false server: password: "" sources: youtube: false bandcamp: true soundcloud: true twitch: true vimeo: true nico: true http: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions