Page 2 of 3

Re: Losing connection to web interface, even on home computer [TLSV1_ALERT_UNKNOWN_CA]

Posted: December 5th, 2020, 6:32 am
by ykjr101
sander wrote: December 5th, 2020, 5:03 am
ykjr101 wrote: December 5th, 2020, 4:29 am
I'm on 3.1.1. I switched off HTTPS. I'll see how it goes the next few hours.
For the record: were you already on 3.1.1? Of did you upgrade? If so ... from which version?
I always stay up to date with SABnzbd. So far no errors but I can't access the interface on the local network

Re: Losing connection to web interface, even on home computer [TLSV1_ALERT_UNKNOWN_CA]

Posted: December 5th, 2020, 6:45 am
by sander
ykjr101 wrote: December 5th, 2020, 6:32 am I always stay up to date with SABnzbd. So far no errors but I can't access the interface on the local network
Which URL do you use?

Re: Losing connection to web interface, even on home computer [TLSV1_ALERT_UNKNOWN_CA]

Posted: December 5th, 2020, 9:53 am
by freds
For the record I have been on 3.1.1 and received this error every hour or so until i unchecked the HTTPS option.
i'll turn on logging and review the files, but it may not be till tomorrow.

Re: Losing connection to web interface, even on home computer [TLSV1_ALERT_UNKNOWN_CA]

Posted: December 5th, 2020, 3:25 pm
by ykjr101
sander wrote: December 5th, 2020, 6:45 am
ykjr101 wrote: December 5th, 2020, 6:32 am I always stay up to date with SABnzbd. So far no errors but I can't access the interface on the local network
Which URL do you use?
On the home computer. 127.0.0.1:8082. On the local network I use 192.168.1.159:8082. Which is the IP of the computer running SABnzbd and I can't even connect using 192.168.1.159:8082 on the home computer. Other programs like Sonarr are working fine over the local network and internet.

Re: Losing connection to web interface, even on home computer [TLSV1_ALERT_UNKNOWN_CA]

