mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-03-02 22:57:22 -05:00
IPTorrents search crashes indexer #753
Labels
No labels
Area: API
Area: Database
Area: Db-migration
Area: Download Clients
Area: Indexer
Area: Metadata API
Area: Notifications
Area: Tooling
Area: UI
Area: Update API
Priority: High
Priority: Low
Priority: Medium
Status: Cannot Reproduce
Status: Confirmed
Status: Help Wanted
Status: In Progress
Status: Indexer - need invite
Status: Info Needed
Status: Investigating
Status: Logs Needed
Status: Maybe One Day
Status: Needs Triage
Status: Unlikely
Status: Waiting for OP
Status: Won't Fix
Type: Bug
Type: Bug
Type: Documentation
Type: Duplicate
Type: Enhancement
Type: External Bug
Type: Feature Request
Type: Regression
Type: Support
Type: Support.
lidarr-pull
radarr-pull
sonarr upstream
sonarr-pull
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Prowlarr#753
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Jan 10, 2023).
Is there an existing issue for this?
Current Behavior
When performing a search from the Prowlarr Organizr home page to an indexer configured for IPTorrents, it crashes the indexer and makes it unavailable.
Searches from Radarr, Sonarr, and natively from Prowlarr all work fine.
The error event that Prowlarr reports:
Message:
An error occurred while processing indexer feed. : Attempted to divide by zero.
Exception:
System.DivideByZeroException: Attempted to divide by zero.
at NzbDrone.Core.Indexers.Definitions.IPTorrentsRequestGenerator.GetPagedRequests(String term, Int32[] categories, Int32 limit, Int32 offset, String imdbId)+MoveNext() in D:\a\1\s\src\NzbDrone.Core\Indexers\Definitions\IPTorrents.cs:line 197
at NzbDrone.Core.Indexers.HttpIndexerBase1.FetchReleases(Func2 pageableRequestChainSelector, Boolean isRecent) in D:\a\1\s\src\NzbDrone.Core\Indexers\HttpIndexerBase.cs:line 171
Expected Behavior
The search should return results and display them within the Organizr home page.
Steps To Reproduce
In Prowlarr: Configure an indexer using IPTorrents tracker.
In Organizr setup the Prowlarr home page item to your Prowlarr instance.

Perform a search from the Organizr home page - no results will be returned.

Look in Prowlarr and you will see the Indexer is now unavailable.


Environment
What branch are you running?
Master
Trace Logs?
gistfile1.txt