-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[rarbg] always have issues searching after a while #11221
Comments
Radarr and Sonarr have their own RARBG indexer, so it may just be easier to use it. You're getting repeated instances of 0 results because it's being fetched from Jackett's cache, and for whatever reason it found 0 results the first time (by default the cache clears after 35mins). RARBG's API regularly fails, there's nothing we can do about that. I get 10 results for the film when using Radarr. It uses the IMDB ID (tt0434409) rather than the name. I get the same 10 results when searching Hope that helps explain what you're seeing. |
sonarr and radarr RARBG indexers fails constantly, in my opinion jackett rarbg indexer works way better |
@6cUbi57z could you add the polly retry support to the rarbg indexer? |
Can do but it might be worth considering a better way to implement it. Either something on one of the base indexer classes or on the calling code. There would also be the question of if it should be a global setting or a setting for each indexer? I'll add it to RARBG on my PR for now for a quick fix. If we think it should go on more indexers I would suggest a new issue. |
@garfield69 Looks like the RarBG indexer already uses a retry which is on the Jackett/src/Jackett.Common/Indexers/RarBG.cs Lines 135 to 143 in 8c0fcec
Jackett/src/Jackett.Common/Indexers/BaseIndexer.cs Lines 447 to 471 in 8c0fcec
I guess if it's already in the base class, there's argument for changing PR #11318 and just making it configurable on the base class. Next question would be, should it be configurable for each indexer or as a global setting? My preference would be per indexer as it can slow down API requests and I would prefer to only add retries for problematic sites. |
great news. i am glad someone trys to improve this. thank you |
re: rarbg, ah well, if there is already a retry for this and it still fails regularly, then its clearly a problem with the rarbg API server and there is nothing more that we can do from a Jackett POV. |
Completely understand this. I was hesitant to add it to the Anidex indexer but without any influence over the Anidex site it's difficult to come up with an alternative and beats going into Sonarr and hitting the test button every time it fails (especially when Sonarr makes multiple calls per search). Jackett is already acting as an abstraction layer so adding some retry logic seemed the nicest solution without adding another app or proxy. My thoughts with putting polly the base class were more around consistency. If PR #11318 is approved there will be 2 separate implementations of retry logic. It would also add flexibility to allow the user to change the retry settings without needing code changes (default to no retry) or with only a minor code change (property on the indexer classes which can be overridden to make it configurable?) Up to you. I'm happy to take on the change but if you don't think it's right I'll leave it be. |
So let me get this straight in my head. |
@garfield69 That sounds right. I've updated my merge request and put more details on there. I expect this may go back and forth a bit so lets move the discussion to the PR. |
Please use the search bar at the top of the page and make sure you are not creating an already submitted issue.
Check closed issues as well, because your issue may have already been fixed.
Please read our Contributing Guidelines before submitting your issue to ensure a prompt response to your bug.
Environment
OS: docker container
.Net Runtime: [.Net-Core/.Net-Framework/Mono]
.Net Version:
Jackett Version: v0.17.611
Last Working Jackett Version: n/a
Are you using a proxy or VPN? [yes/no] NO
Description
[List steps to reproduce the error and details on what happens and what you expected to happen]
I am using radarr with jackett indexers, the issue that i have is like in the fallowing example:
Radarr add new movie: V for Vendetta
Radarr search manually, rarbg indexer founds 0 results
I go search the rarbg site, movie is there.
I go search in jackett manually selecting: manual search -> query V for Vendetta -> tracker RARBG -> category Any
results: Manual search in rarbg for V for Vendetta => Found 0 releases
I go search in jackett manually selecting: manual search -> query Vendetta -> tracker RARBG -> category Any
results: Manual search in rarbg for Vendetta => Found 100 releases
I go search in jackett manually selecting: manual search -> query for Vendetta -> tracker RARBG -> category Any
results: Manual search in rarbg for for Vendetta => Found 15 releases
Radarr will never search for last two texts, from here will never find the movie on RARBG
I am using linuxserver/jackett:latest container.
environment:
- "TZ=Europe/Bucharest"
- AUTO_UPDATE=true
Note:
After I restart docker container that runs Jackett it works:
Searching for the same movie V for Vendetta from Radarr gives this log:
Note 2:
I forgot to mention this behavior happens from a long time already, by that I mean when I search movies in Radarr, RARBG indexer just don't work anymore. Problem is always fixed after a container restart.
Logged Error Messages
Screenshots
[Place any screenshots of the issue here if needed]
The text was updated successfully, but these errors were encountered: