Jump to content


Photo

Fire TV stick, no playback

playback firetv

  • Please log in to reply
25 replies to this topic

#1 pentolino OFFLINE  

pentolino

    Member

  • Members
  • 11 posts
  • Local time: 12:22 AM

Posted 14 August 2018 - 08:00 AM

I bought the streaming option for my Emby app on the Fire TV Stick, but streaming doesn't work; no video is played.

The server is accessed through a reverse proxy on a ssh tunnel forwarded remote emby and everything works fine using the web browser (either using the Silk browser on the fire tv or any other pc).
I sent a log through the app at 13.46 CEST, local user is Riccardo.

I am pasting the server log for that call, lots of errors there; full log is attached as well.

I am using embty server 3.4.0 and latest app version.

2018-08-14 13:45:08.794 Info HttpServer: HTTP GET http://localhost:8096/favicon.ico. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
2018-08-14 13:45:08.798 Info HttpServer: HTTP Response 200 to 192.168.2.183, 127.0.0.1. Time: 3ms. http://localhost:8096/favicon.ico 
2018-08-14 13:45:15.356 Info HttpServer: HTTP GET http://localhost:8096/emby/embywebsocket?deviceId=878450b053e24d0b. UserAgent: 
2018-08-14 13:45:15.357 Error HttpServer: Could not find handler for /emby/embywebsocket
2018-08-14 13:45:15.359 Info HttpServer: HTTP Response 404 to 192.168.2.168, 127.0.0.1. Time: 3ms. http://localhost:8096/emby/embywebsocket?deviceId=878450b053e24d0b 
2018-08-14 13:45:15.541 Info HttpServer: HTTP GET http://localhost:8096/emby/embywebsocket?deviceId=878450b053e24d0b. UserAgent: 
2018-08-14 13:45:15.542 Error HttpServer: Could not find handler for /emby/embywebsocket
2018-08-14 13:45:15.547 Info HttpServer: HTTP Response 404 to 192.168.2.168, 127.0.0.1. Time: 2ms. http://localhost:8096/emby/embywebsocket?deviceId=878450b053e24d0b 
2018-08-14 13:45:15.586 Info HttpServer: HTTP GET http://localhost:8096/emby/Users/1704b4c35b59459489bbc2b957a42519/Items?IsVirtualUnaired=false&Fields=MediaSources%2CMediaStreams%2CPath%2CChapters%2COverview%2CPrimaryImageAspectRatio&recursive=false&SortBy=SortName&IncludeItemTypes=Episode&MinIndexNumber=2&ParentId=927878faf8630c6bf668c9d6e56b0620&format=json. UserAgent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; AFTT Build/LVY48F)
2018-08-14 13:45:15.627 Info HttpServer: HTTP Response 200 to 192.168.2.168, 127.0.0.1. Time: 42ms. http://localhost:8096/emby/Users/1704b4c35b59459489bbc2b957a42519/Items?IsVirtualUnaired=false&Fields=MediaSources%2CMediaStreams%2CPath%2CChapters%2COverview%2CPrimaryImageAspectRatio&recursive=false&SortBy=SortName&IncludeItemTypes=Episode&MinIndexNumber=2&ParentId=927878faf8630c6bf668c9d6e56b0620&format=json 
2018-08-14 13:45:15.968 Info HttpServer: HTTP GET http://localhost:8096/emby/embywebsocket?deviceId=878450b053e24d0b. UserAgent: 
2018-08-14 13:45:15.969 Error HttpServer: Could not find handler for /emby/embywebsocket
2018-08-14 13:45:15.970 Info HttpServer: HTTP Response 404 to 192.168.2.168, 127.0.0.1. Time: 2ms. http://localhost:8096/emby/embywebsocket?deviceId=878450b053e24d0b 
2018-08-14 13:45:16.210 Info HttpServer: HTTP POST http://localhost:8096/emby/Items/208e061c6c8e71d00752566169be6567/PlaybackInfo?format=json. UserAgent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; AFTT Build/LVY48F)
2018-08-14 13:45:16.232 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 3.4.0.0
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Unix 4.4.0.122
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 4
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	System.ArgumentNullException: Value cannot be null.
	Parameter name: g
	   at System.Guid..ctor(String g)
	   at Emby.Server.Implementations.Library.UserManager.GetUserById(String id)
	   at Emby.Server.MediaEncoding.Api.MediaInfoService.<GetPlaybackInfo>d__17.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Server.MediaEncoding.Api.MediaInfoService.<Post>d__19.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Server.Implementations.Services.ServiceExecGeneral.<GetTaskResult>d__3.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.<ProcessRequestAsync>d__13.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.<RequestHandler>d__70.MoveNext()
	System.ArgumentNullException
	   at System.Guid..ctor(String g)
	   at Emby.Server.Implementations.Library.UserManager.GetUserById(String id)
	   at Emby.Server.MediaEncoding.Api.MediaInfoService.<GetPlaybackInfo>d__17.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Server.MediaEncoding.Api.MediaInfoService.<Post>d__19.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Server.Implementations.Services.ServiceExecGeneral.<GetTaskResult>d__3.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.<ProcessRequestAsync>d__13.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.<RequestHandler>d__70.MoveNext()



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 137730 posts
  • Local time: 06:22 PM

