Jump to content

Very slow app and video start


Recommended Posts

donniedarko83
Posted

Hello,

The Android TV app starts very slowly for me. Sometimes it takes 20 seconds to get to the home screen. It takes a good 30-60 seconds to start a video. Loading images on the home screen also takes longer. However, this only happens with a remote connection, not on the local network. I have tested this with various devices.

I would naturally assume that it is due to my internet connection. However, when I use the normal Android app or the web browser, everything works perfectly without any waiting time.

I had to renew my SSL certificate yesterday. So I suspect there must be a connection here. But what is it? It works fine with the other apps. I've already uninstalled the app on the devices, but that didn't help either. Can anyone help me here?

 

embyserver.txt ffmpeg-transcode-1e6901b3-4318-4388-92d8-07ba37264f88_1 - Android App.txt ffmpeg-transcode-a88d8fd2-19fb-4c2c-8b7c-ad91e0c1a49b_1 - Android TV.txt ffmpeg-transcode-c0c2d627-9da0-44b9-995c-532631545ad0_1 - Webbrowser.txt

donniedarko83
Posted

I had to restore my old SSL certificate because nobody could connect to my server using the Samsung app. My old certificate is still valid for 30 days, so I used this version. But I don't understand why it doesn't work with the new one. Any ideas? It's from the same provider.

embyserver (2).txt

Neminem
Posted

What SSL provider ?

Samsung has some issues with Lets encrypt.

Where samsung would reject some but not others.

donniedarko83
Posted

I am using PositiveSSL (Sectigo Limited). It is strange to me, that the old one still works. But not the new one 

Neminem
Posted

Hmm yes curious.

I would call there support about there certificate and samsung issues.

Does it work via other clients simple webui test.

donniedarko83
Posted

No issues with other clients, beside the Android TV app. I will try to contact the support from PositiveSSL

Neminem
Posted

Yes there must be a issue with the cert. 

It might not be signed correctly, do you see any difference if you look at the cert's via browser ?

There might be some clues.

Posted

Hi.  Can you try searching for our standard android app (Just "Emby" on Amazon and "Emby for Android on Google) on the same device's app store and see how that compares?

Thanks.

 

donniedarko83
Posted
29 minutes ago, Neminem said:

Yes there must be a issue with the cert. 

It might not be signed correctly, do you see any difference if you look at the cert's via browser ?

There might be some clues.

The only difference I can see is that the new certificate has this CN: Sectigo Public Server Authentication CA DV R36

The old certificate has this one: Sectigo RSA Domain Validation Secure Server CA 

Everything else seems to be the same (except the valid date)

donniedarko83
Posted
11 minutes ago, ebr said:

Hi.  Can you try searching for our standard android app (Just "Emby" on Amazon and "Emby for Android on Google) on the same device's app store and see how that compares?

Thanks.

 

With the standard android app I have no problems at all. But I cant install the standard android app on the samsung TVs. Only on the shield, firetv stick etc

Neminem
Posted
13 minutes ago, ebr said:

Hi.  Can you try searching for our standard android app (Just "Emby" on Amazon and "Emby for Android on Google) on the same device's app store and see how that compares?

Thanks.

That will not work on Samsung TV app, there is something strange with that cert.

I assume its the cert since samsung has problems with some cert. providers.

Neminem
Posted (edited)
7 minutes ago, donniedarko83 said:

CN: Sectigo Public Server Authentication CA DV R36

Samsung might not have certified / allowed there new CN, Company Name.

Edited by Neminem
donniedarko83
Posted
16 minutes ago, Neminem said:

Samsung might not have certified / allowed there new CN, Company Name.

This could be it. I will have to try another SSL provider. Maybe Comodo SSL? 

Neminem
Posted

I found this topic, they believe that ZeroSSL, I would try with that first 😉 

donniedarko83
Posted

I switched from Zero SSL because it was 10USD per month. With Positive SSL it just about 7USD per year! And I just used the three month test period from Zero SSL so far

Neminem
Posted

Ok so

Zero SSL works 👍

Positive SSL does not 😢

But now you know what to look for 👍

donniedarko83
Posted
7 minutes ago, Neminem said:

Ok so

Zero SSL works 👍

Positive SSL does not 😢

But now you know what to look for 👍

😭

What is everyone else using? I cant be the only one? And I dont get it why the Android TV is so slow with the new Certificate. If I connect with the shield am message appears for about a second "unable to connect to server" and then all of a sudden it connects anyway. This is taking about 20 seconds before the home screen appears.

Neminem
Posted (edited)

Have you tried restarting the server after new cert. ?

I use let encrypt but have no users with a samsung 🤷‍♂️

Edit

Did they restart there tv's / devices and try again ?

Edited by Neminem
donniedarko83
Posted

Yes for the server and the TV's. No change. Let's see what the support from positive ssl will answer me 

Posted
37 minutes ago, Neminem said:

Have you tried restarting the server after new cert. ?

I use let encrypt but have no users with a samsung 🤷‍♂️

Edit

Did they restart there tv's / devices and try again ?

I use Let's Encrypt as well as Caddy automatically sets that up for every route.
It works perfectly fine with Samsung clients, at least the family i have connecting to my server. :)

 

donniedarko83
Posted

Okay thank you. I will look into Caddy and Lets Encrypt then. I hope this is not too complicated. I already found a docker version of it. 

Neminem
Posted (edited)

Or look into NPM also docker it does the same.

Never used Caddy, so can't comment on that.

Edited by Neminem
  • Like 1
donniedarko83
Posted
4 minutes ago, Neminem said:

Or look into NPM also docker it does the same.

Never used Caddy, so can't comment on that.

Thank you. That one looks also very promising :)

Posted
1 hour ago, donniedarko83 said:

Thank you. That one looks also very promising :)

NPM is a tried and tested industry standard and has a gui and is relatively easy to setup and understand.
While Caddy does not have a gui i will argue it's even easier since all you have to put into the config file is something like this:

---

{
    email your@email.com
}

your.domain.com {
    reverse_proxy embyeerver:8096
    header {
        X-Robots-Tag "none"
    }
}

---

It will automatically handle the rest.
You can't go wrong with either of them.

donniedarko83
Posted

Thank you for the example config file. I can also choose from various presets like this. Would that be easier? What should be entered in the Proxy To: field? image.thumb.png.101d32e4b33dd69718702c248bb762c9.pngC

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