Newznab failing

Sonarr version (exact version): 2.0.0.4146
Mono version (if Sonarr is not running on Windows): 3.10.0 (tarball Sat Mar 28 10:18:33 UTC 2015)
OS: Synology
((Debug logs)) (posted to hastebin or similar):
Description of issue: since the update to this version, it looks like when syncing an rssfeed, brackets are put around the apikey. For most indexers this does not seem to matter, however, for Dusky it does. When I do the query manually, but without the brackets around the apikey, the search works, with the brackets it doesn’t. Is there are a reason why the brackets were put around the apikey (except for readability)?

In the logs the API Key is removed and replaced with (removed), previously it was replaced with <removed>, the change was for better formatting when posted, but has no change on the API key that is sent to the indexer. If you’re having issues connecting it is something else, if you post ((debug logs)) we can take a look.

Thanks Markus.

When testing that indexer, I first get “Unable to connect to indexer: The request timed out” with the following exception:

System.Net.WebException: The request timed out
at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00065] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/System/System.Net/HttpWebRequest.cs:971
at System.Net.HttpWebRequest.GetResponse () [0x0000e] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/System/System.Net/HttpWebRequest.cs:985
at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x000e7] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Http\Dispatchers\ManagedHttpDispatcher.cs:47

Followed by a message: “Invalid request Validation failed:
– Unable to connect to indexer, check the log for more details”

Followed by a message “Dusky server is currently unavailable. https://dusky.deepcave.net/api?t=tvsearch&cat=5030,5040&extended=1&apikey=(removed)&offset=0&limit=100&tvdbid=261690&rid=30449&tvmazeid=157&season=4&ep=9 The request timed out”

If I then take that connect string and replace the apikey with mine, it answers immediately.

Other indexers don’t exhibit this behavior and continue working as before.

Paul.

Restarted sonarr already? Probably the mono dns cache.

Thanks Taloth, that seemed to have worked! Strange though as one would expect the DNS cache to clear itself automatically.
Paul

It’s been a longstanding mono bug, it got fixed a while back. Dunno if the fix has been released to mainstream already.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.