pymedusa / Medusa

Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic.
https://pymedusa.com
GNU General Public License v3.0
1.8k stars 276 forks source link

Error getting caps xml for: hydra #9363

Closed digitalgp closed 3 years ago

digitalgp commented 3 years ago

After the last updates. I have problems connecting to nzbhydra from medusa. This has been working for months before this happend. Nzb provider configured directly in medusa works and torrents works.

I get these messages with every search. EARCHQUEUE-BACKLOG-305719 :: hydra :: [54da0c7] Error getting caps xml for: hydra 2021-03-19 00:06:45 WARNING SEARCHQUEUE-BACKLOG-305719 :: hydra :: [54da0c7] Error getting caps xml for: hydra 2021-03-19 00:05:45 WARNING SEARCHQUEUE-BACKLOG-305719 :: hydra :: [54da0c7] Error getting caps xml for: hydra 2021-03-19 00:04:45 WARNING SEARCHQUEUE-BACKLOG-305719 :: hydra :: [54da0c7] Error getting caps xml for: hydra 2021-03-19 00:03:45 WARNING SEARCHQUEUE-BACKLOG-305719 :: hydra :: [54da0c7] Error getting caps xml for: hydra 2021-03-19 00:02:45 WARNING SEARCHQUEUE-BACKLOG-305719 :: hydra :: [54da0c7] Error getting caps xml for: hydra

I even made a new provider and pointed that to hydra and i then got the same error: Thread :: [54da0c7] Error getting caps xml for: newhydra

I then installed sonarr to verify that the error is in medusa and sonarr did works with the same hydra settings.

Medusa Info: Branch: masterCommit: 54da0c77d705a23f1ce67945ba4af3e1b978dcfcVersion: UnknownDatabase: 44.18
Python Version: 3.9.1 (default, Feb 6 2021, 06:49:13) [GCC 10.2.0]
SSL Version: OpenSSL 1.1.1j 16 Feb 2021
OS: Linux-5.10.1-Unraid-x86_64-with-glibc2.33
Locale: en_GB.UTF-8
medariox commented 3 years ago

Nothing has changed on our side. Did you update Nzbhydra? Also we request debug logs for a reason. Please include debug logs if you want support, as we can't really help otherwise.

digitalgp commented 3 years ago

Yes hydra was updated to. I enabled debug logs. and found the changed docker that was the problem. Log: 2021-03-19 01:39:53 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] Found 0 unique search results 2021-03-19 01:39:53 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] Could not find all candidates in cache, searching provider. 2021-03-19 01:39:53 INFO FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] Performing season pack search for Pennyworth 2021-03-19 01:39:53 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] Fallback season pack search initiated 2021-03-19 01:39:53 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] Found 0 unique search results 2021-03-19 01:39:53 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] No data returned from provider 2021-03-19 01:39:53 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] The response returned a non-200 response while requesting url **api Error: HTTPError('503 Server Error: Connect failed for url: **api?t=search&limit=100&offset=0&cat=5000%2C5040%2C5030&maxage=3000&apikey=**&q=Pennyworth+S02E06') 2021-03-19 01:39:53 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] User-Agent: Medusa/0.5.10 (Linux; 5.10.1-Unraid; 39c6477a-884b-11eb-a121-0242ac110005) 2021-03-19 01:39:53 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] GET URL: **api?t=search&limit=100&offset=0&cat=5000%2C5040%2C5030&maxage=3000&apikey=**&q=Pennyworth+S02E06 [Status: 503] 2021-03-19 01:39:23 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] Using proxy: http://192.168.10.20:8118 for ProviderSession 2021-03-19 01:39:23 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] Search show using search string: Pennyworth S02E06 2021-03-19 01:39:23 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] Search mode: Episode 2021-03-19 01:39:23 WARNING FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] Error getting caps xml for: hydra 2021-03-19 01:39:23 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] Error requesting url **api Error: HTTPConnectionPool(host='192.168.10.20', port=8118): Read timed out. (read timeout=30) 2021-03-19 01:38:53 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] Using proxy: http://192.168.10.20:8118 for ProviderSession 2021-03-19 01:38:53 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] No data returned from provider 2021-03-19 01:38:53 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] Error requesting url **api Error: HTTPConnectionPool(host='192.168.10.20', port=8118): Read timed out. (read timeout=30) 2021-03-19 01:38:23 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] Using proxy: http://192.168.10.20:8118 for ProviderSession 2021-03-19 01:38:23 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] Search show using search string: Pennyworth S02E06 2021-03-19 01:38:23 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] Search mode: Episode 2021-03-19 01:38:23 WARNING FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] Error getting caps xml for: hydra 2021-03-19 01:38:23 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] The response returned a non-200 response while requesting url **api Error: HTTPError('503 Server Error: Connect failed for url: **api?t=caps&apikey=**') 2021-03-19 01:38:23 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] User-Agent: Medusa/0.5.10 (Linux; 5.10.1-Unraid; 39c6477a-884b-11eb-a121-0242ac110005) 2021-03-19 01:38:23 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] GET URL: **api?t=caps&apikey=** [Status: 503] 2021-03-19 01:37:53 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] Using proxy: http://192.168.10.20:8118 for ProviderSession 2021-03-19 01:37:53 DEBUG FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] Could not find all candidates in cache, searching provider. 2021-03-19 01:37:53 INFO FORCEDSEARCHQUEUE-MANUAL-36774 :: hydra :: [54da0c7] Performing episode search for Pennyworth

Medusa was using the reversed proxy in binhex-delugevpn docker. and in the new version of that docker image you need to set what network adresses that are allowed to talk to the proxy. when i saw the "Using proxy: http://192.168.10.20:8118" i knew it had to be something there. Proxy disabled in medusa and its working again... Guess i learned to not update dockers before checking for new requrements.

Thanks for the fast reply :-)