Jump to content

Server Crash


Recommended Posts

Posted

Just need some help troubleshooting frequent crashes with Emby server. Running on Windows 2016. The last crash resulted in the following logs. It happened while watching an IPTV stream, but it has happened while completely idle too.

 

2018-01-30 20:20:18.069 Info App: [TVHclient] GetProgramsAsync, ask TVH for events of channel '1470292084'.
2018-01-30 20:20:18.069 Error App: [TVHclient] SendingHandler caught exception : System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
   at TVHeadEnd.HTSP.HTSConnectionAsync.SendingHandler()
2018-01-30 20:20:18.070 Error App: [TVHclient] HTSConnectionHandler recorded a HTSP error: An established connection was aborted by the software in your host machine
*** Error Report ***
Version: 3.2.70.0
Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll
Operating system: Microsoft Windows NT 6.2.9200.0
64-Bit OS: True
64-Bit Process: True
User Interactive: True
Processor count: 4
Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata
Application directory: C:\Users\Administrator\AppData\Roaming\Emby-Server\system
System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
   at TVHeadEnd.HTSP.HTSConnectionAsync.SendingHandler()
System.Net.Sockets.SocketException
   at TVHeadEnd.HTSP.HTSConnectionAsync.SendingHandler()


2018-01-30 20:20:18.355 Error Main: UnhandledException
*** Error Report ***
Version: 3.2.70.0
Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll
Operating system: Microsoft Windows NT 6.2.9200.0
64-Bit OS: True
64-Bit Process: True
User Interactive: True
Processor count: 4
Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata
Application directory: C:\Users\Administrator\AppData\Roaming\Emby-Server\system
System.PlatformNotSupportedException: Thread abort is not supported on this platform.
   at System.Threading.Thread.Abort()
   at TVHeadEnd.HTSP.HTSConnectionAsync.stop()
   at TVHeadEnd.HTSConnectionHandler.onError(Exception ex)
   at TVHeadEnd.HTSP.HTSConnectionAsync.SendingHandler()
   at System.Threading.Thread.ThreadMain_ThreadStart()
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
System.PlatformNotSupportedException
   at System.Threading.Thread.Abort()
   at TVHeadEnd.HTSP.HTSConnectionAsync.stop()
   at TVHeadEnd.HTSConnectionHandler.onError(Exception ex)
   at TVHeadEnd.HTSP.HTSConnectionAsync.SendingHandler()
   at System.Threading.Thread.ThreadMain_ThreadStart()
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)


2018-01-30 20:20:18.407 Info Main: Closing tray icon
2018-01-30 20:20:18.407 Info HttpClient: POST: http://127.0.0.1:8024/exit

And:

System.PlatformNotSupportedException: Thread abort is not supported on this platform.
at System.Threading.Thread.Abort()
at TVHeadEnd.HTSP.HTSConnectionAsync.stop()
at TVHeadEnd.HTSConnectionHandler.onError(Exception ex)
at TVHeadEnd.HTSP.HTSConnectionAsync.SendingHandler()
at System.Threading.Thread.ThreadMain_ThreadStart()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
System.PlatformNotSupportedException
at System.Threading.Thread.Abort()
at TVHeadEnd.HTSP.HTSConnectionAsync.stop()
at TVHeadEnd.HTSConnectionHandler.onError(Exception ex)
at TVHeadEnd.HTSP.HTSConnectionAsync.SendingHandler()
at System.Threading.Thread.ThreadMain_ThreadStart()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

And Windows event logs:

Program C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.exe for service Emby exited with return code 2148734265.

 

Posted

Hi there, looks like a problem coming from the TvHeadEnd plugin. Remove that plugin and you should be good to go.

 

Are you using TvHeadEnd for Iptv? We have native support so you might not need the plugin anyway.

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...