Jump to content


Photo

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

cinema mode Trailers

  • Please log in to reply
3 replies to this topic

#1 jkanoy OFFLINE  

jkanoy

    Advanced Member

  • Members
  • 55 posts
  • Local time: 01:50 AM

Posted 05 April 2016 - 01:27 AM

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:8...A2-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-lis...eldlaneb720.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.4708 Info HttpServer: HTTP Response 500 to 192.168.1.11. Time: 466ms. http://192.168.1.5:8...A2-EA9C88E02C87
2016-04-04 23:53:32.5459 Info HttpServer: HTTP OPTIONS http://192.168.1.5:8...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:8...Playing/Stopped
 

 



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152350 posts
  • Local time: 02:50 AM

Posted 05 April 2016 - 01:34 AM

Thanks, we'll look at it for the next server release.



#3 jkanoy OFFLINE  

jkanoy

    Advanced Member

  • Members
  • 55 posts
  • Local time: 01:50 AM

Posted 11 April 2016 - 06:10 AM

This seems to be resolved with the release of server version 3.0.5913 yesterday evening.


  • Luke likes this

#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152350 posts
  • Local time: 02:50 AM

Posted 11 April 2016 - 10:15 AM

Well done, thanks for the feedback.







Also tagged with one or more of these keywords: cinema mode, Trailers

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users