Posted 14 August 2018 - 01:11 PM

Hi there, can you please attach the complete emby server log? thanks !



#3 pentolino OFFLINE  

pentolino

    Member

  • Members
  • 11 posts
  • Local time: 12:22 AM

Posted 14 August 2018 - 03:45 PM

I think it didn't work before; let's see if it works now.

 

Attached Files



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 137730 posts
  • Local time: 06:22 PM

Posted 14 August 2018 - 06:38 PM

Is there any reason you're still on Emby Server 3.4 and not 3.5.2?



#5 pentolino OFFLINE  

pentolino

    Member

  • Members
  • 11 posts
  • Local time: 12:22 AM

Posted 15 August 2018 - 05:43 AM

No particular reason, I just thought it was an app problem (as confirmed by trying with 3.5.2, log attached: nothing changed)

Attached Files



#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 137730 posts
  • Local time: 06:22 PM

Posted 15 August 2018 - 11:03 AM

Are you certain you're running the latest version of the fire tv app?



#7 pentolino OFFLINE  

pentolino

    Member

  • Members
  • 11 posts
  • Local time: 12:22 AM

Posted 15 August 2018 - 02:11 PM

1.6.15a, updated august 11th, 2018; as far as I know it's the latest



#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 137730 posts
  • Local time: 06:22 PM

Posted 16 August 2018 - 12:04 AM

Ok, we're looking into this, thanks.



#9 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 46946 posts
  • Local time: 06:22 PM

Posted 16 August 2018 - 09:46 AM

Hi.  Can you tell me exactly how you entered the app and how you logged into the user?



#10 pentolino OFFLINE  

pentolino

    Member

  • Members
  • 11 posts
  • Local time: 12:22 AM

Posted 18 August 2018 - 12:34 PM

I entered the app from the homepage, standard "clic"; I have automatic login, since I don't need more than one user. The user is correctly displayed on app home page



#11 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 46946 posts
  • Local time: 06:22 PM

Posted 18 August 2018 - 01:38 PM

Can you please try turning off the auto login, then exiting the app and logging in manually and then see if it works?

 

Thanks.



#12 pentolino OFFLINE  

pentolino

    Member

  • Members
  • 11 posts
  • Local time: 12:22 AM

Posted 19 August 2018 - 05:54 AM

I tried and still the same issue. I see from the stacktrace that the problem is missing user id; I guess the problem is that I am running without any kind of security, since the server is not on the internet (I only access it through ssh, so I have all the security I need)



#13 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 46946 posts
  • Local time: 06:22 PM

Posted 19 August 2018 - 12:06 PM

I tried and still the same issue. I see from the stacktrace that the problem is missing user id; I guess the problem is that I am running without any kind of security, since the server is not on the internet (I only access it through ssh, so I have all the security I need)

 

What, exactly, do you mean by "no security"?

 

Also, can you please turn on debug logging on your server, then re-start the server and reproduce the problem and post that server log?

 

Thanks.



#14 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 137730 posts
  • Local time: 06:22 PM

Posted 19 August 2018 - 01:22 PM

How is your proxy handing request headers for the remote client ip address? It looks like it's stuffing multiple values into the request header, separated by commas.



#15 pentolino OFFLINE  

pentolino

    Member

  • Members
  • 11 posts
  • Local time: 12:22 AM

Posted 19 August 2018 - 02:19 PM

With "no security" I mean that there is only one user, the default one, and it has no password; that user is also admin.

As for the proxy configuration it is a virtualhost on apache2:

ProxyPass / http://localhost:8080/emby/
ProxyPassReverse / http://localhost:8080/emby/

So that this resolves correctly on the browser:

http://emby.alsette/web/index.html#!/home.html

(emby.alsette is the name of the virtualhost).

Debug log is attached

Attached Files



#16 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 46946 posts
  • Local time: 06:22 PM

Posted 19 August 2018 - 02:32 PM

Is it possible for you to test this without the proxy involved?  It looks like something is stripping a lot of the data that should be getting sent as well as the odd IP address (including the loopback).



#17 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 137730 posts
  • Local time: 06:22 PM

Posted 19 August 2018 - 02:36 PM

Yes first I think it is best to do a test without the proxy, then let's go from there. Thanks.



#18 pentolino OFFLINE  

pentolino

    Member

  • Members
  • 11 posts
  • Local time: 12:22 AM

Posted 19 August 2018 - 05:15 PM

I will try when I can, but if this is the case, why does every browser (including the standard one on the fire tv) work ok?



#19 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 137730 posts
  • Local time: 06:22 PM

Posted 19 August 2018 - 05:26 PM

Because different devices will react to different situations differently.



#20 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 46946 posts
  • Local time: 06:22 PM

Posted 20 August 2018 - 11:48 AM

And the browser may not actually be working exactly properly either.  I'd be interested to see a debug server log from browser playback as well.

 

Thanks.







Also tagged with one or more of these keywords: playback, firetv

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users