Invalid response received from SkyHook. Error: SecureChannelFailure (Authentication failed, see inner exception.)

Sonarr version (exact version): 3.0.5.1144
Mono version (if Sonarr is not running on Windows): 5.20.1.34
OS: DSM 6.2.4-25556 (on Synology DS218)
Debug logs:
Description of issue: The search for new series in “Add new” fail with the following message :

Failed to load search results, please try again.

Search for ‘Breaking bad’ failed. Invalid response received from SkyHook.

I already use Sonarr for a while on my nas with no issues until now.
I also use Radarr and Lidarr on the same nas and they have no issues add new stuff.

Component : SkyHookProxy

Message :
Error: SecureChannelFailure (Authentication failed, see inner exception.): ‘https://skyhook.sonarr.tv/v1/tvdb/search/en/?term=breaking bad’: Error: SecureChannelFailure (Authentication failed, see inner exception.): ‘https://skyhook.sonarr.tv/v1/tvdb/search/en/?term=breaking bad’

Exception :
System.Net.WebException: Error: SecureChannelFailure (Authentication failed, see inner exception.): ‘https://skyhook.sonarr.tv/v1/tvdb/search/en/?term=breaking bad’ —> System.Net.WebException: Error: SecureChannelFailure (Authentication failed, see inner exception.) —> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. —> Mono.Btls.MonoBtlsException: Ssl error:0f000078:elliptic curve routines:OPENSSL_internal:POINT_IS_NOT_ON_CURVE
at /spksrc/spk/mono/work-aarch64-6.1/mono-5.20.1.34/external/boringssl/crypto/ec/ec.c:835
at Mono.Btls.MonoBtlsContext.ProcessHandshake () [0x00038] in :0
at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x000a1] in :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 :0
at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x000ff] in :0
at Mono.Net.Security.AsyncProtocolRequest.StartOperation (System.Threading.CancellationToken cancellationToken) [0x0008b] in :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 :0
at Mono.Net.Security.MonoTlsStream.CreateStream (System.Net.WebConnectionTunnel tunnel, System.Threading.CancellationToken cancellationToken) [0x00126] in :0
at System.Net.WebConnection.CreateStream (System.Net.WebOperation operation, System.Boolean reused, System.Threading.CancellationToken cancellationToken) [0x001ba] in :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 :0
at System.Net.WebConnection.InitConnection (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x00141] in :0
at System.Net.WebOperation.Run () [0x0009a] in :0
at System.Net.WebCompletionSource1[T].WaitForCompletion () [0x00094] in <c5f4e317158343a5916a953327f92540>:0 at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func`1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x000f8] in :0
at System.Net.HttpWebRequest.GetResponse () [0x00016] in :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.MetadataSource.SkyHook.SkyHookProxy.SearchForNewSeries (System.String title) [0x000ff] in :0

Component : TaskExtensions

Message :
Task Error: Error: SecureChannelFailure (Authentication failed, see inner exception.): ‘https://services.sonarr.tv/v1/update/master?version=3.0.5.1144&os=linux&runtimeVer=5.20.1.34&active=true

Exception :
System.Net.WebException: Error: SecureChannelFailure (Authentication failed, see inner exception.): ‘https://services.sonarr.tv/v1/update/master?version=3.0.5.1144&os=linux&runtimeVer=5.20.1.34&active=true’ —> System.Net.WebException: Error: SecureChannelFailure (Authentication failed, see inner exception.) —> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. —> Mono.Btls.MonoBtlsException: Ssl error:0f000078:elliptic curve routines:OPENSSL_internal:POINT_IS_NOT_ON_CURVE
at /spksrc/spk/mono/work-aarch64-6.1/mono-5.20.1.34/external/boringssl/crypto/ec/ec.c:835
at Mono.Btls.MonoBtlsContext.ProcessHandshake () [0x00038] in :0
at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x000a1] in :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 :0
at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x000ff] in :0
at Mono.Net.Security.AsyncProtocolRequest.StartOperation (System.Threading.CancellationToken cancellationToken) [0x0008b] in :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 :0
at Mono.Net.Security.MonoTlsStream.CreateStream (System.Net.WebConnectionTunnel tunnel, System.Threading.CancellationToken cancellationToken) [0x00126] in :0
at System.Net.WebConnection.CreateStream (System.Net.WebOperation operation, System.Boolean reused, System.Threading.CancellationToken cancellationToken) [0x001ba] in :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 :0
at System.Net.WebConnection.InitConnection (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x00141] in :0
at System.Net.WebOperation.Run () [0x0009a] in :0
at System.Net.WebCompletionSource1[T].WaitForCompletion () [0x00094] in <c5f4e317158343a5916a953327f92540>:0 at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func1[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+SelectArrayIterator2[TSource,TResult].ToList () [0x00014] in :0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable1[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_11[TEvent].b__1 () [0x00000] in :0
at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <4a89e81f3d9644e6a5d556824ae3eaf1>:0
at System.Threading.Tasks.Task.Execute () [0x00000] in <4a89e81f3d9644e6a5d556824ae3eaf1>:0

mono is broken on synology aarch64

roll back to mono 5.8

Thanks, do you know if there’s a way to uninstall and rollback mono without uninstalling everything that depends on it? (Sonarr, Radarr, Lidarr…)

https://github.com/SynoCommunity/spksrc/issues/3946#issuecomment-612562594 (see bottom half of the comment)

The naming scheme has seemingly changed slightly on SynoCommunity, but the one mentioned 5.8.0.108-11 [6.1 rtd1296] seems to be https://packages.synocommunity.com/mono/11/mono.v11.f15047[rtd1296-armada37xx-aarch64].spk

You can try some of the relevant, more recent versions there as well - https://packages.synocommunity.com/mono

1 Like

Thank you booth, the rollback to mono 5.8 worked, I can add and update info of existing shows, so that’s great.
But I now I have an error message in sonarr health status “Currently installed Mono version 5.8.0.108 is no longer supported. Please upgrade Mono to version 5.20.”

Is there any known issues with using an older mono version with the latest sonarr?

For Synology at least you’ll be fine on 5.8.

And do you know it I can safely update sonarr to 3.0.6.1196?

Take a backup, but there shouldn’t be any issues with that combination of mono and Sonarr.

No, you’ll get a “Object reference not set to an instance of an object” error. Learned that the hard way :slight_smile:

Well I did it and got no issues so far.

1 Like

Do you know how or when we expect to have this resolved? I have the same issue on a Synology DS418. It works for now but I always like to have the latest updates installed :wink:

How do I know when it’s “safe” to upgrade?

Eventually when Sonarr jumps to .net (probably for v4) mono won’t be an issue.

As far as fixing this (Mono is broken on synology aarch64;), it’s not a Sonarr problem. Synology/SynologyCommunity are the only ones who can fix it.

1 Like

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