Jump to content

Long loading times


darkassassin07

Recommended Posts

darkassassin07

Im starting to notice loading times for the android app seem to be increasing. About a month ago the app would connect and serve up my home page in approx 5-10sec.

 

Now Im seeing 15-25sec loading times (from app open to home page) when using the android app, however connecting via a browser on the same device loads in less than 5sec.

 

This is on the local network. Oddly it loads in roughly 5sec from WAN (app), Im only seeing a slow down with the app on LAN.

 

Anyone else noticed this?

 

Im my case this is making for verry long loading times as my server sleeps when not in use and doesn't connect to the device that woke it until it attempts to connect again.

 

So the first attempt wakes the server but doesn't connect, you wait aprox 30sec for it to time out and display the server list, click connect and have to wait another 20sec for that connection.

 

@@Luke / dev team

 

Has the app perhaps changed to attempt wan befor lan?

 

Would it be possible for the app to attempt both connections at the same time and continue with which ever responds first? Aborting and connecting through LAN if it gets a LAN response after the WAN response?

 

This would connect and serve up the homepage as fast as possible, while figuring out which network path to use in the background.

Edited by darkassassin07
Link to comment
Share on other sites

It always attempts lan first so if that's available, it should get right in. I think it is related to the server being asleep.

Link to comment
Share on other sites

darkassassin07

This is all while the server is already awake.

 

If the server is asleep, you also have to wait for the server to wake and the connection to timeout to retry, but regardless of server state the app takes 3x longer to load than the web page (15sec over 5sec) while on lan, but loads in 5sec just fine from wan:

 

App lan: 15-20sec

App wan: 5sec

Browser lan: 5sec

Browser wan: 5sec

Edited by darkassassin07
Link to comment
Share on other sites

Is it possible the app is not able to access the server locally and, therefore, times that out and then ends up connecting externally?

Link to comment
Share on other sites

darkassassin07

I don't think so because my router doesn't support loopback, so if i try my external address locally it just times out.

Link to comment
Share on other sites

So that point to perhaps the opposite happening - it is trying to connect outside, times out and then connects inside.

 

Did you at any point manually enter the address to connect to with this app?

Link to comment
Share on other sites

darkassassin07
Im not sure, I think this one found the server automatically while local.

 

I just went to test it by signing out then going to select server to remove + re-add my server but I got this screen when I pressed 'change server' from the login screen on the app:

59c4521a62239_Screenshot_20170921165202.

Link to comment
Share on other sites

darkassassin07

Screw it. I had migrated the majority of my users to the browser-based web app, but I'm going to abandon the android app all together. It has been far more of a hassle than its worth, and limits functionality to things like plugins anyway. Kind of a shame, the apps were literally the only feature i was interested in with premier, and now it just feels like a waste.

 

Maybe once offline download sorting gets fixed, or implemented in any way for that matter, ill look into them again, but for now at least I see absolutely no reason to use the apps over the browser.

Edited by darkassassin07
Link to comment
Share on other sites

Guest asrequested

FWIW, when on LAN, my app loads in 3-4 seconds. I have discovered that changing from a wireless router to using an AP, my connectivity to my phone is notably quicker. I have this AP

 

59c6a8772e05f_Snapshot_223.jpg

Link to comment
Share on other sites

darkassassin07

Its not the network, this is all on the same device on the same lan via wifi or cellular data for the wan connections.

 

App lan: 15-20sec

App wan: 5sec

Browser lan: 5sec

Browser wan: 5sec

Link to comment
Share on other sites

darkassassin07

Offline downloading should be fine now.

Music is in a single folder unsorted with no option to look at an artist / album. The only part of offline downloading i want to use: easy music access on my limited storage phone, with the ability to change whats available locally on my phone on the fly.

 

 

(this is currently set to sort by name in accenting order...)

 

59c780769b300_Screenshot_20170924024748.

Edited by darkassassin07
Link to comment
Share on other sites

  • 4 weeks later...

I'm facing the same problem when i set my app up with my external ip and try to connect with to the server

on wan its no problem but when  i try it on lan ("Same network as the emby server") it stays Loading 

When i change the to the internal ip of the server it will load quick 

Link to comment
Share on other sites

Hi @@Luke,

 

Whats wrong with this xml because it wont recognize the Season and episode

i have created with webgrab+

 

 

  <programme start="20171021221500 +0000" stop="20171021224000 +0000" channel="Comedy Central HDTV (Netherlands)">
    <title lang="en">Modern Family (2011)</title>
    <sub-title>Family Portrait</sub-title>
    <desc lang="en">Claire plant al weken een familieportret maar heel de familie lijkt haar tegen te werken om de foto voor mekaar te krijgen. Phil en Gloria gaan samen naar een basketbalwedstrijd en komen daar in een ongemakkelijke situatie terecht. De beelden worden gefilmd en uitgezonden op tv, wat zorgt voor heel wat misverstanden. Cameron is uitgenodigd om te zingen tijdens een huwelijk maar een nukkige Mitchell weigert mee te gaan. Mitchell krijgt al snel spijt van zijn beslissing wanneer hij oog in oog komt te staan met een onverwachte bezoeker. (n)</desc>
    <credits>
      <actor>Ed O'Neill</actor>
      <actor>Sofía Vergara</actor>
      <actor>Julie Bowen</actor>
      <actor>Ty Burrell</actor>
      <actor>Jesse Tyler Ferguson</actor>
      <actor>Eric Stonestreet</actor>
      <actor>Sarah Hyland</actor>
      <actor>Ariel Winter</actor>
      <actor>Nolan Gould</actor>
      <actor>Rico Rodriguez</actor>
      <actor>Kobe Bryant</actor>
      <actor>Sean Smith</actor>
      <actor>Sandy Fury</actor>
      <actor>Jen Kuhn</actor>
    </credits>
    <category lang="en">Comedy</category>
    <category lang="en">Romance</category>
    <episode-num system="onscreen}">S1E24</episode-num>
    <star-rating system="US">
      <value>8.4</value>
    </star-rating>
  </programme>
Edited by Filoor
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...