jellyfin / jellyfin-plugin-opensubtitles

Home Page:https://jellyfin.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API rate limit exceeded

uumas opened this issue · comments

commented

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.

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

commented

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.

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