Jump to content

Emby Roku Slow Launch


orbitron

Recommended Posts

orbitron

When I load the Emby Roku app I get the message Welcome to Emby and a spinning circle for 30 seconds to a minute. Is this the expected behavior? Is there any thing I can do to lessen the delay?

Link to comment
Share on other sites

RogerK

When I had that same issue I found I was connecting through Emby Connect. I re-did my connection using the local network address and now get an almost instant connection.

Link to comment
Share on other sites

orbitron

I bypassed Emby Connect and it loaded in under 10 seconds. So it does seem that utilizing Roku with Emby Connect is causing a delay of 30 seconds to a minute but only on the Roku app. All of the other apps load instantly.

 

I would prefer not to have to bypass Emby Connect.

 

Is the delay by design? I am located in the continental US with the server on my LAN.

 

Thank you!

Link to comment
Share on other sites

orbitron

If your server is local to you, then you don't want to be using Connect.

 

Agreed. But my Parent's aren't local. I am just going to set them up manually instead of using Emby Connect to avoid the "Why isn't this working?!" phone calls. :)

Link to comment
Share on other sites

Agreed. But my Parent's aren't local. I am just going to set them up manually instead of using Emby Connect to avoid the "Why isn't this working?!" phone calls. :)

 

Have you confirmed that this is a problem for them and that switching the connection type solves it?

Link to comment
Share on other sites

  • 5 months later...
CharlieMurphy

Have you confirmed that this is a problem for them and that switching the connection type solves it?

Hi, I'm not OP but I found this thread because load time with Emby on Roku is very slow. Direct login did not improve it. Something is up because it wasn't this way last time I used Emby on Roku. It has been a few months though. Plex is still snappy, same server, same Roku, same networks.

 

This is a remote connection. Server has 300M fiber upload, client has 100M cable download. Emby in a web browser at the same location as the Roku is fine too, it is just Emby on Roku. Painfully slow.

 

EDIT (UPDATE): After a restart of the Roku, the direct connection made the load time acceptable. It seems that there is an Emby Connect authentication delay/issue with Roku.

Edited by CharlieMurphy
Link to comment
Share on other sites

  • 7 months later...
silver_2000

Any improvement on this ? Roku premier wired to gig network to Synology running emby. One user connected and it often just spins. As many have said if you exit out and go back it goes faster ....

 

Help ?

Link to comment
Share on other sites

Any improvement on this ? Roku premier wired to gig network to Synology running emby. One user connected and it often just spins. As many have said if you exit out and go back it goes faster ....

 

Help ?

HI there, can we look at an emby server log example? Thanks !

Link to comment
Share on other sites

Any improvement on this ? Roku premier wired to gig network to Synology running emby. One user connected and it often just spins. As many have said if you exit out and go back it goes faster ....

 

Help ?

 

Does restarting the Emby server alter this slowdown at all?

 

We would need to see server logs that show the time it is taking to complete the requests the Roku is making. These would show where the bottleneck is happening. It would also show exactly what the Roku is doing when it is attempting to connect which is where the majority of time is sunk. Once the server address is known and the user is logged in then the application builds the home screen and should start to load. A slow loading home screen might be the latest, on now or next up rows which do take a bit more time when the application first starts to populate at fresh launch.

 

Do you mean the app is slow for authentication/login or do you mean slow to populate the home screen?

 

You say you get the "Welcome to Emby" which indicates the login is success. It also means the views are loaded. It is just slow to fetch these views. How many rows do you have show on the home screen? How many latest rows show there? If you eliminate the latest row on the home screen for that user does it speed this up any?

Edited by speechles
Link to comment
Share on other sites

silver_2000

rebooting the roku helps some

The delay is at 2 places, right after launching the channel waiting for the user list to come up, then once user is selected waiting for the home page to show

We do have busy home pages but only one row of content for each category 

 

this morning it just loaded pretty well.  

 

there are a bunch of opensubtitles entries 

2020-04-05 00:02:46.445 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc

 

here is a section of the logs from late last night when I experienced a delay - when I can reproduce the issue today Ill get the logs then reboot emby and try again and then port the after logs 

 