Posted: December 5th, 2020, 3:32 pm
by freds
SAB interface reports the error occurred at 15:09:34. here is a snippet of the log. If you need the whole file, let me know
---------------------------------------
2020-12-05 15:09:31,834::DEBUG::[apikey=<APIKEY>] API-call from 127.0.0.1 [Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36] {'mode': 'queue', 'search': '', 'start': '0', 'limit': '20', 'output': 'json', 'apikey':<APIKEY>', '_': '1607193239616'}
2020-12-05 15:09:31,835::DEBUG::[apikey=<APIKEY>] API-call from 127.0.0.1 [Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36] {'mode': 'history', 'search': '', 'failed_only': '0', 'start': '0', 'limit': '100', 'last_history_update': '25', 'output': 'json', 'apikey':<APIKEY>', '_': '1607193239617'}
2020-12-05 15:09:33,860::DEBUG::[apikey=<APIKEY>] API-call from 127.0.0.1 [Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36] {'mode': 'queue', 'search': '', 'start': '0', 'limit': '20', 'output': 'json', 'apikey':<APIKEY>', '_': '1607193239618'}
2020-12-05 15:09:33,861::DEBUG::[apikey=<APIKEY>] API-call from 127.0.0.1 [Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36] {'mode': 'history', 'search': '', 'failed_only': '0', 'start': '0', 'limit': '100', 'last_history_update': '25', 'output': 'json', 'apikey':<APIKEY>', '_': '1607193239619'}
2020-12-05 15:09:34,499::WARNING::[_cplogging:213] [05/Dec/2020:15:09:34] ENGINE socket.error 1
Traceback (most recent call last):
File "cheroot\server.py", line 1267, in communicate
File "cheroot\server.py", line 702, in parse_request
File "cheroot\server.py", line 743, in read_request_line
File "cheroot\server.py", line 300, in readline
File "_pyio.py", line 557, in readline
File "_pyio.py", line 536, in nreadahead
File "_pyio.py", line 1129, in peek
File "_pyio.py", line 1136, in _peek_unlocked
File "socket.py", line 669, in readinto
File "ssl.py", line 1241, in recv_into
File "ssl.py", line 1099, in read
ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:2623)

2020-12-05 15:09:34,868::INFO::[notifier:122] Sending notification: Warning - [05/Dec/2020:15:09:34] ENGINE socket.error 1
Traceback (most recent call last):
File "cheroot\server.py", line 1267, in communicate
File "cheroot\server.py", line 702, in parse_request
File "cheroot\server.py", line 743, in read_request_line
File "cheroot\server.py", line 300, in readline
File "_pyio.py", line 557, in readline
File "_pyio.py", line 536, in nreadahead
File "_pyio.py", line 1129, in peek
File "_pyio.py", line 1136, in _peek_unlocked
File "socket.py", line 669, in readinto
File "ssl.py", line 1241, in recv_into
File "ssl.py", line 1099, in read
ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:2623)
(type=warning, job_cat=None)
2020-12-05 15:09:35,179::DEBUG::[bpsmeter:259] bps: 3833628.090793418

Re: Losing connection to web interface, even on home computer [TLSV1_ALERT_UNKNOWN_CA]

Posted: December 5th, 2020, 11:41 pm
by sander
@freds Does the error happen too if you have no browser open to SABnzbd?

I'm asking because the error is low-level (at SSL/TLS layer), and it's now showing which client is accessing it. So we have to find out via deduction / reduction ... first by ruling out your own web browser (or not).

I don't think it is your web browser, unless a firewall/virusscanner/man-in-the-middle is intercepting your traffic and messing up the SSL/TLS connection.

Re: Losing connection to web interface, even on home computer [TLSV1_ALERT_UNKNOWN_CA]

Posted: December 5th, 2020, 11:44 pm
by sander
ykjr101 wrote: December 5th, 2020, 3:25 pm

On the home computer. 127.0.0.1:8082. On the local network I use 192.168.1.159:8082. Which is the IP of the computer running SABnzbd and I can't even connect using 192.168.1.159:8082 on the home computer. Other programs like Sonarr are working fine over the local network and internet.
On the home computer: what if you use 192.168.1.159:8082 ?

At https://127.0.0.1:8080/sabnzbd/config/general/ what does SABnzbd Host say? It must be 0.0.0.0

Re: Losing connection to web interface, even on home computer [TLSV1_ALERT_UNKNOWN_CA]

Posted: December 6th, 2020, 7:54 am
by ykjr101
sander wrote: December 5th, 2020, 11:44 pm
ykjr101 wrote: December 5th, 2020, 3:25 pm

On the home computer. 127.0.0.1:8082. On the local network I use 192.168.1.159:8082. Which is the IP of the computer running SABnzbd and I can't even connect using 192.168.1.159:8082 on the home computer. Other programs like Sonarr are working fine over the local network and internet.
On the home computer: what if you use 192.168.1.159:8082 ?

At https://127.0.0.1:8080/sabnzbd/config/general/ what does SABnzbd Host say? It must be 0.0.0.0
192.168.1.159:8082 wasn't working on the home computer.

It was saying 127.0.0.1. After switching it to 0.0.0.0 it works over the local network and internet again! Thank you so much! Not sure why it went from working fine to broken but this fixed it!

Re: Losing connection to web interface, even on home computer [TLSV1_ALERT_UNKNOWN_CA]

Posted: December 6th, 2020, 11:33 am
by freds
sander wrote: December 5th, 2020, 11:41 pm @freds Does the error happen too if you have no browser open to SABnzbd?

I'm asking because the error is low-level (at SSL/TLS layer), and it's now showing which client is accessing it. So we have to find out via deduction / reduction ... first by ruling out your own web browser (or not).

I don't think it is your web browser, unless a firewall/virusscanner/man-in-the-middle is intercepting your traffic and messing up the SSL/TLS connection.
I'll try that. I always leave certain tabs open on my plex server, including SAB. I just closed the SAB tab and restarted the process. I'll check the logs later today and see if the error occurs.
Thanks for you help!

Re: Losing connection to web interface, even on home computer [TLSV1_ALERT_UNKNOWN_CA]

Posted: December 6th, 2020, 7:57 pm
by freds
Sadly, that did not resolve the issue for me. I closed the browser window this morning, just now, I opened it, logged in, and the error was there (timestamped almost 2 hours ago).

2 hours ago [06/Dec/2020:18:13:51] ENGINE socket.error 1
Traceback (most recent call last):
File "cheroot\server.py", line 1267, in communicate
File "cheroot\server.py", line 702, in parse_request
File "cheroot\server.py", line 743, in read_request_line
File "cheroot\server.py", line 300, in readline
File "_pyio.py", line 557, in readline
File "_pyio.py", line 536, in nreadahead
File "_pyio.py", line 1129, in peek
File "_pyio.py", line 1136, in _peek_unlocked
File "socket.py", line 669, in readinto
File "ssl.py", line 1241, in recv_into
File "ssl.py", line 1099, in read
ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:2623)

Re: Losing connection to web interface, [TLSV1_ALERT_UNKNOWN_CA]

Posted: December 7th, 2020, 12:29 am
by sander
OK, that means some other client is causing it.

1) Do you use radarr, sonaar, something else that is accessing SABnzbd's Web GUI?
2) Do you a firewall / virusscanner? If so, which brand / version?
3) Is your SABnzbd reachable from Internet? If so, a robot/scanner could be causing it, but the frequency for that looks high.

