-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[Bug Report] "Error loading: Video returned by YouTube isn't what was requested" #1527
Comments
...and now, nearly two hours later, the same Youtube track plays just fine despite me doing literally nothing since. I'm honestly not sure what to say. |
Same issue here... Might be something on youtube's end. Does the bot also join and leave really fast for you? I didn't see anything in the logs that would suggest trouble. |
Same issue, it definitely is a youtube issue cause using soundcloud links works just fine. Hope they fix it soon :3 |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Same problem here, only seems to do it sometimes. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
To answer some of the comments, my copy of the bot is not disconnecting and reconnecting on its own, nor did I need to disconnect it to cause the issue, or any other strange behavior. Just the error mentioned in the issue title. I just tried it again today though and the error is back at this exact moment, so clearly it's not a one-off issue either. |
I'm experiencing the same issue. Sometimes the bot connects and disconnects immediately, and sometimes it acts as though a track is playing but produces no audio, and the position on the track stays at 00:00. If I try to play something doing a search, i.e. I'll try downgrading to 0.3.9 and see if that helps. |
This is an issue that will need to be addressed in lavaplayer, the library this bot uses to fetch music. Also, downgrading is unlikely to fix the issue, it's restarting the bot that is likely clearing some cached value which may be allowing things to temporarily work. |
i get this too. i am running it on portainer with the craumix repo
and sometimes even a restart doesnt fix it |
And yet downgrading does, in fact, cause the bot to work while restarting did not. I tried it again at the time of my last comment to be sure. Steps I took below:
|
Did some more testing for kicks, first with the new version, then with the previous (no alternating this time). Steps taken:
Latest version success rate: 5 out of 15 attempts. the successes were not consecutive. |
Downgrading from 0.4 to 0.3.9 also fixed it for me. |
I believe it is fixed by e.g. yt-dlp/yt-dlp/pull/9553 regarding lavaplayer using Android as the default client. Same issue, I think. Based on discussions. So something in 0.4.0 involved that same issue most likely. I am going to try a downgrade while this gets worked out <3 edit 0.3.9 worked briefly but sort of broken again, alas! |
Attempted a revert to 0.3.9 and now the issue isn't present anymore. Will wait until next version to upgrade. Thanks! |
Any way to downgrade to 0.3.9 using the Docker container? |
If you are using portainer what i did was change the image from “craumix/jmusicbot:latest”(if ur using craumix’s one) to “craumix/jmusicbot:0.3.9”, therefore changing the version it uses. |
Can confirm, reverting 49c3ec7 fixes the issue |
This comment was marked as outdated.
This comment was marked as outdated.
Confirmed.... 0.3.9 works for me with no issues. Thanks @Djinnistorm |
Confirmed that reverting to 0.3.9 fixed the issue for me. |
0.3.9 works fine, thanks @Djinnistorm |
For reference: lavalink-devs/lavaplayer#90 (comment) |
Unraid Hi Y'all I'm using Unraid, more specific this repo: criscrafter/jmusicbot Do anyone of you know how I revert to 0.3.9 ?? Or even better, do you know how to fix 0.4.0? |
try doing what i said above |
I tried to do that. by changing the repo to: craumix/jmusicbot:0.3.9 I have checked allready checked the token in config and its the correct one. hmm. |
well im sorry then, i dont know what’s happening there, i havent used unraid in a while. maybe try deleting the current config and let it generate a new one? |
@AndreiWasFound The uploader for the App on Unraid does not have the tags that we need. Here is the DockerHub page |
No, fortunately you can just add the container manually or adjust the repository for your current container and check if the paths still work out. You are not forced/required to use the Community Apps on Unraid. I responded to Lundte with what is most likely the culprit of his issues. |
For the craumix Image you just add the path, that the config is in, compared to a lot of other docker images where you directly mount the config.txt . eg. your current config looks something like /path/to/config.txt:/app/config.txt:ro but the craumix image expects: /path/to:/jmb/config:ro Config being a directory instead of a file in this case. Something like this. |
looks like they figured it out over at lavalink-devs/lavaplayer#93 - we'll just have to wait and see how long it takes to merge into lavaplayer and @jagrosh to put out an update |
rolling back 0.3.9 resolved the issue above for me: Error Loading... and not loading youtube, immediatley disconnecting etc. |
If anyone is using my Docker image, I will release a version with the old 0.39 version this week. I was going to wait until the problem was solved but it seems more than a dozen people are using it lol |
[TEMPORARY FIX] |
confirm this bus too, and the temporary fix work also. |
If you have criscrafter/jmusicbot:latest Config Type: Variable |
For consolidation purposes, we're going to continue tracking this bug in #1537. My latest comment on that issue has a temporary solution for anyone who can't wait for 0.4.1 to release |
|
Bug Description
Updated to 0.4.0 on the 8th. Last request that worked was on the 26th, bot was not in use again until today. Today, no youtube requests work. I instead got the error "Error loading: Video returned by YouTube isn't what was requested." I then restarted the bot, and when I tried to play a youtube video, it responded that it was adding the request to begin playing...but did not play any tracks. I then closed it and booted up the previous version, which worked normally. Finally, we opened the latest version again and made one last request, only to get the error mentioned previously again.
Soundcloud requests, however, still work on the latest version, as do requests to local files.
Steps to Reproduce
Expected Result
I expected the bot to play music from youtube
Debug Output
Additional Info
I'm not entirely sure why the debug info indicates Java version is 16.0.1 when running java -version indicates I'm running OpenJDK 11.0.20. My apologies if this is related.
Console contents at time of request:
Checklist
The text was updated successfully, but these errors were encountered: