Jump to content


Photo

SecureChannelFailure on FreeNAS


  • Please log in to reply
48 replies to this topic

#1 jrs OFFLINE  

jrs

    Newbie

  • Members
  • 2 posts
  • Local time: 07:49 PM

Posted 26 February 2018 - 06:48 PM

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

Attached Files



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152446 posts
  • Local time: 09:49 PM

Posted 26 February 2018 - 10:01 PM

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?

#3 makarai OFFLINE  

makarai

    Advanced Member

  • Members
  • 545 posts
  • Local time: 03:49 AM

Posted 27 February 2018 - 09:51 AM

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 by makarai, 27 February 2018 - 09:54 AM.


#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152446 posts
  • Local time: 09:49 PM

Posted 27 February 2018 - 12:00 PM

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.

#5 gregoryborah OFFLINE  

gregoryborah

    Newbie

  • Members
  • 1 posts
  • Local time: 02:49 AM

Posted 28 February 2018 - 09:34 PM

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



#6 makarai OFFLINE  

makarai

    Advanced Member

  • Members
  • 545 posts
  • Local time: 03:49 AM

Posted 04 March 2018 - 05:49 PM

nvm


Edited by makarai, 09 March 2018 - 05:54 AM.


#7 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152446 posts
  • Local time: 09:49 PM

Posted 04 March 2018 - 05:50 PM

will be fixed with 3.3.0.1 upwards 

 

Thanks, what was the solution?



#8 makarai OFFLINE  

makarai

    Advanced Member

  • Members
  • 545 posts
  • Local time: 03:49 AM

Posted 04 March 2018 - 05:57 PM

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 by makarai, 04 March 2018 - 05:58 PM.


#9 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152446 posts
  • Local time: 09:49 PM

Posted 04 March 2018 - 05:59 PM

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.



#10 makarai OFFLINE  

makarai

    Advanced Member

  • Members
  • 545 posts
  • Local time: 03:49 AM

Posted 09 March 2018 - 05:55 AM

mhh i still have this error.



#11 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152446 posts
  • Local time: 09:49 PM

Posted 09 March 2018 - 11:47 AM

Just so you're aware, the only thing this will affect is the ability to notify about updates in the emby server dashboard.

#12 makarai OFFLINE  

makarai

    Advanced Member

  • Members
  • 545 posts
  • Local time: 03:49 AM

Posted 10 March 2018 - 09:29 AM

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 ?

 

 

 

 

Attached Files

  • Attached File  Log.txt   133.8KB   3 downloads

Edited by makarai, 10 March 2018 - 09:30 AM.


#13 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152446 posts
  • Local time: 09:49 PM

Posted 10 March 2018 - 12:14 PM

No, looks ok other than those http requests.

#14 Baenwort OFFLINE  

Baenwort

    Advanced Member

  • Members
  • 184 posts
  • Local time: 02:49 AM

Posted 11 March 2018 - 04:40 PM

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 by Baenwort, 11 March 2018 - 04:42 PM.


#15 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152446 posts
  • Local time: 09:49 PM

Posted 11 March 2018 - 04:41 PM

Incoming requests shouldn't be related, thanks.


  • Baenwort likes this

#16 makarai OFFLINE  

makarai

    Advanced Member

  • Members
  • 545 posts
  • Local time: 03:49 AM

Posted 12 March 2018 - 08:28 AM

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 by makarai, 12 March 2018 - 09:32 AM.

  • Baenwort likes this

#17 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152446 posts
  • Local time: 09:49 PM

Posted 12 March 2018 - 12:07 PM

Yea you could try that.

#18 mueslo OFFLINE  

mueslo

    Advanced Member

  • Members
  • 44 posts
  • Local time: 02:49 AM

Posted 13 March 2018 - 07:24 PM

systemd
freebsd

 

cool story, bro



#19 makarai OFFLINE  

makarai

    Advanced Member

  • Members
  • 545 posts
  • Local time: 03:49 AM

Posted 14 March 2018 - 01:04 AM

cool story, bro

Well 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 by makarai, 14 March 2018 - 01:15 AM.


#20 makarai OFFLINE  

makarai

    Advanced Member

  • Members
  • 545 posts
  • Local time: 03:49 AM

Posted 14 March 2018 - 02:33 AM

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


  • zmediaserver likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users