Re: Losing connection to web interface, even on home computer [TLSV1_ALERT_UNKNOWN_CA]

Posted: December 7th, 2020, 1:26 pm
by sander
Ah, update: another user reporting the same: https://www.reddit.com/r/SABnzbd/commen ... &context=3

She/he is using Radarr (not with Sonarr), and can reproduce by clicking Test Connection in Radarr.

Re: Losing connection to web interface, even on home computer [TLSV1_ALERT_UNKNOWN_CA]

Posted: December 7th, 2020, 3:54 pm
by sander
Update: I'm able to reproduce from Radarr 3.0.0.4204 connecting to SABnzbd over HTTPS:

Radarr says

Code: Select all

Test was aborted due to an error: Unable to connect to SABnzbd, The SSL connection could not be established, see inner exception. The remote certificate is invalid according to the validation procedure.
SABnzbd:

Code: Select all

WARNING a few seconds ago [07/Dec/2020:21:42:08] ENGINE socket.error 1
Traceback (most recent call last):
  File "cheroot\server.py", line 1267, in communicate
  File "cheroot\server.py", line 702, in parse_request
  File "cheroot\server.py", line 743, in read_request_line
  File "cheroot\server.py", line 300, in readline
  File "_pyio.py", line 557, in readline
  File "_pyio.py", line 536, in nreadahead
  File "_pyio.py", line 1129, in peek
  File "_pyio.py", line 1136, in _peek_unlocked
  File "socket.py", line 669, in readinto
  File "ssl.py", line 1241, in recv_into
  File "ssl.py", line 1099, in read
ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:2623)
http://localhost:7878/system/logs/files / http://localhost:7878/logfile/radarr.txt shows

Code: Select all

2020-12-7 21:50:50.0|Error|X509CertificateValidationService|Certificate validation for https://localhost:8080/api?mode=version&apikey=(removed)&output=json failed. RemoteCertificateChainErrors
2020-12-7 21:50:50.0|Error|Sabnzbd|Unable to connect to SABnzbd, The SSL connection could not be established, see inner exception. The remote certificate is invalid according to the validation procedure.

[v3.0.0.4204] NzbDrone.Core.Download.Clients.DownloadClientUnavailableException: Unable to connect to SABnzbd, The SSL connection could not be established, see inner exception. The remote certificate is invalid according to the validation procedure.
 ---> System.Net.WebException: The SSL connection could not be established, see inner exception. The remote certificate is invalid according to the validation procedure.
 ---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
 ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
   at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception)
   at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
--- End of stack trace from previous location where exception was thrown ---
   at System.Net.Security.SslStream.ThrowIfExceptional()
   at System.Net.Security.SslStream.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result)
   at System.Net.Security.SslStream.EndAuthenticateAsClient(IAsyncResult asyncResult)
   at System.Net.Security.SslStream.<>c.<AuthenticateAsClientAsync>b__65_1(IAsyncResult iar)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
   at System.Net.HttpWebRequest.SendRequest()
   at System.Net.HttpWebRequest.GetResponse()
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.GetResponse()
   at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse(HttpRequest request, CookieContainer cookies) in D:\a\1\s\src\NzbDrone.Common\Http\Dispatchers\ManagedHttpDispatcher.cs:line 81
   at NzbDrone.Common.Http.HttpClient.ExecuteRequest(HttpRequest request, CookieContainer cookieContainer) in D:\a\1\s\src\NzbDrone.Common\Http\HttpClient.cs:line 121
   at NzbDrone.Common.Http.HttpClient.Execute(HttpRequest request) in D:\a\1\s\src\NzbDrone.Common\Http\HttpClient.cs:line 57
   at NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdProxy.ProcessRequest(HttpRequestBuilder requestBuilder, SabnzbdSettings settings) in D:\a\1\s\src\NzbDrone.Core\Download\Clients\Sabnzbd\SabnzbdProxy.cs:line 185
   --- End of inner exception stack trace ---
   at NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdProxy.ProcessRequest(HttpRequestBuilder requestBuilder, SabnzbdSettings settings) in D:\a\1\s\src\NzbDrone.Core\Download\Clients\Sabnzbd\SabnzbdProxy.cs:line 198
   at NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdProxy.GetVersion(SabnzbdSettings settings) in D:\a\1\s\src\NzbDrone.Core\Download\Clients\Sabnzbd\SabnzbdProxy.cs:line 80
   at NzbDrone.Core.Download.Clients.Sabnzbd.Sabnzbd.TestConnectionAndVersion() in D:\a\1\s\src\NzbDrone.Core\Download\Clients\Sabnzbd\Sabnzbd.cs:line 349


2020-12-7 21:50:52.1|Error|X509CertificateValidationService|Certificate validation for https://localhost:8080/api?mode=get_config&apikey=(removed)&output=json failed. RemoteCertificateChainErrors
2020-12-7 21:50:52.1|Error|Sabnzbd|Test aborted due to exception

[v3.0.0.4204] NzbDrone.Core.Download.Clients.DownloadClientUnavailableException: Unable to connect to SABnzbd, The SSL connection could not be established, see inner exception. The remote certificate is invalid according to the validation procedure.
 ---> System.Net.WebException: The SSL connection could not be established, see inner exception. The remote certificate is invalid according to the validation procedure.
 ---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
 ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
   at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception)
   at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
