Jump to content

Failure to playback from remote location


Recommended Posts

jurmb84
Posted (edited)

Love the new theater... I can play locally okay but I am having an issue playing from a remote location connected through https at port 8920...

 

Here is the section of the server log where it is failing but I can't seem to read it well enough to know what I am doing wrong...

 

Thanx in advance and thanx for all the hard work...

2016-03-05 15:20:32.8521 Info HttpServer: HTTP POST https://****.com:8920/Items/f7c5f20be40667e681033c47c2453dcf/PlaybackInfo?UserId=4d5080c4b2dc4ad8b6800e5abe1f5349&StartTimeTicks=0. UserAgent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/2.0.1 Chrome/47.0.2526.110 Electron/0.36.10 Safari/537.36
2016-03-05 15:20:32.8521 Info App: Profile: Unknown Profile, Path: \\DISKSTATION\HTPC_MEDIA\avi-Movies\+1 (2013)\+1 (2013).mp4, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2016-03-05 15:20:32.8521 Info App: RemoteClientBitrateLimit: 6000000, RemoteIp: 100.40.6.217, IsInLocalNetwork: False
2016-03-05 15:20:32.8521 Info App: Profile: Unknown Profile, Path: \\DISKSTATION\HTPC_MEDIA\avi-Movies\+1 (2013)\+1 (2013).mp4, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2016-03-05 15:20:32.8521 Info App: RemoteClientBitrateLimit: 6000000, RemoteIp: 100.40.6.217, IsInLocalNetwork: False
2016-03-05 15:20:32.8521 Info App: Profile: Unknown Profile, Path: \\DISKSTATION\HTPC_MEDIA\avi-Movies\+1 (2013)\+1 (2013).mp4, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2016-03-05 15:20:32.8521 Info HttpServer: HTTP Response 200 to 100.40.6.217. Time: 2ms. https://****.com:8920/Items/f7c5f20be40667e681033c47c2453dcf/PlaybackInfo?UserId=4d5080c4b2dc4ad8b6800e5abe1f5349&StartTimeTicks=0
2016-03-05 15:20:32.8521 Info HttpServer: HTTP POST https://****.com:8920/Sessions/Playing/Stopped. UserAgent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/2.0.1 Chrome/47.0.2526.110 Electron/0.36.10 Safari/537.36
2016-03-05 15:20:32.8970 Info Trakt: Playback Stopped
2016-03-05 15:20:32.8970 Error Trakt: Could not match trakt user
2016-03-05 15:20:32.8970 Info HttpServer: HTTP Response 204 to 100.40.6.217. Time: 38ms. https://****.com:8920/Sessions/Playing/Stopped
2016-03-05 15:20:33.4117 Info App: Emby.Kodi.SyncQueue: Starting User Changes Sync...
2016-03-05 15:20:33.6779 Info App: Emby.Kodi.SyncQueue: "USERSYNC" User 4d5080c4b2dc4ad8b6800e5abe1f5349(****) posted 2 Updates:  f7c5f20be40667e681033c47c2453dcf(+1),9b60aacd8db9750d740a5a218d39180c(avi-Movies)
2016-03-05 15:20:33.6779 Info App: Emby.Kodi.SyncQueue: User Changes Sync Finished Taking 00:00:00.2661652
2016-03-05 15:20:34.5773 Info HttpServer: HTTP GET http://192.168.1.126:8096/emby/ScheduledTasks?isHidden=false. UserAgent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36
2016-03-05 15:20:34.5773 Info HttpServer: HTTP Response 200 to 192.168.1.129. Time: 3ms. http://192.168.1.126:8096/emby/ScheduledTasks?isHidden=false
2016-03-05 15:20:35.2959 Info HttpServer: HTTP GET https://****.com:8920/Videos/f7c5f20be40667e681033c47c2453dcf/stream.mp4?Static=true&mediaSourceId=f7c5f20be40667e681033c47c2453dcf&deviceId=HTPC&api_key=4d141a196a094005a8f8346e104cfebf. UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.3; WOW64; Trident/7.0; .NET4.0E; .NET4.0C; Media Center PC 6.0; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729)
2016-03-05 15:20:36.3517 Error HttpResultFactory: Error streaming data
	*** Error Report ***
	Version: 3.0.5882.0
	Command line: C:\Users\****\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.2.9200.0
	Processor count: 8
	64-Bit OS: True
	64-Bit Process: True
	Program data path: C:\Users\****\AppData\Roaming\MediaBrowser-Server
	Application Path: C:\Users\****\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
	System.IO.IOException
	   at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
	   at System.Net.Security._SslStream.StartWriting(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security._SslStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.Write(Byte[] buffer, Int32 offset, Int32 count)
	   at SocketHttpListener.Net.ResponseStream.Write(Byte[] buffer, Int32 offset, Int32 count)
	   at System.IO.Stream.InternalCopyTo(Stream destination, Int32 bufferSize)
	   at MediaBrowser.Server.Implementations.HttpServer.StreamWriter.WriteToInternal(Stream responseStream)
	InnerException: System.Net.Sockets.SocketException
	An existing connection was forcibly closed by the remote host
	   at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
	
2016-03-05 15:20:36.3517 Error HttpAsyncTaskHandler: Error occured while Processing Request: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
	*** Error Report ***
	Version: 3.0.5882.0
	Command line: C:\Users\****\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.2.9200.0
	Processor count: 8
	64-Bit OS: True
	64-Bit Process: True
	Program data path: C:\Users\****\AppData\Roaming\MediaBrowser-Server
	Application Path: C:\Users\****\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
	System.IO.IOException
	   at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
	   at System.Net.Security._SslStream.StartWriting(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security._SslStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.Write(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.RestHandler.<>c__DisplayClass5.<ProcessRequestAsync>b__0(Object response)
	   at ServiceStack.Host.Handlers.ServiceStackHandlerBase.HandleResponse(Object response, Func`2 callback, Func`2 errorCallback)
	InnerException: System.Net.Sockets.SocketException
	An existing connection was forcibly closed by the remote host
	   at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
	
2016-03-05 15:20:36.3517 Info HttpServer: HTTP Response 500 to 100.40.6.217. Time: 1057ms (slow). https://*****.com:8920/Videos/f7c5f20be40667e681033c47c2453dcf/stream.mp4?Static=true&mediaSourceId=f7c5f20be40667e681033c47c2453dcf&deviceId=HTPC&api_key=4d141a196a094005a8f8346e104cfebf
2016-03-05 15:20:39.5775 Info HttpServer: HTTP GET http://192.168.1.126:8096/emby/ScheduledTasks?isHidden=false. UserAgent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36
2016-03-05 15:20:39.5775 Info HttpServer: HTTP Response 200 to 192.168.1.129. Time: 3ms. http://192.168.1.126:8096/emby/ScheduledTasks?isHidden=false

Edited by jurmb84
jurmb84
Posted

So I did some further testing and here is what I found... If I use http with port 8096 then it works fine... if I use https (i have a wildcard cert for my company that I am using for emby also) with port 8920 then it does not work... Not sure why but wanted to post my findings... 

  • Like 1
  • 3 weeks later...
Lighthammer
Posted

I'm having problem with this too.

Posted

+1

 

 

Sent from my iPad using Tapatalk

Guest asrequested
Posted

I can't connect remotely because of IPv6, does this affect yours?

Posted

So I did some further testing and here is what I found... If I use http with port 8096 then it works fine... if I use https (i have a wildcard cert for my company that I am using for emby also) with port 8920 then it does not work... Not sure why but wanted to post my findings...

Do you notice playback problems from an outside location with ET like glitches or the video Stuttering? Sometimes when I play from outside location I've got these problems...

 

 

Sent from my iPad using Tapatalk

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