Skip to content

[Youtube Issue] Error when loading from YouTube (429/captcha form) #305

Description

@jagrosh

Describe the bug
YouTube has recently starting enforcing ratelimits. This is likely because streaming the data directly harms their service (as they receive no ad revenue when videos are streamed in this way). When your IP is ratelimited, no data from YouTube can be loaded, and attempting to load anything from YouTube will result in an error.

Does this affect you?

  • If you see Invalid status code for video page response: 429 in error messages, it means that your IP has been ratelimited.
  • If you see Sorry for the interruption. We have been receiving a large volume of requests from your network. in error messages, it means that YouTube is is requesting a captcha for your requests.

Solution
There is no solid solution to this at the moment. Your best options are:

  • Turn off the bot for a few days (and don't attempt to use anything that connects to YouTube from the same IP address)
  • Host from a different IP address

Version Info
This affects all connections to YouTube, regardless of which version of JMusicBot is used.

Additional Info
Here's the information that YouTube/Google provides when a music bot (or any service really) gets ratelimited:

Our systems have detected unusual traffic from your computer network. Please try your request again later. Why did this happen?
This page appears when Google automatically detects requests coming from your computer network which appear to be in violation of the Terms of Service. The block will expire shortly after those requests stop.
This traffic may have been sent by malicious software, a browser plug-in, or a script that sends automated requests. If you share your network connection, ask your administrator for help — a different computer using the same IP address may be responsible. Learn more
Sometimes you may see this page if you are using advanced terms that robots are known to use, or sending requests very quickly.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions