Jump to content


Photo

30 seconds to 15 minutes loading time on Fire TV

slow load fire stick

  • Please log in to reply
39 replies to this topic

#1 jmbond04 OFFLINE  

jmbond04

    Advanced Member

  • Members
  • 31 posts
  • Local time: 12:39 PM

Posted 25 November 2019 - 12:39 PM

I'm having an issue where it's taking up to 10 minutes to connect to the Emby server. It takes about 30 seconds to go through the loading screen with the circle. Then it takes anywhere from a few seconds to ~10 minutes for it to actually load My Media and the other sections. 

 

A couple things to note.

 

1. On the same network I can connect using a Galaxy S10 phone with the Emby app and on a windows pc with Emby Theater in 15 seconds or less.

2. The server is running behind a nginx reverse proxy but I don't think this is the problem since I only see this issue with Fire Sticks on one network.

3. I am having this issue on both a Fire Stick Gen 2 and a Fire Stick 4k.

4. I have attached one log of it taking about 2.5 minutes. Basically I reset the log before starting the app and downloaded right after it finished.

 

Does anyone have any ideas on what could be causing this and how to fix it.?

 

 

Edit: Log should now be attached.

Attached Files


Edited by jmbond04, 25 November 2019 - 12:49 PM.


#2 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 48159 posts
  • Local time: 12:39 PM

Posted 25 November 2019 - 12:48 PM

Hi.  There is no log attached.  Did you forget to hit the last button?

 

I suspect the reverse proxy though.  Can you test without it?



#3 jmbond04 OFFLINE  

jmbond04

    Advanced Member

  • Members
  • 31 posts
  • Local time: 12:39 PM

Posted 25 November 2019 - 01:40 PM

Hi.  There is no log attached.  Did you forget to hit the last button?

 

I suspect the reverse proxy though.  Can you test without it?

 

I tried this again using https through port 8920. This time it took about 6 minutes with the same issue as described before.

 

It doesn't look like the reverse proxy is the issue here.

Attached Files



#4 sephrat OFFLINE  

sephrat

    Advanced Member

  • Members
  • 60 posts
  • Local time: 06:39 PM

Posted 25 November 2019 - 02:11 PM

Sounds like a connectivity issue.

Is your Fire TV connected to the same Wifi network as the phone you test your connection with? Some routers have 2 different spots for regular and 5G (ac). Although 5G is usually better, regular Wifi may have better performance depending on the obstacles between your device and your router.



#5 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 48159 posts
  • Local time: 12:39 PM

Posted 25 November 2019 - 02:18 PM

All the responses I see in there are quite fast.

 

Can you try sending a log from the app?



#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142516 posts
  • Local time: 12:39 PM

Posted 25 November 2019 - 02:35 PM

Have you compared your nginx settings to @pir8radio ?



#7 jmbond04 OFFLINE  

jmbond04

    Advanced Member

  • Members
  • 31 posts
  • Local time: 12:39 PM

Posted 25 November 2019 - 03:24 PM

Sounds like a connectivity issue.

Is your Fire TV connected to the same Wifi network as the phone you test your connection with? Some routers have 2 different spots for regular and 5G (ac). Although 5G is usually better, regular Wifi may have better performance depending on the obstacles between your device and your router.

 

All devices are using the same wifi network. I have tested the fire sticks on both the 2.4 and 5 bands with no difference.


Edited by jmbond04, 25 November 2019 - 03:25 PM.


#8 jmbond04 OFFLINE  

jmbond04

    Advanced Member

  • Members
  • 31 posts
  • Local time: 12:39 PM

Posted 25 November 2019 - 03:30 PM

Have you compared your nginx settings to @pir8radio ?

 

When I was originally setting my reverse proxy up a couple years ago I compared with this forum to get it working.

 

With the second test using https directly to Emby I would think the reverse proxy is not causing this issue. 



#9 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142516 posts
  • Local time: 12:39 PM

Posted 25 November 2019 - 03:31 PM

How does the web app compare?



#10 jmbond04 OFFLINE  

jmbond04

    Advanced Member

  • Members
  • 31 posts
  • Local time: 12:39 PM

Posted 25 November 2019 - 04:01 PM

How does the web app compare?

 

Just checked and the web app works great through both Firefox and silk on the Fire Stick. The navigation is a lot more annoying then the actual app since it makes you use the cursor. 



#11 jmbond04 OFFLINE  

jmbond04

    Advanced Member

  • Members
  • 31 posts
  • Local time: 12:39 PM

Posted 25 November 2019 - 04:52 PM

All the responses I see in there are quite fast.

 

Can you try sending a log from the app?

 

I enabled debug and selected "Send Logs" after it loaded using the app. Still took a while to load.

 

Logs were sent between 3:45 and 3:50pm Eastern

Emby User Name displayed: Glenn and Karen

 

Let me know what you find or if you need any more info.



#12 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 48159 posts
  • Local time: 12:39 PM

Posted 25 November 2019 - 06:46 PM

Shoot - this is an old Fire TV which puts no timestamps in the logs so I can't see how long anything is taking.  I do, however, see several timeouts on the websocket connections.

 

Also, it appears to be a remote connection.  How did you log in?



#13 jmbond04 OFFLINE  

jmbond04

    Advanced Member

  • Members
  • 31 posts
  • Local time: 12:39 PM

Posted 25 November 2019 - 08:30 PM

Shoot - this is an old Fire TV which puts no timestamps in the logs so I can't see how long anything is taking.  I do, however, see several timeouts on the websocket connections.

 

Also, it appears to be a remote connection.  How did you log in?

 

Yeah that is a Fire Stick Gen 2 I believe. It should still be remote connecting to the server through ip address and port 8920 (https). It's still set like this to bypass the reverse proxy but I normally log in using Emby Connect and go through port 8096.

 

Any idea what would be causing the websocket timeouts?



#14 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 48159 posts
  • Local time: 12:39 PM

Posted 25 November 2019 - 08:52 PM

You said these issues were all on a local wifi network but that is not the case.  You are going out through the internet to your server so it can definitely just be a network bottleneck.

 

The auto bitrate test returned an extremely low value also indicating slow network response.



#15 jmbond04 OFFLINE  

jmbond04

    Advanced Member

  • Members
  • 31 posts
  • Local time: 12:39 PM

Posted 25 November 2019 - 09:17 PM

You said these issues were all on a local wifi network but that is not the case.  You are going out through the internet to your server so it can definitely just be a network bottleneck.

 

The auto bitrate test returned an extremely low value also indicating slow network response.

Sorry I meant all the client devices are on the same network. The server is at a different location.
 

I guess the issue I have with this is I have 3 Fire Sticks that are having issues with just the Emby app. The Web client has no issues connecting through Firefox on the same device. I also have a phone and a windows computer that have no issues connecting through there respective apps. All of the clients are on the same wifi network and band.

 

The Client's network is ~200 Mbps Down/ ~10 Mbps Up

The Server's network is ~200 Mbps Down/ ~20 Mbps Up

 

This is plenty of speed on both sides to load faster than minutes in the Fire TV App.



#16 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142516 posts
  • Local time: 12:39 PM

Posted 25 November 2019 - 09:21 PM

Have you tried lowering the in app quality setting?

#17 jmbond04 OFFLINE  

jmbond04

    Advanced Member

  • Members
  • 31 posts
  • Local time: 12:39 PM

Posted 25 November 2019 - 09:26 PM

Have you tried lowering the in app quality setting?

Quality settings for getting the loading screen up? It's not aware of any settings that would help with that.

It's taking up to like 15 minutes from opening the app to my media being loaded. Once the app is actually loaded playing videos seem to work quite a bit better.



#18 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142516 posts
  • Local time: 12:39 PM

Posted 25 November 2019 - 09:27 PM

Ok sorry I thought this was when trying to play something.

#19 jmbond04 OFFLINE  

jmbond04

    Advanced Member

  • Members
  • 31 posts
  • Local time: 12:39 PM

Posted 25 November 2019 - 09:34 PM

Ok sorry I thought this was when trying to play something.

Not problem, just trying to make sure my issue is clear.



#20 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 48159 posts
  • Local time: 12:39 PM

Posted 26 November 2019 - 10:17 AM

The Server's network is ~200 Mbps Down/ ~20 Mbps Up

 

Okay, so that means your connection to that server is limited to a max of 20Mb/s.  That isn't huge but should be fine for browsing.

 

Only thing I can think to do is put in some code in the app to add our own timestamps to the log for this old version of Android so that I can see how long some of these things are actually taking.  Other than the websocket time-outs there are no "errors" in the app side. My guess is just that things are responding very slowly and the auto bitrate test would indicate that as well.  It is coming up with 2Kb/s.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users