jrs 0 Posted February 26, 2018 Share Posted February 26, 2018 This started happening 3 days ago on my FreeNAS 9.10.2-U6 server. Emby is current at version 3.2.70.0. The log is attached, the error starts at this line: Error SecureChannelFailure getting response from https://api.github.com/repos/MediaBrowser/Emby/releases serverlog.txt Link to comment Share on other sites More sharing options...
Luke 37062 Posted February 27, 2018 Share Posted February 27, 2018 Github updated their TLS to 1.2 and since mono 4.6 does not support that, the requests are failing. @@josh4trunks, were you able to update the freenas package to mono 4.8.1? Link to comment Share on other sites More sharing options...
makarai 108 Posted February 27, 2018 Share Posted February 27, 2018 (edited) Hey Luke, i am not an advanced user however when i type mono -V it seems i am updated to the recent version of mono. however i still get the same error message as above Mono JIT compiler version 5.2.0 (5.2.0.215 Sat Feb 17 01:29:01 UTC 2018) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com TLS: __thread SIGSEGV: altstack Notification: kqueue Architecture: amd64 Disabled: none Misc: softdebug LLVM: supported, not enabled. GC: sgen (concurrent by default) root@emby_iocage:~ # 2018-02-27 13:30:09.286 Error HttpClient: Error SecureChannelFailure getting response from https://api.github.com/repos/MediaBrowser/Emby/releases *** Error Report *** Version: 3.2.70.0 Command line: /usr/local/lib/emby-server/MediaBrowser.Server.Mono.exe -os freebsd -ffmpeg /usr/local/bin/ffmpeg -ffprobe /usr/local/bin/ffprobe -programdata /var/db/emby-server Operating system: Unix 11.1.0.0 64-Bit OS: True 64-Bit Process: True User Interactive: False Mono: 5.2.0 (5.2.0.215 Sat Feb 17 01:29:01 UTC 2018) Processor count: 8 Program data path: /var/db/emby-server Application directory: /usr/local/lib/emby-server System.Net.WebException: Error: SecureChannelFailure (The authentication or decryption has failed.) ---> System.IO.IOException: The authentication or decryption has failed. ---> 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 (System.IAsyncResult asyncResult) [0x00037] in <fb76ee468de246ca98b18301a125c185>:0 Edited February 27, 2018 by makarai Link to comment Share on other sites More sharing options...
Luke 37062 Posted February 27, 2018 Share Posted February 27, 2018 We are still looking into it. Mono supports multiple TLS providers so we may have to configure it to use one that supports TLS 1.2. Link to comment Share on other sites More sharing options...
gregoryborah 0 Posted March 1, 2018 Share Posted March 1, 2018 Same for me on Synology 2018-02-28 20:30:03.225 Error TaskManager: Error *** Error Report *** Version: 3.3.0.0 Command line: /var/packages/EmbyServer/target/server/MediaBrowser.Server.Mono.exe -package synology -programdata /var/packages/EmbyServer/target/var -ffmpeg /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/ffmpeg/bin/ffprobe -restartpath /var/packages/EmbyServer/scripts/restart Operating system: Unix 3.10.102.0 64-Bit OS: False 64-Bit Process: False User Interactive: False Mono: 5.2.0.224 (tarball Thu Sep 21 23:32:47 CST 2017) Processor count: 2 Program data path: /var/packages/EmbyServer/target/var Application directory: /volume1/@appstore/EmbyServer/releases/v3.3.0.0 MediaBrowser.Model.Net.HttpException: Error: SecureChannelFailure (The authentication or decryption has failed.) ---> System.Net.WebException: Error: SecureChannelFailure (The authentication or decryption has failed.) ---> System.IO.IOException: The authentication or decryption has failed. ---> 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 (System.IAsyncResult asyncResult) [0x00037] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Security.Protocol.Tls.SslClientStream.SafeEndReceiveRecord (System.IAsyncResult ar, System.Boolean ignoreEmpty) [0x00000] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Security.Protocol.Tls.SslClientStream.NegotiateAsyncWorker (System.IAsyncResult result) [0x00071] in <7ae599ac10074937b32461b1c1c1c5ab>:0 --- End of inner exception stack trace --- at Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake (System.IAsyncResult result) [0x00032] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (System.IAsyncResult asyncResult) [0x0000c] in <7ae599ac10074937b32461b1c1c1c5ab>:0 --- End of inner exception stack trace --- at Mono.Security.Protocol.Tls.SslStreamBase.EndRead (System.IAsyncResult asyncResult) [0x0004b] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Net.Security.Private.LegacySslStream.EndAuthenticateAsClient (System.IAsyncResult asyncResult) [0x0000e] in <7bc83f72cfb44c1eac96d11ef998e9a2>:0 at Mono.Net.Security.Private.LegacySslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x0000e] in <7bc83f72cfb44c1eac96d11ef998e9a2>:0 at Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) [0x0007b] in <7bc83f72cfb44c1eac96d11ef998e9a2>:0 at System.Net.WebConnection.CreateStream (System.Net.HttpWebRequest request) [0x00073] in <7bc83f72cfb44c1eac96d11ef998e9a2>:0 --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00058] in <7bc83f72cfb44c1eac96d11ef998e9a2>:0 at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <d31cad56a57f4677b3b2262d472abcad>:0 --- End of inner exception stack trace --- at Emby.Server.Implementations.HttpClientManager.HttpClientManager+<SendAsyncInternal>d__19.MoveNext () [0x0072e] in <aba6291c962a474ab653db57eeabd3ba>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <d31cad56a57f4677b3b2262d472abcad>:0 at Emby.Server.Implementations.HttpClientManager.HttpClientManager+<SendAsync>d__16.MoveNext () [0x00212] in <aba6291c962a474ab653db57eeabd3ba>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <d31cad56a57f4677b3b2262d472abcad>:0 at MediaBrowser.Common.Updates.GithubUpdater+<CheckForUpdateResult>d__3.MoveNext () [0x000f5] in <44c1832e61de4e01bd1a24b7d95d40f9>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <d31cad56a57f4677b3b2262d472abcad>:0 at Emby.Server.Implementations.ApplicationHost+<CheckForApplicationUpdate>d__390.MoveNext () [0x00160] in <aba6291c962a474ab653db57eeabd3ba>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <d31cad56a57f4677b3b2262d472abcad>:0 at Emby.Server.Implementations.ScheduledTasks.SystemUpdateTask+<Execute>d__11.MoveNext () [0x00083] in <aba6291c962a474ab653db57eeabd3ba>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <d31cad56a57f4677b3b2262d472abcad>:0 at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker+<ExecuteInternal>d__68.MoveNext () [0x00186] in <aba6291c962a474ab653db57eeabd3ba>:0 MediaBrowser.Model.Net.HttpException at Emby.Server.Implementations.HttpClientManager.HttpClientManager+<SendAsyncInternal>d__19.MoveNext () [0x0072e] in <aba6291c962a474ab653db57eeabd3ba>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <d31cad56a57f4677b3b2262d472abcad>:0 at Emby.Server.Implementations.HttpClientManager.HttpClientManager+<SendAsync>d__16.MoveNext () [0x00212] in <aba6291c962a474ab653db57eeabd3ba>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <d31cad56a57f4677b3b2262d472abcad>:0 at MediaBrowser.Common.Updates.GithubUpdater+<CheckForUpdateResult>d__3.MoveNext () [0x000f5] in <44c1832e61de4e01bd1a24b7d95d40f9>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <d31cad56a57f4677b3b2262d472abcad>:0 at Emby.Server.Implementations.ApplicationHost+<CheckForApplicationUpdate>d__390.MoveNext () [0x00160] in <aba6291c962a474ab653db57eeabd3ba>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <d31cad56a57f4677b3b2262d472abcad>:0 at Emby.Server.Implementations.ScheduledTasks.SystemUpdateTask+<Execute>d__11.MoveNext () [0x00083] in <aba6291c962a474ab653db57eeabd3ba>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <d31cad56a57f4677b3b2262d472abcad>:0 at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker+<ExecuteInternal>d__68.MoveNext () [0x00186] in <aba6291c962a474ab653db57eeabd3ba>:0 InnerException: System.Net.WebException System.Net.WebException: Error: SecureChannelFailure (The authentication or decryption has failed.) ---> System.IO.IOException: The authentication or decryption has failed. ---> 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 (System.IAsyncResult asyncResult) [0x00037] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Security.Protocol.Tls.SslClientStream.SafeEndReceiveRecord (System.IAsyncResult ar, System.Boolean ignoreEmpty) [0x00000] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Security.Protocol.Tls.SslClientStream.NegotiateAsyncWorker (System.IAsyncResult result) [0x00071] in <7ae599ac10074937b32461b1c1c1c5ab>:0 --- End of inner exception stack trace --- at Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake (System.IAsyncResult result) [0x00032] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (System.IAsyncResult asyncResult) [0x0000c] in <7ae599ac10074937b32461b1c1c1c5ab>:0 --- End of inner exception stack trace --- at Mono.Security.Protocol.Tls.SslStreamBase.EndRead (System.IAsyncResult asyncResult) [0x0004b] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Net.Security.Private.LegacySslStream.EndAuthenticateAsClient (System.IAsyncResult asyncResult) [0x0000e] in <7bc83f72cfb44c1eac96d11ef998e9a2>:0 at Mono.Net.Security.Private.LegacySslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x0000e] in <7bc83f72cfb44c1eac96d11ef998e9a2>:0 at Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) [0x0007b] in <7bc83f72cfb44c1eac96d11ef998e9a2>:0 at System.Net.WebConnection.CreateStream (System.Net.HttpWebRequest request) [0x00073] in <7bc83f72cfb44c1eac96d11ef998e9a2>:0 --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00058] in <7bc83f72cfb44c1eac96d11ef998e9a2>:0 at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <d31cad56a57f4677b3b2262d472abcad>:0 at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00058] in <7bc83f72cfb44c1eac96d11ef998e9a2>:0 at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <d31cad56a57f4677b3b2262d472abcad>:0 InnerException: System.IO.IOException System.IO.IOException: The authentication or decryption has failed. ---> 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 (System.IAsyncResult asyncResult) [0x00037] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Security.Protocol.Tls.SslClientStream.SafeEndReceiveRecord (System.IAsyncResult ar, System.Boolean ignoreEmpty) [0x00000] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Security.Protocol.Tls.SslClientStream.NegotiateAsyncWorker (System.IAsyncResult result) [0x00071] in <7ae599ac10074937b32461b1c1c1c5ab>:0 --- End of inner exception stack trace --- at Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake (System.IAsyncResult result) [0x00032] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (System.IAsyncResult asyncResult) [0x0000c] in <7ae599ac10074937b32461b1c1c1c5ab>:0 --- End of inner exception stack trace --- at Mono.Security.Protocol.Tls.SslStreamBase.EndRead (System.IAsyncResult asyncResult) [0x0004b] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Net.Security.Private.LegacySslStream.EndAuthenticateAsClient (System.IAsyncResult asyncResult) [0x0000e] in <7bc83f72cfb44c1eac96d11ef998e9a2>:0 at Mono.Net.Security.Private.LegacySslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x0000e] in <7bc83f72cfb44c1eac96d11ef998e9a2>:0 at Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) [0x0007b] in <7bc83f72cfb44c1eac96d11ef998e9a2>:0 at System.Net.WebConnection.CreateStream (System.Net.HttpWebRequest request) [0x00073] in <7bc83f72cfb44c1eac96d11ef998e9a2>:0 at Mono.Security.Protocol.Tls.SslStreamBase.EndRead (System.IAsyncResult asyncResult) [0x0004b] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Net.Security.Private.LegacySslStream.EndAuthenticateAsClient (System.IAsyncResult asyncResult) [0x0000e] in <7bc83f72cfb44c1eac96d11ef998e9a2>:0 at Mono.Net.Security.Private.LegacySslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x0000e] in <7bc83f72cfb44c1eac96d11ef998e9a2>:0 at Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) [0x0007b] in <7bc83f72cfb44c1eac96d11ef998e9a2>:0 at System.Net.WebConnection.CreateStream (System.Net.HttpWebRequest request) [0x00073] in <7bc83f72cfb44c1eac96d11ef998e9a2>:0 InnerException: System.IO.IOException 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 (System.IAsyncResult asyncResult) [0x00037] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Security.Protocol.Tls.SslClientStream.SafeEndReceiveRecord (System.IAsyncResult ar, System.Boolean ignoreEmpty) [0x00000] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Security.Protocol.Tls.SslClientStream.NegotiateAsyncWorker (System.IAsyncResult result) [0x00071] in <7ae599ac10074937b32461b1c1c1c5ab>:0 --- End of inner exception stack trace --- at Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake (System.IAsyncResult result) [0x00032] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (System.IAsyncResult asyncResult) [0x0000c] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake (System.IAsyncResult result) [0x00032] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (System.IAsyncResult asyncResult) [0x0000c] in <7ae599ac10074937b32461b1c1c1c5ab>:0 InnerException: Mono.Security.Protocol.Tls.TlsException Mono.Security.Protocol.Tls.TlsException: The authentication or decryption has failed. at Mono.Security.Protocol.Tls.RecordProtocol.EndReceiveRecord (System.IAsyncResult asyncResult) [0x00037] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Security.Protocol.Tls.SslClientStream.SafeEndReceiveRecord (System.IAsyncResult ar, System.Boolean ignoreEmpty) [0x00000] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Security.Protocol.Tls.SslClientStream.NegotiateAsyncWorker (System.IAsyncResult result) [0x00071] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Security.Protocol.Tls.RecordProtocol.EndReceiveRecord (System.IAsyncResult asyncResult) [0x00037] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Security.Protocol.Tls.SslClientStream.SafeEndReceiveRecord (System.IAsyncResult ar, System.Boolean ignoreEmpty) [0x00000] in <7ae599ac10074937b32461b1c1c1c5ab>:0 at Mono.Security.Protocol.Tls.SslClientStream.NegotiateAsyncWorker (System.IAsyncResult result) [0x00071] in <7ae599ac10074937b32461b1c1c1c5ab>:0 2018-02-28 20:30:03.225 Info TaskManager: Check for application updates Failed after 0 minute(s) and 0 seconds Link to comment Share on other sites More sharing options...
makarai 108 Posted March 4, 2018 Share Posted March 4, 2018 (edited) nvm Edited March 9, 2018 by makarai Link to comment Share on other sites More sharing options...
Luke 37062 Posted March 4, 2018 Share Posted March 4, 2018 will be fixed with 3.3.0.1 upwards Thanks, what was the solution? Link to comment Share on other sites More sharing options...
makarai 108 Posted March 4, 2018 Share Posted March 4, 2018 (edited) Thanks, what was the solution? Well, maybe i spoke to soon. I took this as 3.3.1.1-beta @LukePulverenti LukePulverenti released this 7 minutes ago Fix https client certificate requirement the fix for it Freshports is only at 3.3.0.0 so sorry for my miss information! Edited March 4, 2018 by makarai Link to comment Share on other sites More sharing options...
Luke 37062 Posted March 4, 2018 Share Posted March 4, 2018 No, my changelog is related to incoming https requests. This error is related to outgoing https requests and I think the solution will not involve any coding changes but more likely environmental. Link to comment Share on other sites More sharing options...
makarai 108 Posted March 9, 2018 Share Posted March 9, 2018 mhh i still have this error. Link to comment Share on other sites More sharing options...
Luke 37062 Posted March 9, 2018 Share Posted March 9, 2018 Just so you're aware, the only thing this will affect is the ability to notify about updates in the emby server dashboard. Link to comment Share on other sites More sharing options...
makarai 108 Posted March 10, 2018 Share Posted March 10, 2018 (edited) Hey @@Luke, @@josh4trunks thanks for the info. I am just playing around with the emby installations on my freebsd/freenas system, and i wanted to share with you the log file that shows up right after the installation, no libs installed no plugins. Just fresh out of the box. Anything that is unusual ? Log.txt Edited March 10, 2018 by makarai Link to comment Share on other sites More sharing options...
Luke 37062 Posted March 10, 2018 Share Posted March 10, 2018 No, looks ok other than those http requests. Link to comment Share on other sites More sharing options...
Baenwort 97 Posted March 11, 2018 Share Posted March 11, 2018 (edited) I don't know if this might be related but when I connect via Chrome I get the following error: ERR_SSL_VERSION_INTERFERENCE My Emby server is set to redirect all external connections to https and it works fine with the app and via the webapp when using FireFox. Chrome works fine within the LAN if I go directly to the http site but gives the ERR_SSL_VERSION_INTERFERENCE error if I use Chrome on the LAN to go to the https site. This is on Emby 3.3.1 on FreeNAS 11U2 Edited March 11, 2018 by Baenwort Link to comment Share on other sites More sharing options...
Luke 37062 Posted March 11, 2018 Share Posted March 11, 2018 Incoming requests shouldn't be related, thanks. 1 Link to comment Share on other sites More sharing options...
makarai 108 Posted March 12, 2018 Share Posted March 12, 2018 (edited) If i may ask if MONO_TLS_PROVIDER=legacy is activated in the freebsd mono version that you employ? The thing is i had the same issue for radarr, another application that utilizes mono and taking out the legacy option from the systemd radar.config file solved the secure channel issue [service] #Environment=MONO_TLS_PROVIDER=legacy Edited March 12, 2018 by makarai 1 Link to comment Share on other sites More sharing options...
Luke 37062 Posted March 12, 2018 Share Posted March 12, 2018 Yea you could try that. Link to comment Share on other sites More sharing options...
mueslo 16 Posted March 13, 2018 Share Posted March 13, 2018 systemd freebsd cool story, bro Link to comment Share on other sites More sharing options...
makarai 108 Posted March 14, 2018 Share Posted March 14, 2018 (edited) cool story, broWell it was on an Ubuntu system concerning a different program, i.e. Radarr was not running on FreeBSD. However, you can point me towards the right solution, and how I could change the mono env vars in FreeBSD. Edited March 14, 2018 by makarai Link to comment Share on other sites More sharing options...
makarai 108 Posted March 14, 2018 Share Posted March 14, 2018 To wrap this is up, this seems to be related to a mono configuration and will only affect people who use mono on freebsd. Other Tools experienced the same issue as well i.e. sonarr, and radarr on various platforms the fix was related to MONO_TLS_PROVIDER=legacy/btls hence i could fix it on my debian systems. However i am not to familiar with freebsd so i'll just wait, until @@josh4trunks or another freebsd guru can help me out, maybe even you @@mueslo 1 Link to comment Share on other sites More sharing options...
mueslo 16 Posted March 14, 2018 Share Posted March 14, 2018 (edited) To wrap this is up, this seems to be related to a mono configuration and will only affect people who use mono on freebsd. Other Tools experienced the same issue as well i.e. sonarr, and radarr on various platforms the fix was related to MONO_TLS_PROVIDER=legacy/btls hence i could fix it on my debian systems. However i am not to familiar with freebsd so i'll just wait, until @@josh4trunks or another freebsd guru can help me out, maybe even you @@mueslo I have the same issue, and the equivalent of the systemd service file on FreeBSD (/usr/local/etc/rc.d/emby-server) contains no such option. You can add it though, ("export MONO_TLS_PROVIDER=btls"), however, mono on FreeBSD isn't actually built with btls support. To enable it, see http://www.codenicer.com/content/mono-481-tls-12-freebsd Sadly, FreeBSD packages move super slow, but it should be implemented once mono 5.8 hits the ports tree (see https://reviews.freebsd.org/D14006). But don't hold your breath, there's not even a patch yet. I'll probably be migrating my services off of FreeNAS jails in the future. These things just take way too long for FreeBSD. Edited March 14, 2018 by mueslo 1 Link to comment Share on other sites More sharing options...
Luke 37062 Posted March 29, 2018 Share Posted March 29, 2018 This was just resolved for Synology so we can probably learn something from that. I know at the very least it requires an update to mono 5.10, and then enabling the google boringssl TLS provider. Link to comment Share on other sites More sharing options...
jrs 0 Posted April 3, 2018 Author Share Posted April 3, 2018 Thank you for the update! Link to comment Share on other sites More sharing options...
weaselwebb 0 Posted May 9, 2018 Share Posted May 9, 2018 any feedback as when this issue will be resolved or a work around I can try as I am dead in the water at the moment Link to comment Share on other sites More sharing options...
Luke 37062 Posted May 9, 2018 Share Posted May 9, 2018 Why do you feel you're dead in the water? We have already established that this doesn't affect any core functions of the server. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now