Jump to content

Unhandled Exception


Recommended Posts

Posted

Hi, I'm using Emby over a year and I have installed everything new but I always had this problem with emby crashing. I have CentOS 7 minimal. Virtual on Esxi 6.5 Update 2. Emby V.3.5.0 no SELINUX with Rkhunter enabled. The crashes happen suddenly and randomly. Stop & start emby server solves the problem.

 

This why emby is crashing: UnhandledException:

2018-08-05 00:54:18.870 Debug App: Running AudioDbAlbumImageProvider for /home/Embymounts/XXXXXXXrmusic/Jonny Hill/Jonny Hill - Ruf Teddybär eins - vier
2018-08-05 00:54:18.881 Info HttpClient: GET http://www.theaudiodb.com/api/v1/json/49jhsf8248yfahka89724011/album-mb.php?i=2e3d597a-07f5-4b2f-b6c9-854e94f2154a
2018-08-05 00:54:19.308 Error Main: UnhandledException
    *** Error Report ***
    Version: 3.5.0.0
    Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-rpm_{version}_x86_64.rpm
    Operating system: Unix 3.10.0.862
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Processor count: 2
    Program data path: /var/lib/emby
    Application directory: /opt/emby-server/system
    System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer
     --- End of inner exception stack trace ---
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error)
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.GetResult(Int16 token)
     at System.Net.FixedSizeReader.ReadPacketAsync(Stream transport, AsyncProtocolRequest request)
     at System.Net.Security.SslState.ThrowIfExceptional()
     at System.Net.Security.SslState.CheckThrow(Boolean authSuccessCheck, Boolean shutdownCheck)
     at System.Net.Security.SslState.CheckOldKeyDecryptedData(Memory`1 buffer)
     at System.Net.Security.SslState.HandleQueuedCallback(Object& queuedStateRequest)
     at System.Net.Security.SslState.FinishHandshakeRead(Int32 newState)
     at System.Net.Security.SslState.FinishHandshake(Exception e, AsyncProtocolRequest asyncRequest)
     at System.Net.Security.SslState.RehandshakeCompleteCallback(IAsyncResult result)
     at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
     at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
     at System.Net.AsyncProtocolRequest.CompleteUserWithError(Exception e)
     at System.Net.FixedSizeReader.ReadPacketAsync(Stream transport, AsyncProtocolRequest request)
     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
    --- End of stack trace from previous location where exception was thrown ---
     at System.Threading.ThreadPoolWorkQueue.Dispatch()
    System.IO.IOException
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error)
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.GetResult(Int16 token)
     at System.Net.FixedSizeReader.ReadPacketAsync(Stream transport, AsyncProtocolRequest request)
     at System.Net.Security.SslState.ThrowIfExceptional()
     at System.Net.Security.SslState.CheckThrow(Boolean authSuccessCheck, Boolean shutdownCheck)
     at System.Net.Security.SslState.CheckOldKeyDecryptedData(Memory`1 buffer)
     at System.Net.Security.SslState.HandleQueuedCallback(Object& queuedStateRequest)
     at System.Net.Security.SslState.FinishHandshakeRead(Int32 newState)
     at System.Net.Security.SslState.FinishHandshake(Exception e, AsyncProtocolRequest asyncRequest)
     at System.Net.Security.SslState.RehandshakeCompleteCallback(IAsyncResult result)
     at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
     at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
     at System.Net.AsyncProtocolRequest.CompleteUserWithError(Exception e)
     at System.Net.FixedSizeReader.ReadPacketAsync(Stream transport, AsyncProtocolRequest request)
     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
    --- End of stack trace from previous location where exception was thrown ---
     at System.Threading.ThreadPoolWorkQueue.Dispatch()
    InnerException: System.Net.Sockets.SocketException
    System.Net.Sockets.SocketException (104): Connection reset by peer

Any interesting solutions are welcome. CronJob to restart emby-server every 2-3 days is not a solution;=).

 

 

Thank you,

Posted

Hi, please update to 3.5.2. Thanks.

Posted

Hi I update to 3.5.2 and will post in 2 tweeks what happened.

Posted

Thanks for the feedback.

Posted

Hi Luke,

 

Looks good Version 3.5.2.0 is running fine since 6 days.

 

Thanks, you can close this thread.

Posted

Thanks for the feedback.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...