--- End of stack trace from previous location where exception was thrown ---
   at System.Net.Security.SslStream.ThrowIfExceptional()
   at System.Net.Security.SslStream.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result)
   at System.Net.Security.SslStream.EndAuthenticateAsClient(IAsyncResult asyncResult)
   at System.Net.Security.SslStream.<>c.<AuthenticateAsClientAsync>b__65_1(IAsyncResult iar)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
   at System.Net.HttpWebRequest.SendRequest()
   at System.Net.HttpWebRequest.GetResponse()
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.GetResponse()
   at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse(HttpRequest request, CookieContainer cookies) in D:\a\1\s\src\NzbDrone.Common\Http\Dispatchers\ManagedHttpDispatcher.cs:line 81
   at NzbDrone.Common.Http.HttpClient.ExecuteRequest(HttpRequest request, CookieContainer cookieContainer) in D:\a\1\s\src\NzbDrone.Common\Http\HttpClient.cs:line 121
   at NzbDrone.Common.Http.HttpClient.Execute(HttpRequest request) in D:\a\1\s\src\NzbDrone.Common\Http\HttpClient.cs:line 57
   at NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdProxy.ProcessRequest(HttpRequestBuilder requestBuilder, SabnzbdSettings settings) in D:\a\1\s\src\NzbDrone.Core\Download\Clients\Sabnzbd\SabnzbdProxy.cs:line 185
   --- End of inner exception stack trace ---
   at NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdProxy.ProcessRequest(HttpRequestBuilder requestBuilder, SabnzbdSettings settings) in D:\a\1\s\src\NzbDrone.Core\Download\Clients\Sabnzbd\SabnzbdProxy.cs:line 198
   at NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdProxy.GetConfig(SabnzbdSettings settings) in D:\a\1\s\src\NzbDrone.Core\Download\Clients\Sabnzbd\SabnzbdProxy.cs:line 92
   at NzbDrone.Core.Download.Clients.Sabnzbd.Sabnzbd.TestAuthentication() in D:\a\1\s\src\NzbDrone.Core\Download\Clients\Sabnzbd\Sabnzbd.cs:line 392
   at NzbDrone.Core.Download.Clients.Sabnzbd.Sabnzbd.Test(List`1 failures) in D:\a\1\s\src\NzbDrone.Core\Download\Clients\Sabnzbd\Sabnzbd.cs:line 266
   at NzbDrone.Core.Download.DownloadClientBase`1.Test() in D:\a\1\s\src\NzbDrone.Core\Download\DownloadClientBase.cs:line 129


2020-12-7 21:50:52.1|Warn|RadarrErrorPipeline|Invalid request Validation failed: 
 -- Host: Unable to connect to SABnzbd
 -- : Test was aborted due to an error: Unable to connect to SABnzbd, The SSL connection could not be established, see inner exception. The remote certificate is invalid according to the validation procedure.
2020-12-7 21:51:03.0|Error|X509CertificateValidationService|Certificate validation for https://localhost:8080/api?mode=version&apikey=(removed)&output=json failed. RemoteCertificateChainErrors
2020-12-7 21:51:03.0|Error|Sabnzbd|Unable to connect to SABnzbd, The SSL connection could not be established, see inner exception. The remote certificate is invalid according to the validation procedure.

[v3.0.0.4204] NzbDrone.Core.Download.Clients.DownloadClientUnavailableException: Unable to connect to SABnzbd, The SSL connection could not be established, see inner exception. The remote certificate is invalid according to the validation procedure.
 ---> System.Net.WebException: The SSL connection could not be established, see inner exception. The remote certificate is invalid according to the validation procedure.
 ---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.



Re: Losing connection to web interface, even on home computer [TLSV1_ALERT_UNKNOWN_CA]

Posted: December 7th, 2020, 3:58 pm
by sander
Radarr 3.0.0.4204 ... "First release of 3.0 series builds", released on 2020-11-19

The version before this version: Pre-Release v0.2.0.1504

Wow ... that is quite a step in numbering.

Anyway: Radarr 3.0.0.4204 is not accepting the self signed certifcate of SABnzbd, and causes the error on SABnzbd.

Maybe https://github.com/Radarr/Radarr/commit ... 1aeadd30de

Re: Losing connection to web interface, even on home computer [TLSV1_ALERT_UNKNOWN_CA]

Posted: December 7th, 2020, 4:29 pm
by sander
I reported a bug but see their response https://github.com/Radarr/Radarr/issues ... -740189675