Jump to content

Cinema Mode - Trailers Plugin - "There was an error playing the video"


jkanoy

Recommended Posts

jkanoy

I noticed a problem earlier with the Apple TV app (that works now, btw) that compelled me to dig further.  The original symptom was when Cinema Mode was turned on, the movie wouldn't play, at all. I traced it down to a problem with the Trailers plugin.  When I initially tried trailers in ATV4, I got no response.  I tried it on my iPad (beta 1.1.5 (2)) and on my iPhone 6 (general availability version) and both gave the errors: "There was an error playing the video."

 

I tried my two android devices and web browsers and they play the trailers and cinema mode just fine.

 

I uninstalled beta 1.1.5 (2) and went back to the GA version (I believe it is 1.1.3) and I got the same error.  

So then I started digging through the logs.  I tested the ATV4 first to review those logs, and somehow, all of a sudden it works fine.  Trailers, custom intro, and all.  But, iPad and iPhone still give the same problem.  But now, instead of just stopping at the error, "There was an error playing the video", when I tap on on "OK" it continues on to the next file (in my case the custom intro).  The custom intro plays fine, and the movie following that plays fine.  I reinstalled 1.1.5 (2) and had the same behavior.

 

My log file shows the error message, "An established connection was aborted by the software in your host machine"  I researched that error and it appears to be just a boilerplate message for a myriad of problems.  Any suggestions?

 

Here is the piece of the log where the event occurred (I believe I've captured all of the relative lines related to this event)  If you need the full log, let me know:

 

 

2016-04-04 23:53:32.0048 Info HttpServer: HTTP GET http://192.168.1.5:8096/emby/Videos/2e6fc1aa84310c326a4854eb48cf6c51/stream.mp4?Static=true&mediaSourceId=584ba3c645f7249f02ee68a7b3216452&deviceId=EAE3E0A7-EF7F-4C47-A1A2-EA9C88E02C87. UserAgent: Mozilla/5.0 (iPad; CPU OS 9_3 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13E233
2016-04-04 23:53:32.0048 Info HttpClient: HttpClientManager GET: http://cdn.movie-list.com/hd/10cloverfieldlaneb720.mp4
2016-04-04 23:53:32.4708 Debug HttpServer: HttpConnection.BeginReadRequest. Connection closed. ConnectionId: 58cd6d40725f479893bc8b3d1d383198
2016-04-04 23:53:32.4708 Error HttpAsyncTaskHandler: Error occured while Processing Request: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
*** Error Report ***
Version: 3.0.5912.0
Command line: C:\Users\JMarshall-LR\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
Processor count: 6
64-Bit OS: True
64-Bit Process: True
Program data path: C:\Users\JMarshall-LR\AppData\Roaming\Emby-Server
Application Path: C:\Users\JMarshall-LR\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
System.IO.IOException
  at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
  at SocketHttpListener.Net.ResponseStream.InternalWrite(Byte[] buffer, Int32 offset, Int32 count)
  at SocketHttpListener.Net.ResponseStream.Write(Byte[] buffer, Int32 offset, Int32 count)
  at ServiceStack.Formats.HtmlFormat.SerializeToStream(IRequest request, Object response, IResponse httpRes)
  at ServiceStack.HttpResponseExtensionsInternal.WriteErrorToResponse(IResponse httpRes, IRequest httpReq, String contentType, String operationName, String errorMessage, Exception ex, Int32 statusCode)
  at ServiceStack.ServiceStackHost.OnUncaughtException(IRequest httpReq, IResponse httpRes, String operationName, Exception ex)
  at ServiceStack.HostContext.RaiseUncaughtException(IRequest httpReq, IResponse httpRes, String operationName, Exception ex)
  at ServiceStack.HttpResponseExtensionsInternal.WriteToResponse(IResponse response, Object result, ResponseSerializerDelegate defaultAction, IRequest request, Byte[] bodyPrefix, Byte[] bodySuffix)
  at ServiceStack.HttpResponseExtensionsInternal.WriteToResponse(IResponse httpRes, IRequest httpReq, Object result, Byte[] bodyPrefix, Byte[] bodySuffix)
  at ServiceStack.HttpResponseExtensionsInternal.WriteToResponse(IResponse httpRes, IRequest httpReq, Object result)
  at ServiceStack.Host.Handlers.ServiceStackHandlerBase.HandleResponse(Object response, Func`2 callback, Func`2 errorCallback)
InnerException: System.Net.Sockets.SocketException
An established connection was aborted by the software in your host machine
  at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
  at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
 
2016-04-04 23:53:32.5459 Info HttpServer: HTTP OPTIONS http://192.168.1.5:8096/emby/Sessions/Playing/Stopped. UserAgent: Mozilla/5.0 (iPad; CPU OS 9_3 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13E233
2016-04-04 23:53:32.5459 Info HttpServer: HTTP Response 200 to 192.168.1.11. Time: 0ms. http://192.168.1.5:8096/emby/Sessions/Playing/Stopped
 

 

Link to comment
Share on other sites

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