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

API rate limit exceeded #112

Open
uumas opened this issue Dec 4, 2022 · 3 comments
Open

API rate limit exceeded #112

uumas opened this issue Dec 4, 2022 · 3 comments

Comments

@uumas
Copy link

uumas commented Dec 4, 2022

I'm getting the following error a lot when automatically downloading subtitles (metadata refresh). It seems to be making too many requests within a short time as it succeeds again for a bit within half a minute of the error occuring. Then it errors again.

[20:11:59] [ERR] [158] Jellyfin.Plugin.OpenSubtitles.OpenSubtitleDownloader: Invalid response: TooManyRequests - {
  "message":"API rate limit exceeded"
}

Using a VIP account, same result with the default and custom API keys. Plugin version 18.0.0 from the stable repo.

@MBR-0001
Copy link
Contributor

MBR-0001 commented Dec 4, 2022

Are you running multiple servers/instances of jellyfin on the same IP? (or use a shared IP?) The only way I could get TooManyRequests is by searching for subtitles from 4-5 instances at the same time

@uumas
Copy link
Author

uumas commented Dec 4, 2022

This is a shared server so it is technically possible that someone else would be hammering their API at the same time but I find it unlikely that they would be doing it constantly. This happens both with the full library of hundreds of episodes and a single season of 20 with two languages.

@MBR-0001
Copy link
Contributor

MBR-0001 commented Dec 5, 2022

Could you temporarily enable debug logging (instructions), run the task again and post the logs here?

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

2 participants