Error: ConnectFailure (TLS Support not available.)
I had to remove the environment variable to correct the TLS Support not available.
If I remove it I got the SecureChannelFailure one…
System.Net.WebException: Error: SecureChannelFailure (The authentication or decryption has failed.): 'http://192.168.3.47:5075/getnzb?apikey=400E10653B2F499C6D8BB4F36A549148&searchresultid=79d93adc636b061c374f2d1d866a9f409e5e10f1’
at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x00168] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\Dispatchers\ManagedHttpDispatcher.cs:83
at NzbDrone.Common.Http.Dispatchers.FallbackHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x000cc] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\Dispatchers\FallbackHttpDispatcher.cs:60
at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x0007e] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\HttpClient.cs:70
at NzbDrone.Common.Http.HttpClient.Get (NzbDrone.Common.Http.HttpRequest request) [0x00007] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\HttpClient.cs:193
at NzbDrone.Core.Download.UsenetClientBase`1[TSettings].Download (NzbDrone.Core.Parser.Model.RemoteEpisode remoteEpisode) [0x00028] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\UsenetClientBase.cs:43
Merged your posts and moved to a new thread as it was unrelated to the thread you posted in as your issue is not with teh new TLS provider, but likely a lack of libcurl.
You’ll need to enable ((trace logging)), restart Sonarr and look for: Curl not available, using default WebClient.
If that is present, it confirms that Sonarr cannot fallback to libcurl and you’ll need to fix that, which would be similar to what is outlined here:
Ok I did and I can download fine the .nzb in my browser with no redirection. I didn’t see the https in the beginning.
Also the problems is that Sonarr is working for some downloads and others like 3/4 of the time it doesn’t work and I got this error and Sonarr disable my indexer.
You might not see it if it directly downloads the file. So you may have to use the browser console or other tools to figure it out.
As for the other failing one, could just be timing that the search result is only valid for x amount of time.
Point is that the Sonarr log indicates that it ends up in an ssl connection. but it doesn’t start as one, Sonarr only uses the curl fallback if the original url is https, which it isn’t.
Why does it redirect to the indexer? I would’ve expected nzbhydra to download the nzb and proxy it.
It’s a known limitation in Sonarr, we let the http subsystem deal with redirections so it’s unaware of the curl fallback. Normally this isn’t a problem cause with individual indexers you can just configure it for https and be done with it. nzbHydra is a bit more tricky, hence my surprise that hydra doesn’t actually proxy.
From nzbhydra: How access to NZBs is provided when NZBs are downloaded (by the user or external tools). Redirecting is recommended.
In the configuration I have 2 nzb access type configuration.
Redirect to the indexer (the default one)
Proxy NZB from the indexer
I used the Proxy NZB option and it’s works! I also added the environment variable in my systemd because I’m now with Mono 5.
Thanks for the proxy hint and the explanation of the http in Sonarr! I will never have found it.
I suggest the following:
Update the Wiki for NZBhydra
Trow an error in Sonarr to check the wiki if someone is using the NZBhydra port and got this error in the logs of Sonarr.
Maybe the nzbhydra team need to default to the proxy. I don’t know why it’s recommending the redirection.
Note: I think I will report the solution to the Radarr team because I had the same problem with Radarr but was happening more time with Sonarr for some reasons (maybe I had more stuff to download with Sonarr). I will also check with the nzbhydra team that they default to the proxy one.
Or you prefer to contact them ? What do you think is best ?