Hello everyone,
I got an issue while trying to set up rTorrent as my download client.
My rutorrent instance is available through SSL (port 443) and has a .htaccess associated.
While browsing this forum, I saw many posts with some configuration that I tried :
Host: localhost
Port: 443
Url Path: my_correct_scgi_path
Use SSL: Yes
Username: my_htaccess_user
Password: my_htaccess_passwd
My SSL certificate is issued by StartSSL and my configuration seems OK as I got A+ on sslabs.com.
When I test this connexion, I got these errors in my syslog :
Nov 30 13:10:13 mono[27120]: [Error] RTorrent: Error writing headers
Nov 30 13:10:13 mono[27120]: System.Net.WebException: Error writing headers —> System.IO.IOException: Error while sending TLS Alert (Fatal:InternalError): System.IO.IOException: The authentication or decryption has failed. —> Mono.Security.Protocol.Tls.TlsException: The authentication or decryption has failed.
Nov 30 13:10:13 mono[27120]: at Mono.Security.Protocol.Tls.RecordProtocol.EndReceiveRecord (IAsyncResult asyncResult) <0x41a15c80 + 0x00103> in :0
Nov 30 13:10:13 mono[27120]: at Mono.Security.Protocol.Tls.SslClientStream.SafeEndReceiveRecord (IAsyncResult ar, Boolean ignoreEmpty) <0x41a15bc0 + 0x0002b> in :0
Nov 30 13:10:13 mono[27120]: at Mono.Security.Protocol.Tls.SslClientStream.NegotiateAsyncWorker (IAsyncResult result) <0x41a132b0 + 0x00227> in :0
Nov 30 13:10:13 mono[27120]: — End of inner exception stack trace —
Nov 30 13:10:13 mono[27120]: at Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake (IAsyncResult result) <0x41a16270 + 0x000bf> in :0
Nov 30 13:10:13 mono[27120]: at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) <0x41a16000 + 0x0007f> in :0 —> System.IO.IOException: The authentication or decryption has failed. —> Mono.Security.Protocol.Tls.TlsException: The authentication or decryption has failed.
Nov 30 13:10:13 mono[27120]: at Mono.Security.Protocol.Tls.RecordProtocol.EndReceiveRecord (IAsyncResult asyncResult) <0x41a15c80 + 0x00103> in :0
Nov 30 13:10:13 mono[27120]: at Mono.Security.Protocol.Tls.SslClientStream.SafeEndReceiveRecord (IAsyncResult ar, Boolean ignoreEmpty) <0x41a15bc0 + 0x0002b> in :0
Nov 30 13:10:13 mono[27120]: at Mono.Security.Protocol.Tls.SslClientStream.NegotiateAsyncWorker (IAsyncResult result) <0x41a132b0 + 0x00227> in :0
Nov 30 13:10:13 mono[27120]: — End of inner exception stack trace —
Nov 30 13:10:13 mono[27120]: at Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake (IAsyncResult result) <0x41a16270 + 0x000bf> in :0
Nov 30 13:10:13 mono[27120]: at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) <0x41a16000 + 0x0007f> in :0
Nov 30 13:10:13 mono[27120]: — End of inner exception stack trace —
Nov 30 13:10:13 mono[27120]: at System.Net.WebConnection.EndWrite (System.Net.HttpWebRequest request, Boolean throwOnError, IAsyncResult result) <0x41863170 + 0x00207> in :0
Nov 30 13:10:13 mono[27120]: at System.Net.WebConnectionStream+c__AnonStorey1.<>m__0 (IAsyncResult r) <0x418629c0 + 0x0014f> in :0
Nov 30 13:10:13 mono[27120]: — End of inner exception stack trace —
Nov 30 13:10:13 mono[27120]: at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) <0x4184a900 + 0x001ab> in :0
Nov 30 13:10:13 mono[27120]: at System.Net.HttpWebRequest.GetResponse () <0x41845b40 + 0x0005a> in :0
Nov 30 13:10:13 mono[27120]: at CookComputing.XmlRpc.XmlRpcClientProtocol.GetWebResponse (System.Net.WebRequest request) <0x41a0ed40 + 0x00032> in :0
Nov 30 13:10:13 mono[27120]: [Warn] NzbDroneErrorPipeline: Invalid request Validation failed:
Nov 30 13:10:13 mono[27120]: – Unknown exception: Error writing headers
mono -V
Mono JIT compiler version 4.2.1 (Stable 4.2.1.102/6dd2d0d Thu Nov 12 09:52:44 UTC 2015)
Copyright © 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
I’m using Nginx btw.
Do you have any idea to help ?
Thanks a lot !