2020-04-05 23:59:06.376 Info HttpServer: HTTP Response 204 to 192.168.10.103. Time: 4ms. http://192.168.10.30:8096/emby/Sessions/Playing/Progress
2020-04-05 23:59:06.833 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:07.295 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:07.874 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:08.441 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:08.904 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:09.329 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:09.769 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:10.594 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:11.065 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:11.514 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:12.136 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:12.615 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:13.043 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:13.484 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:13.918 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:14.424 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:14.872 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:15.307 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:15.879 Info HttpServer: HTTP POST http://serverxxxx6/emby/Sessions/Playing/Progress. UserAgent: Roku/DVP-9.20 (089.20E04805A)
2020-04-05 23:59:15.895 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:15.910 Info HttpServer: HTTP Response 204 to 71.12.47.129. Time: 31ms. http://serverxxxx6/emby/Sessions/Playing/Progress
2020-04-05 23:59:16.381 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:16.435 Info HttpServer: HTTP POST http://192.168.10.30:8096/emby/Sessions/Playing/Progress. UserAgent: Roku/DVP-9.20 (469.20E04807A)
2020-04-05 23:59:16.445 Info HttpServer: HTTP Response 204 to 192.168.10.103. Time: 10ms. http://192.168.10.30:8096/emby/Sessions/Playing/Progress
2020-04-05 23:59:16.879 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:17.518 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:17.950 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:18.503 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:19.133 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:19.704 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:20.215 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:20.689 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:21.204 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:21.653 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:22.107 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:22.546 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:23.112 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:23.573 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:24.011 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:24.438 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:24.886 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:25.341 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:25.963 Info HttpServer: HTTP POST http://serverxxxx6/emby/Sessions/Playing/Progress. UserAgent: Roku/DVP-9.20 (089.20E04805A)
2020-04-05 23:59:25.972 Info HttpServer: HTTP Response 204 to 71.12.47.129. Time: 8ms. http://serverxxxx6/emby/Sessions/Playing/Progress
2020-04-05 23:59:26.007 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:27.039 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:27.328 Info HttpServer: HTTP POST http://192.168.10.30:8096/emby/Sessions/Playing/Progress. UserAgent: Roku/DVP-9.20 (469.20E04807A)
2020-04-05 23:59:27.343 Info HttpServer: HTTP Response 204 to 192.168.10.103. Time: 15ms. http://192.168.10.30:8096/emby/Sessions/Playing/Progress
2020-04-05 23:59:28.539 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:29.121 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:29.773 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:32.583 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:35.525 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:35.991 Info HttpServer: HTTP POST http://serverxxxx6/emby/Sessions/Playing/Progress. UserAgent: Roku/DVP-9.20 (089.20E04805A)
2020-04-05 23:59:36.057 Info HttpServer: HTTP Response 204 to 71.12.47.129. Time: 66ms. http://serverxxxx6/emby/Sessions/Playing/Progress
2020-04-05 23:59:36.091 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:36.661 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:38.337 Info HttpServer: HTTP POST http://192.168.10.30:8096/emby/Sessions/Playing/Progress. UserAgent: Roku/DVP-9.20 (469.20E04807A)
2020-04-05 23:59:38.762 Info HttpServer: HTTP Response 204 to 192.168.10.103. Time: 425ms. http://192.168.10.30:8096/emby/Sessions/Playing/Progress
2020-04-05 23:59:40.488 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:46.061 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:46.367 Info HttpServer: HTTP POST http://serverxxxx6/emby/Sessions/Playing/Progress. UserAgent: Roku/DVP-9.20 (089.20E04805A)
2020-04-05 23:59:46.377 Info HttpServer: HTTP Response 204 to 71.12.47.129. Time: 10ms. http://serverxxxx6/emby/Sessions/Playing/Progress
2020-04-05 23:59:48.991 Info HttpClient: HttpClientManager POST: https://vip-api.opensubtitles.org/xml-rpc
2020-04-05 23:59:49.372 Info HttpServer: HTTP POST http://192.168.10.30:8096/emby/Sessions/Playing/Progress. UserAgent: Roku/DVP-9.20 (469.20E04807A)
2020-04-05 23:59:50.862 Info HttpServer: HTTP Response 204 to 192.168.10.103. Time: 1491ms. http://192.168.10.30:8096/emby/Sessions/Playing/Progress
Edited by silver_2000
Link to comment
Share on other sites

silver_2000

just saw that open subtitles had an update so updated that and restarted emby and for this moment the login is faster 

Link to comment
Share on other sites

just saw that open subtitles had an update so updated that and restarted emby and for this moment the login is faster 

 

That's coincidental and won't impact connecting from Roku.

Link to comment
Share on other sites

silver_2000

I was hopeful that the hundreds of references to subtitles in logs might be addressed by the update ? And maybe free up some resources

Link to comment
Share on other sites

I was hopeful that the hundreds of references to subtitles in logs might be addressed by the update ? And maybe free up some resources

 

What does "hundreds of references" mean?

Link to comment
Share on other sites

silver_2000

What does "hundreds of references" mean?

see above in the logs posted 

the entire logs shows hundreds of connections per day many times per minute to  https://vip-api.opensubtitles.org/xml-rpc

 

 

"2020-04-05 23:59:20.689 Info HttpClient: HttpClientManager POST: https://vip-api.open...les.org/xml-rpc

2020-04-05 23:59:21.204 Info HttpClient: HttpClientManager POST: https://vip-api.open...les.org/xml-rpc
2020-04-05 23:59:21.653 Info HttpClient: HttpClientManager POST: https://vip-api.open...les.org/xml-rpc
2020-04-05 23:59:22.107 Info HttpClient: HttpClientManager POST: https://vip-api.open...les.org/xml-rpc
2020-04-05 23:59:22.546 Info HttpClient: HttpClientManager POST: https://vip-api.open...les.org/xml-rpc
2020-04-05 23:59:23.112 Info HttpClient: HttpClientManager POST: https://vip-api.open...les.org/xml-rpc
2020-04-05 23:59:23.573 Info HttpClient: HttpClientManager POST: https://vip-api.open...les.org/xml-rpc
Edited by silver_2000
Link to comment
Share on other sites

Does that give you the impression that something is wrong? You enabled subtitle downloading for your libraries, so it's looking for subtitles.

Link to comment
Share on other sites

silver_2000

Just an idea of what might be contributing to slow login

 

 

I'm a infrastructure IT person, anything that is making that many queries per hour is unusual to me and might be contributing to server load, and latency.

 

If it's normal it's normal that fine

Link to comment
Share on other sites

Why is it every hour? Did you change the schedule of the subtitle scheduled task to be every hour?

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