linuxserver / docker-sonarr

GNU General Public License v3.0
795 stars 139 forks source link

Sonarr will not connect to ruTorrent over SSL #43

Closed Daedilus closed 7 years ago

Daedilus commented 7 years ago

linuxserver.io

Host OS: Unraid 6.3.3 ` /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="Sonarr" --net="bridge" --privileged="true" -e TZ="America/Denver" -e HOST_OS="unRAID" -e "PUID"="99" -e "PGID"="100" -e "TZ"="America/Edmonton" -p 8989:8989/tcp -v "/mnt/cache/appdata/NzbDrone/":"/config":rw -v "/dev/rtc":"/dev/rtc":ro -v "/mnt/user/TV":"/tv":rw -v "/mnt/cache/appdata/NZBGet/downloads/completed/TV/":"/downloads":rw -v "/mnt/cache/tmp/tvbh":"/tmp2":rw -v "/mnt/user/tmp/manual-import/":"/manual_import":rw linuxserver/sonarr` 055b95d348f163211b84635221d1a25d92663222cd0b2119d88d870281db952b

Docker Log Output

[v2.0.0.4689] System.Net.WebException: Error writing headers ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: The authentication or decryption has failed.

at Mono.Security.Protocol.Tls.RecordProtocol.EndReceiveRecord (IAsyncResult asyncResult) <0x414477d0 + 0x00103> in <filename unknown>:0
at Mono.Security.Protocol.Tls.SslClientStream.SafeEndReceiveRecord (IAsyncResult ar, Boolean ignoreEmpty) <0x41447710 + 0x0002b> in <filename unknown>:0
at Mono.Security.Protocol.Tls.SslClientStream.NegotiateAsyncWorker (IAsyncResult result) <0x41444e20 + 0x00227> in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Net.WebConnection.EndWrite (System.Net.HttpWebRequest request, Boolean throwOnError, IAsyncResult result) <0x411f3b80 + 0x00207> in <filename unknown>:0
at System.Net.WebConnectionStream+<SetHeadersAsync>c__AnonStorey1.<>m__0 (IAsyncResult r) <0x411f3460 + 0x00143> in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) <0x411f9ed0 + 0x001ab> in <filename unknown>:0
at System.Net.HttpWebRequest.GetResponse () <0x411f6de0 + 0x0005a> in <filename unknown>:0
at CookComputing.XmlRpc.XmlRpcClientProtocol.GetWebResponse (System.Net.WebRequest request) <0x41440e70 + 0x00032> in <filename unknown>:0

No symlinks are being used afaik

Doing a bit of research and talking posting in the mono issue forum it seems that the version of mono used in this container does not support the SSL protocols required but the updated version 4.8 does.

This allows secure integration to offsite rtorrent clients to allow some automation.

Thanks, team linuxserver.io

sparklyballs commented 7 years ago

the version of mono used in this image is the one supplied from the sonarr repository.

Get:20 http://apt.sonarr.tv master/main amd64 mono-4.0-gac all 4.2.3.4-0xamarin2 [27.3 kB]

line from console output for the latest jenkins build.

Daedilus commented 7 years ago

So I should direct my inquiry to sonarr themselves?

Daedilus commented 7 years ago

Sonarr says its not their repo

https://github.com/Sonarr/Sonarr/issues/1845