Sonarr can't connect to the Internet on Synology [I fixed it]

Sonarr version 3.0.5.1144:
Mono version 5.20.1.34:
OS: DSM 7 on a 918+
Description of issue: Sonarr can’t connect to the Internet. Radarr can but Sonarr can’t. I don’t know why. I have tried restarting and re-installing. Made no difference.

22-10-24 20:21:21.5|Debug|Api|[PUT] /api/v3/config/host: 202.Accepted (75 ms)
22-10-24 20:21:21.5|Debug|Api|[GET] /api/v3/health: 200.OK (1 ms)
22-10-24 20:21:21.5|Debug|Api|[GET] /api/v3/health: 200.OK (1 ms)
22-10-24 20:21:21.6|Error|X509CertificateValidationService|Certificate validation for https://services.sonarr.tv/v1/update/main?version=3.0.5.1144&os=linux&runtimeVer=5.20.1.34&active=false failed. RemoteCertificateChainErrors
22-10-24 20:21:21.6|Error|TaskExtensions|Task Error

[v3.0.5.1144] System.Net.WebException: Error: TrustFailure (Authentication failed, see inner exception.): 'https://services.sonarr.tv/v1/update/main?version=3.0.5.1144&os=linux&runtimeVer=5.20.1.34&active=false' ---> System.Net.WebException: Error: TrustFailure (Authentication failed, see inner exception.) ---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. ---> Mono.Btls.MonoBtlsException: Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
  at /spksrc/spk/mono/work-x64-7.0/mono-5.20.1.34/external/boringssl/ssl/handshake_client.c:1132
  at Mono.Btls.MonoBtlsContext.ProcessHandshake () [0x00038] in <c5f4e317158343a5916a953327f92540>:0 
  at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x000a1] in <c5f4e317158343a5916a953327f92540>:0 
  at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool)
  at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <c5f4e317158343a5916a953327f92540>:0 
  at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x000ff] in <c5f4e317158343a5916a953327f92540>:0 
  at Mono.Net.Security.AsyncProtocolRequest.StartOperation (System.Threading.CancellationToken cancellationToken) [0x0008b] in <c5f4e317158343a5916a953327f92540>:0 
   --- End of inner exception stack trace ---
  at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Boolean runSynchronously, Mono.Net.Security.MonoSslAuthenticationOptions options, System.Threading.CancellationToken cancellationToken) [0x00252] in <c5f4e317158343a5916a953327f92540>:0 
  at Mono.Net.Security.MonoTlsStream.CreateStream (System.Net.WebConnectionTunnel tunnel, System.Threading.CancellationToken cancellationToken) [0x00126] in <c5f4e317158343a5916a953327f92540>:0 
  at System.Net.WebConnection.CreateStream (System.Net.WebOperation operation, System.Boolean reused, System.Threading.CancellationToken cancellationToken) [0x001ba] in <c5f4e317158343a5916a953327f92540>:0 
   --- End of inner exception stack trace ---
  at System.Net.WebConnection.CreateStream (System.Net.WebOperation operation, System.Boolean reused, System.Threading.CancellationToken cancellationToken) [0x0021a] in <c5f4e317158343a5916a953327f92540>:0 
  at System.Net.WebConnection.InitConnection (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x00141] in <c5f4e317158343a5916a953327f92540>:0 
  at System.Net.WebOperation.Run () [0x0009a] in <c5f4e317158343a5916a953327f92540>:0 
  at System.Net.WebCompletionSource`1[T].WaitForCompletion () [0x00094] in <c5f4e317158343a5916a953327f92540>:0 
  at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task`1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func`1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x000f8] in <c5f4e317158343a5916a953327f92540>:0 
  at System.Net.HttpWebRequest.GetResponse () [0x00016] in <c5f4e317158343a5916a953327f92540>:0 
  at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x00123] in <838290d41cb7431fbc4fa8070d0b0648>:0 
   --- End of inner exception stack trace ---
  at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x001e7] in <838290d41cb7431fbc4fa8070d0b0648>:0 
  at NzbDrone.Common.Http.HttpClient.ExecuteRequest (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookieContainer) [0x00086] in <838290d41cb7431fbc4fa8070d0b0648>:0 
  at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x00008] in <838290d41cb7431fbc4fa8070d0b0648>:0 
  at NzbDrone.Common.Http.HttpClient.Get (NzbDrone.Common.Http.HttpRequest request) [0x00007] in <838290d41cb7431fbc4fa8070d0b0648>:0 
  at NzbDrone.Common.Http.HttpClient.Get[T] (NzbDrone.Common.Http.HttpRequest request) [0x00000] in <838290d41cb7431fbc4fa8070d0b0648>:0 
  at NzbDrone.Core.Update.UpdatePackageProvider.GetLatestUpdate (System.String branch, System.Version currentVersion) [0x000a5] in <eea51fec6dbe458b873ba10bf3c0a405>:0 
  at NzbDrone.Core.Update.CheckUpdateService.AvailableUpdate () [0x00016] in <eea51fec6dbe458b873ba10bf3c0a405>:0 
  at NzbDrone.Core.HealthCheck.Checks.UpdateCheck.Check () [0x000f7] in <eea51fec6dbe458b873ba10bf3c0a405>:0 
  at NzbDrone.Core.HealthCheck.HealthCheckService+<>c.<PerformHealthCheck>b__11_0 (NzbDrone.Core.HealthCheck.IProvideHealthCheck c) [0x00000] in <eea51fec6dbe458b873ba10bf3c0a405>:0 
  at System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].ToList () [0x00014] in <b6496d2162cd48e1bb4e6753184b3d82>:0 
  at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <b6496d2162cd48e1bb4e6753184b3d82>:0 
  at NzbDrone.Core.HealthCheck.HealthCheckService.PerformHealthCheck (NzbDrone.Core.HealthCheck.IProvideHealthCheck[] healthChecks) [0x00025] in <eea51fec6dbe458b873ba10bf3c0a405>:0 
  at NzbDrone.Core.HealthCheck.HealthCheckService.HandleAsync (NzbDrone.Common.Messaging.IEvent message) [0x0009f] in <eea51fec6dbe458b873ba10bf3c0a405>:0 
  at NzbDrone.Core.Messaging.Events.EventAggregator+<>c__DisplayClass6_1`1[TEvent].<PublishEvent>b__1 () [0x00000] in <eea51fec6dbe458b873ba10bf3c0a405>:0 
  at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <a7386717e97e435ea6394b4446fbe4ba>:0 
  at System.Threading.Tasks.Task.Execute () [0x00000] in <a7386717e97e435ea6394b4446fbe4ba>:0 

22-10-24 20:21:27.2|Info|RssSyncService|Starting RSS Sync
22-10-24 20:21:27.2|Warn|FetchAndParseRssService|No available indexers. check your configuration.
22-10-24 20:21:27.2|Info|DownloadDecisionMaker|No results found
22-10-24 20:21:27.2|Info|RssSyncService|RSS Sync Completed. Reports found: 0, Reports grabbed: 0
22-10-24 20:21:27.2|Debug|PendingReleaseService|Removing failed releases from pending
22-10-24 20:21:27.3|Debug|Api|[GET] /api/v3/command: 200.OK (1 ms)
22-10-24 20:21:27.3|Debug|Api|[GET] /api/v3/command: 200.OK (1 ms)
22-10-24 20:21:33.6|Debug|Api|[GET] /api/v3/health: 200.OK (1 ms)
22-10-24 20:21:33.7|Debug|Api|[GET] /api/v3/system/status: 200.OK (2 ms)
22-10-24 20:21:33.7|Debug|Api|[GET] /api/v3/diskspace: 200.OK (92 ms)
22-10-24 20:21:42.0|Debug|Api|[GET] /api/v3/log/file: 200.OK (3 ms)

Edit: Fixed it. I disabled Sonarr’s certifcation validation under Settings>General>Security and boom! It connects to the Internet. What is strange is that Radarr still has this enabled yet works perfectly fine. I don’t know what makes Sonarr so different from Radarr that the certs are fine for Radarr but not for Sonarr but there you go.

https://wiki.servarr.com/sonarr/installation#synology-mono-ssl-errors

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.