night199uk 0 Posted April 29, 2019 Posted April 29, 2019 Hey; Thanks again for Emby - I just recently upgraded from 3.x to 4.1.0.26. I've always seen similar issues to this, but on 4.1.0.26 it seems to have got a lot worse. I'm seeing frequent crashes with the following stack trace in syslog. This is especially when browsing the Music Library from the iOS client, but also occurs with regular web browsers fairly regularly. I've set the systemd unit to Restart=on-failure; so somewhat mitigated, but it's a pain that it keeps restarting as it confuses the hell out of the iOS client. Apr 29 03:52:56 emby emby-server[25231]: Unhandled Exception: System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException: Connection reset by peer Apr 29 03:52:56 emby emby-server[25231]: --- End of inner exception stack trace --- Apr 29 03:52:56 emby emby-server[25231]: at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error) Apr 29 03:52:56 emby emby-server[25231]: at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.GetResult(Int16 token) Apr 29 03:52:56 emby emby-server[25231]: at System.Net.FixedSizeReader.ReadPacketAsync(Stream transport, AsyncProtocolRequest request) Apr 29 03:52:56 emby emby-server[25231]: at System.Net.Security.SslState.ThrowIfExceptional() Apr 29 03:52:56 emby emby-server[25231]: at System.Net.Security.SslState.CheckThrow(Boolean authSuccessCheck, Boolean shutdownCheck) Apr 29 03:52:56 emby emby-server[25231]: at System.Net.Security.SslState.CheckOldKeyDecryptedData(Memory`1 buffer) Apr 29 03:52:56 emby emby-server[25231]: at System.Net.Security.SslState.HandleQueuedCallback(Object& queuedStateRequest) Apr 29 03:52:56 emby emby-server[25231]: at System.Net.Security.SslState.FinishHandshakeRead(Int32 newState) Apr 29 03:52:56 emby emby-server[25231]: at System.Net.Security.SslState.FinishHandshake(Exception e, AsyncProtocolRequest asyncRequest) Apr 29 03:52:56 emby emby-server[25231]: at System.Net.Security.SslState.RehandshakeCompleteCallback(IAsyncResult result) Apr 29 03:52:56 emby emby-server[25231]: at System.Net.LazyAsyncResult.Complete(IntPtr userToken) Apr 29 03:52:56 emby emby-server[25231]: at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken) Apr 29 03:52:56 emby emby-server[25231]: at System.Net.AsyncProtocolRequest.CompleteUserWithError(Exception e) Apr 29 03:52:56 emby emby-server[25231]: at System.Net.FixedSizeReader.ReadPacketAsync(Stream transport, AsyncProtocolRequest request) Apr 29 03:52:56 emby emby-server[25231]: at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) Apr 29 03:52:56 emby emby-server[25231]: --- End of stack trace from previous location where exception was thrown --- Apr 29 03:52:56 emby emby-server[25231]: at System.Threading.ThreadPoolWorkQueue.Dispatch()
Luke 42078 Posted April 29, 2019 Posted April 29, 2019 Hi there, can you please attach the complete emby server log? Thanks !
night199uk 0 Posted April 29, 2019 Author Posted April 29, 2019 Sure. I don't think there's too much useful in here. In this case, I had the iOS client already open; then restarted the server and cleared out all old logs. After the server had started I clicked an album in the iOS client, and the server crashes. Seems like some SSL exception is not correctly trapped somewhere. embyserver-63692107622.txt syslog.txt
Luke 42078 Posted April 29, 2019 Posted April 29, 2019 Hi, while i can't tell for certain due to the small log contents, the issue is most likely the same as here: https://emby.media/community/index.php?/topic/69167-emby-server-4010-crashing-on-music-playback/&do=findComment&comment=692354 Please see that topic for a solution. Please let me know if this helps. Thanks.
night199uk 0 Posted April 29, 2019 Author Posted April 29, 2019 Great catch; I ran the sqlite3 query and disabled/uninstalled TheAudioDB plugin. You rock, thanks!
Luke 42078 Posted April 29, 2019 Posted April 29, 2019 Thanks for the feedback. It is ok to keep the plugin around as it is disabled on linux until this is no longer an issue. It won't pull any new audio db urls into your database.
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