theotherp / nzbhydra2

Usenet meta search
Other
1.23k stars 75 forks source link

Temporary Disabling of Indexers after system wakes up from Sleep #779

Open ajax1337 opened 2 years ago

ajax1337 commented 2 years ago

I run NZBh on a Xeon and when its not running anything the system goes to sleep and once it wakes up it takes some time (approx 60-80sec) for it to establish network connection ,meanwhile nzbh2 disables my indexers listed through jackett and even nzbs too .Is there a way to fix this issue.


Because an error occurred KICKASS will be temporarily disabled until 2022-06-13T11:25:43.384Z. This is error number 4 in a row
--
2022-06-13 15:55 |   | Torznab | KICKASS: timeout
2022-06-13 15:55 |   | Torznab | Because an error occurred 1337X will be temporarily disabled until 2022-06-13T11:25:43.384Z. This is error number 4 in a row
2022-06-13 15:55 |   | Torznab | Because an error occurred Torrent Galaxy will be temporarily disabled until 2022-06-13T11:25:43.384Z. This is error number 4 in a row
2022-06-13 15:55 |   | Torznab | Because an error occurred torrentv will be temporarily disabled until 2022-06-13T10:30:43.384Z. This is error number 1 in a row
2022-06-13 15:55 |   | Torznab | Because an error occurred TPB will be temporarily disabled until 2022-06-13T11:25:43.384Z. This is error number 4 in a row
2022-06-13 15:55 |   | Torznab | Because an error occurred Lime Torrents will be temporarily disabled until 2022-06-13T11:25:43.384Z. This is error number 4 in a row
2022-06-13 15:55 |   | Torznab | Because an error occurred RARBG will be temporarily disabled until 2022-06-13T11:25:43.384Z. This is error number 4 in a row
2022-06-13 15:55 |   | Torznab | Torrent Galaxy: Read timed out
2022-06-13 15:55 |   | Torznab | 1337X: Read timed out
2022-06-13 15:55 |   | Torznab | torrentv: Read timed out
2022-06-13 15:55 |   | Torznab | TPB: Read timed out
2022-06-13 15:55 |   | Torznab | Lime Torrents: Read timed out
2022-06-13 15:55 |   | Torznab | RARBG: Read timed out
2022-06-13 15:55 |   | IndexerWebAccess | Error communicating with indexer
2022-06-13 15:55 |   | IndexerWebAccess | Error communicating with indexer
2022-06-13 15:55 |   | IndexerWebAccess | Error communicating with indexer
2022-06-13 15:55 |   | IndexerWebAccess | Error communicating with indexer
2022-06-13 15:55 |   | IndexerWebAccess | Error communicating with indexer
2022-06-13 15:55 |   | IndexerWebAccess | Error communicating with indexer
2022-06-13 15:55 |   | IndexerWebAccess | Error communicating with indexer
2022-06-13 15:55 |   | Newznab | Because an error occurred NZB Finder will be temporarily disabled until 2022-06-13T11:25:41.117Z. This is error number 4 in a row
2022-06-13 15:55 |   | Newznab | NZB Finder: nzbfinder.ws
2022-06-13 15:55 |   | IndexerWebAccess | Error communicating with indexer
2022-06-13 15:55 |   | ExternalApi | Putting search result into cache
2022-06-13 15:55 |   | ExternalApi | Search took 11033ms. Returning 0 results
2022-06-13 15:55 |   | Newznab | Because an error occurred nzbplanet will be temporarily disabled until 2022-06-13T10:55:41.038Z. This is error number 3 in a row
2022-06-13 15:55 |   | Newznab | Because an error occurred nzb.su will be temporarily disabled until 2022-06-13T10:55:41.038Z. This is error number 3 in a row
2022-06-13 15:55 |   | Newznab | Because an error occurred NZB Finder will be temporarily disabled until 2022-06-13T10:55:41.038Z. This is error number 3 in a row
2022-06-13 15:55 |   | Newznab | nzb.su: Indexer did not complete request within 10 seconds
2022-06-13 15:55 |   | Newznab | nzbplanet: Indexer did not complete request within 10 seconds
2022-06-13 15:55 |   | Newznab | NZB Finder: Indexer did not complete request within 10 seconds
2022-06-13 15:55 |   | ExternalApi | Putting search result into cache
2022-06-13 15:55 |   | ExternalApi | Search took 10069ms. Returning 0 results
2022-06-13 15:55 |   | Torznab | Because an error occurred Torrent Galaxy will be temporarily disabled until 2022-06-13T10:55:40.068Z. This is error number 3 in a row
2022-06-13 15:55 |   | Torznab | Torrent Galaxy: Read timed out
2022-06-13 15:55 |   | Torznab | Because an error occurred TPB will be temporarily disabled until 2022-06-13T10:55:40.068Z. This is error number 3 in a row
2022-06-13 15:55 |   | Torznab | Because an error occurred Lime Torrents will be temporarily disabled until 2022-06-13T10:55:40.068Z. This is error number 3 in a row
2022-06-13 15:55 |   | Torznab | Because an error occurred KICKASS will be temporarily disabled until 2022-06-13T10:55:40.068Z. This is error number 3 in a row
2022-06-13 15:55 |   | Torznab | Because an error occurred eztv will be temporarily disabled until 2022-06-13T10:30:40.068Z. This is error number 1 in a row
2022-06-13 15:55 |   | Torznab | Because an error occurred RARBG will be temporarily disabled until 2022-06-13T10:55:40.067Z. This is error number 3 in a row
2022-06-13 15:55 |   | Torznab | Because an error occurred 1337X will be temporarily disabled until 2022-06-13T10:55:40.067Z. This is error number 3 in a row
2022-06-13 15:55 |   | Torznab | Lime Torrents: timeout
2022-06-13 15:55 |   | Torznab | TPB: Read timed out
2022-06-13 15:55 |   | Torznab | eztv: Read timed out
2022-06-13 15:55 |   | Torznab | KICKASS: Read timed out
2022-06-13 15:55 |   | Torznab | RARBG: Read timed out
2022-06-13 15:55 |   | Torznab | 1337X: Read timed out
2022-06-13 15:55 |   | IndexerWebAccess | Error communicating with indexer
2022-06-13 15:55 |   | IndexerWebAccess | Error communicating with indexer
2022-06-13 15:55 |   | IndexerWebAccess | Error communicating with indexer
2022-06-13 15:55 |   | IndexerWebAccess | Error communicating with indexer
2022-06-13 15:55 |   | IndexerWebAccess | Error communicating with indexer
2022-06-13 15:55 |   | IndexerWebAccess | Error communicating with indexer
2022-06-13 15:55 |   | IndexerWebAccess | Error communicating with indexer
2022-06-13 15:55 |   | Torznab | 0Magnet: Successfully executed search call in 16ms with 0 total results
2022-06-13 15:55 |   | Torznab | eztv: Successfully executed search call in 16ms with 0 total results
2022-06-13 15:55 |   | Newznab | nzbplanet: Calling https://nzbplanet.net/api?apikey=12e97815528da2a325efc6339399068b&t=movie&extended=1&password=0&cat=2000&limit=1000&offset=0
2022-06-13 15:55 |   | Newznab | nzb.su: Calling https://api.nzb.su/api?apikey=7cacb20e0e830fd8c96618703207deb7&t=movie&extended=1&password=0&cat=2000&limit=1000&offset=0
2022-06-13 15:55 |   | Newznab | NZB Finder: Calling https://nzbfinder.ws/api?apikey=afd653012c103246aa5cbe86f4fc8ea8&t=movie&extended=1&password=0&cat=2000&limit=1000&offset=0
2022-06-13 15:55 |   | IndexerForSearchSelector | Selected 3 out of 12 indexers: NZB Finder, nzb.su, nzbplanet
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using torrentv because torznab indexers cannot be used by API NZB searches
2022-06-13 15:55 |   | Torznab | torrentv: Calling http://127.0.0.1:9117/api/v2.0/indexers/torrentv/results/torznab/api?apikey=hwwmo2jfho0ov8kper1gk97jgiyatcme&t=search&extended=1&password=0&cat=2000&limit=1000
2022-06-13 15:55 |   | Torznab | 0Magnet: Calling http://127.0.0.1:9117/api/v2.0/indexers/0magnet/results/torznab/api?apikey=hwwmo2jfho0ov8kper1gk97jgiyatcme&t=search&extended=1&password=0&cat=2000&limit=1000
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using eztv because torznab indexers cannot be used by API NZB searches
2022-06-13 15:55 |   | Torznab | Torrent Galaxy: Calling http://127.0.0.1:9117/api/v2.0/indexers/torrentgalaxy/results/torznab/api?apikey=hwwmo2jfho0ov8kper1gk97jgiyatcme&t=movie&extended=1&password=0&cat=2000&limit=1000
2022-06-13 15:55 |   | Torznab | RARBG: Calling http://127.0.0.1:9117/api/v2.0/indexers/rarbg/results/torznab/api?apikey=hwwmo2jfho0ov8kper1gk97jgiyatcme&t=search&extended=1&password=0&cat=2000&limit=1000
2022-06-13 15:55 |   | Torznab | eztv: Calling http://127.0.0.1:9117/api/v2.0/indexers/eztv/results/torznab/api?apikey=hwwmo2jfho0ov8kper1gk97jgiyatcme&t=search&extended=1&password=0&cat=2000&limit=1000
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using 1337X because torznab indexers cannot be used by API NZB searches
2022-06-13 15:55 |   | Torznab | 1337X: Calling http://127.0.0.1:9117/api/v2.0/indexers/1337x/results/torznab/api?apikey=hwwmo2jfho0ov8kper1gk97jgiyatcme&t=search&extended=1&password=0&cat=2000&limit=1000
2022-06-13 15:55 |   | Torznab | TPB: Calling http://127.0.0.1:9117/api/v2.0/indexers/thepiratebay/results/torznab/api?apikey=hwwmo2jfho0ov8kper1gk97jgiyatcme&t=search&extended=1&password=0&cat=2000&limit=1000
2022-06-13 15:55 |   | Torznab | Lime Torrents: Calling http://127.0.0.1:9117/api/v2.0/indexers/limetorrents/results/torznab/api?apikey=hwwmo2jfho0ov8kper1gk97jgiyatcme&t=search&extended=1&password=0&cat=2000&limit=1000
2022-06-13 15:55 |   | Torznab | KICKASS: Calling http://127.0.0.1:9117/api/v2.0/indexers/kickasstorrents-ws/results/torznab/api?apikey=hwwmo2jfho0ov8kper1gk97jgiyatcme&t=search&extended=1&password=0&cat=2000&limit=1000
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using Lime Torrents because torznab indexers cannot be used by API NZB searches
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using 0Magnet because torznab indexers cannot be used by API NZB searches
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using Torrent Galaxy because torznab indexers cannot be used by API NZB searches
2022-06-13 15:55 |   | IndexerForSearchSelector | Selected 9 out of 12 indexers: KICKASS, TPB, RARBG, Torrent Galaxy, 0Magnet, Lime Torrents, 1337X, eztv, torrentv
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using RARBG because torznab indexers cannot be used by API NZB searches
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using nzbplanet because a torrent search is requested
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using TPB because torznab indexers cannot be used by API NZB searches
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using nzb.su because a torrent search is requested
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using KICKASS because torznab indexers cannot be used by API NZB searches
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using NZB Finder because a torrent search is requested
2022-06-13 15:55 |   | ExternalApi | Executing new search
2022-06-13 15:55 |   | ExternalApi | Updating search because cache time is exceeded
2022-06-13 15:55 |   | ExternalApi | Received external torznab API call: NewznabParameters{t=MOVIE, cat=[2000], offset=0, limit=100, raw=false, o=XML, attrs=[], extended=true, indexers=[]}
2022-06-13 15:55 |   | ExternalApi | Executing new search
2022-06-13 15:55 |   | ExternalApi | Updating search because cache time is exceeded
2022-06-13 15:55 |   | ExternalApi | Received external newznab API call: NewznabParameters{t=MOVIE, cat=[2000], offset=0, limit=100, raw=false, o=XML, attrs=[], extended=true, indexers=[]}
2022-06-13 15:55 |   | Torznab | 0Magnet: Successfully executed search call in 23ms with 0 total results
2022-06-13 15:55 |   | Torznab | torrentv: Successfully executed search call in 23ms with 0 total results
2022-06-13 15:55 |   | Newznab | nzbplanet: Calling https://nzbplanet.net/api?apikey=12e97815528da2a325efc6339399068b&t=tvsearch&extended=1&password=0&cat=5000&limit=1000&offset=0
2022-06-13 15:55 |   | Newznab | nzb.su: Calling https://api.nzb.su/api?apikey=7cacb20e0e830fd8c96618703207deb7&t=tvsearch&extended=1&password=0&cat=5000&limit=1000&offset=0
2022-06-13 15:55 |   | Newznab | NZB Finder: Calling https://nzbfinder.ws/api?apikey=afd653012c103246aa5cbe86f4fc8ea8&t=tvsearch&extended=1&password=0&cat=5000&limit=1000&offset=0
2022-06-13 15:55 |   | IndexerForSearchSelector | Selected 3 out of 12 indexers: NZB Finder, nzb.su, nzbplanet
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using torrentv because torznab indexers cannot be used by API NZB searches
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using eztv because torznab indexers cannot be used by API NZB searches
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using 1337X because torznab indexers cannot be used by API NZB searches
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using Lime Torrents because torznab indexers cannot be used by API NZB searches
2022-06-13 15:55 |   | Torznab | 0Magnet: Calling http://127.0.0.1:9117/api/v2.0/indexers/0magnet/results/torznab/api?apikey=hwwmo2jfho0ov8kper1gk97jgiyatcme&t=search&extended=1&password=0&cat=5000&limit=1000
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using 0Magnet because torznab indexers cannot be used by API NZB searches
2022-06-13 15:55 |   | Torznab | torrentv: Calling http://127.0.0.1:9117/api/v2.0/indexers/torrentv/results/torznab/api?apikey=hwwmo2jfho0ov8kper1gk97jgiyatcme&t=search&extended=1&password=0&cat=5000&limit=1000
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using Torrent Galaxy because torznab indexers cannot be used by API NZB searches
2022-06-13 15:55 |   | Torznab | Torrent Galaxy: Calling http://127.0.0.1:9117/api/v2.0/indexers/torrentgalaxy/results/torznab/api?apikey=hwwmo2jfho0ov8kper1gk97jgiyatcme&t=search&extended=1&password=0&cat=5000&limit=1000
2022-06-13 15:55 |   | Torznab | RARBG: Calling http://127.0.0.1:9117/api/v2.0/indexers/rarbg/results/torznab/api?apikey=hwwmo2jfho0ov8kper1gk97jgiyatcme&t=tvsearch&extended=1&password=0&cat=5000&limit=1000
2022-06-13 15:55 |   | Torznab | eztv: Calling http://127.0.0.1:9117/api/v2.0/indexers/eztv/results/torznab/api?apikey=hwwmo2jfho0ov8kper1gk97jgiyatcme&t=search&extended=1&password=0&cat=5000&limit=1000
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using RARBG because torznab indexers cannot be used by API NZB searches
2022-06-13 15:55 |   | Torznab | 1337X: Calling http://127.0.0.1:9117/api/v2.0/indexers/1337x/results/torznab/api?apikey=hwwmo2jfho0ov8kper1gk97jgiyatcme&t=search&extended=1&password=0&cat=5000&limit=1000
2022-06-13 15:55 |   | Torznab | TPB: Calling http://127.0.0.1:9117/api/v2.0/indexers/thepiratebay/results/torznab/api?apikey=hwwmo2jfho0ov8kper1gk97jgiyatcme&t=search&extended=1&password=0&cat=5000&limit=1000
2022-06-13 15:55 |   | Torznab | KICKASS: Calling http://127.0.0.1:9117/api/v2.0/indexers/kickasstorrents-ws/results/torznab/api?apikey=hwwmo2jfho0ov8kper1gk97jgiyatcme&t=search&extended=1&password=0&cat=5000&limit=1000
2022-06-13 15:55 |   | Torznab | Lime Torrents: Calling http://127.0.0.1:9117/api/v2.0/indexers/limetorrents/results/torznab/api?apikey=hwwmo2jfho0ov8kper1gk97jgiyatcme&t=search&extended=1&password=0&cat=5000&limit=1000
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using TPB because torznab indexers cannot be used by API NZB searches
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using KICKASS because torznab indexers cannot be used by API NZB searches
2022-06-13 15:55 |   | IndexerForSearchSelector | Selected 9 out of 12 indexers: KICKASS, TPB, RARBG, Torrent Galaxy, 0Magnet, Lime Torrents, 1337X, eztv, torrentv
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using nzbplanet because a torrent search is requested
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using nzb.su because a torrent search is requested
2022-06-13 15:55 |   | IndexerForSearchSelector | Not using NZB Finder because a torrent search is requested
2022-06-13 15:55 |   | ExternalApi | Executing new search
2022-06-13 15:55 |   | ExternalApi | Executing new search
2022-06-13 15:55 |   | CategoryProvider | Search supplied multiple main categories: 7030,7020,5070,5040,5030,5000,2000. Will use TV
2022-06-13 15:55 |   | CategoryProvider | Search supplied a general category and a subcategory: 5040,5030,5000. Will use the category TV
2022-06-13 15:55 |   | ExternalApi | Updating search because cache time is exceeded
2022-06-13 15:55 |   | ExternalApi | Updating search because cache time is exceeded
2022-06-13 15:55 |   | ExternalApi | Received external newznab API call: NewznabParameters{t=TVSEARCH, cat=[5000, 5030, 5040], offset=0, limit=100, raw=false, o=XML, attrs=[], extended=true, indexers=[]}
2022-06-13 15:55 |   | ExternalApi | Received external torznab API call: NewznabParameters{t=TVSEARCH, cat=[5000, 5030, 5040, 5070, 7020, 7030, 2000], offset=0, limit=100, raw=false, o=XML, attrs=[], extended=true, indexers=[]}

theotherp commented 2 years ago

I'm not sure how you could prevent that. There's an option to ignore all errors (e.g. even disabled indexers are used or are never disabled in the first place). You could also increase the timeout to 90 seconds but that has obviously quite some downsides. It might be best to prevent the tool that makes the requests (*arr or sickbeard or whatever) to not make them but I wouldn't know how to do that.

ajax1337 commented 2 years ago

im using radarr and sonarr ,from the ExternalApi call it looks like its sonarr making the calls, neither do i know how to prevent them from checking indexers , i shall try "ignore all errors" option.

ajax1337 commented 2 years ago

is their a way to reduce the temporary limit to timing

theotherp commented 2 years ago

No