Problems with BTN SSL

Sometimes a .torrent file download stalls and nothing happens until I click the manual download button again.
Is this a known bug? I assumed the problem was with BTN but it seems it always fails on first try - and then works again when I click manual download on the same torrent.

This is the Exception ('d rather not post the other semi-related info because it contains sensitive information):

System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
   at System.Net.HttpWebRequest.GetResponse()
   at NzbDrone.Common.Http.HttpClient.Execute(HttpRequest request) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Http\HttpClient.cs:line 94
   at NzbDrone.Common.Http.HttpClient.Get(HttpRequest request) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Http\HttpClient.cs:line 164
   at NzbDrone.Core.Download.TorrentClientBase`1.DownloadFromWebUrl(RemoteEpisode remoteEpisode, String torrentUrl) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\TorrentClientBase.cs:line 106

Check if you have .net 4.5 installed on Windows. (if we’re talking about windows, and not mono)

I checked the registry (in accordance with https://msdn.microsoft.com/en-us/library/hh925568(v=vs.110).aspx).

It says 379893 which is .NET 4.5.2 according to the docs.

Double-checked with ASoft .NET Version Detector. That one says CLR 4 .NET 4.5.2.

BTN uses CloudFlare SSL for their API (when connecting via https) which doesn’t work with Sonarr.

Unfortunately there isn’t a solution to this issue at this time.

Awww :crying_cat_face:

It works sometimes though… seems like perhaps it goes via the CloudFlare SSL service for the first attempt - and when that’s not successful it talks directly with their IP’s?

Seems weird that sometimes it works, sometimes it doesn’t.

Thanks for your reply though!

@markus101 I was searching around cause I am getting this for RARBG and came across this post at stackoverflow. Just wondering if it would help any? http://stackoverflow.com/questions/2859790/the-request-was-aborted-could-not-create-ssl-tls-secure-channel Someone specifically mentions CloudFlare.

rarbg already works with https as a result of to the curl work-around.

No, that won’t work, mono doesn’t support TLS 1.1 or 1.2 at the moment. The Curl fallback is the only working solution at this time.