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

[19:08:31] [ERROR] [LocalAudioTrackExecutor]: Error in playback of KJmcEAwazD0 #452

Closed
Truzedo opened this issue Jul 2, 2020 · 2 comments

Comments

@Truzedo
Copy link

Truzedo commented Jul 2, 2020

debug_information.txt
Describe the bug
Youtube changed their API calls again I know, so this may be a side effect. But anytime we start the bot up with our standard playlist we keep getting several songs skipped at beginning of default list. This started happening about 2 versions ago. But happens consistently in the last 2 weeks from today.

To Reproduce
Steps to reproduce the behavior:

  1. Run with '...'
  2. Do a command '....'
  3. Some other step '....'

Expected behavior
Default playlist play as normal and not have any "Something broke when playing the track" messages in nohup.out

Screenshots
beatbot@mcmain:~$ view nohup.out
[19:08:28] [INFO] [Startup]: Loaded config from /home/beatbot/config.txt
[19:08:28] [INFO] [JDA]: Login Successful!
[19:08:29] [INFO] [WebSocketClient]: Connected to WebSocket
[19:08:30] [INFO] [JDA]: Finished Loading!
[19:08:31] [ERROR] [LocalAudioTrackExecutor]: Error in playback of KJmcEAwazD0
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something broke when playing the track.
at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:43)
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:117)
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:349)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: java.io.IOException: Invalid status code for video page response: 429
at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.loadDetails(DefaultYoutubeTrackDetailsLoader.java:28)
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.loadBestFormatWithUrl(YoutubeAudioTrack.java:75)
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:42)
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:105)
... 4 common frames omitted
Caused by: java.io.IOException: Invalid status code for video page response: 429
at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.load(DefaultYoutubeTrackDetailsLoader.java:39)
at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.loadDetails(DefaultYoutubeTrackDetailsLoader.java:26)
... 7 common frames omitted
[19:08:31] [ERROR] [LocalAudioTrackExecutor]: Error in playback of gYR0xP1j4PY
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something broke when playing the track.
at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:43)
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:117)

Debug Info
JMusicBot-0.2.9-Linux.jar
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
Java Version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
Please run the debug command and paste it here or upload it as an attachment. If you cannot run the command, please provide information about your system such as operating system version, JMusicBot version, etc.

Additional context
Discord channel does not reflect current song its playing anymore either.

@Sanduhr32
Copy link
Contributor

Sanduhr32 commented Jul 4, 2020

Caused by: java.lang.RuntimeException: java.io.IOException: Invalid status code for video page response: 429

You are being blocked by YouTube, because you use it to frequently, without being signed in / solving anti spam captchas.

This issue is a duplicate of #305

@jagrosh
Copy link
Owner

jagrosh commented Jul 4, 2020

Duplicate of #305

@jagrosh jagrosh marked this as a duplicate of #305 Jul 4, 2020
@jagrosh jagrosh closed this as completed Jul 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants