Jump to content

iOS 9.2 Safari and Chrome not loading the page


Recommended Posts

davidruzicka
Posted

Hello,

 

Emby Version 3.0.5931.0

 

On the iphone 6 plus, I need to reload the page several times on either Safari or Chrome to get the webclient to show.

It 's like it is not showing immediately, and after a while it appears, but sometimes it doesn't, even if I wait long: reload, reload, reload, reload, reload, it works!... reload, reload, it works.

 

Is this a known bug?

 

Thanks,

horstepipe
Posted (edited)

Same here,

Luke fixed this once, but looks like the problem still exists.

Sometimes it works, sometimes doesn't.

I can't recognize patterns, tested it on two iPhones in private and normal mode with and without https

Edited by horstepipe
Posted

I'm looking into it, thanks.

  • Like 1
  • 1 month later...
horstepipe
Posted

Still doesn't work on current stable release.

Posted

ok, i'm sorry. right now i can't reproduce on ios 9.3 devices. i would suggest updating. i am testing them on a daily basis.

horstepipe
Posted

hm very strange that you can't reproduce it.

I have 2 iPhones with IOS 9.3 here, both the same...

horstepipe
Posted

@@davidruzicka

is your Emby Server running on a Synology NAS, too?

 

@@Luke

Do you think the problem occurs only on Synology Servers?

 

I could also test it on my neighbor's iPad Air 2 if you think it's a device related problem

Posted

No, not related to Synology.

horstepipe
Posted (edited)
  • Resolve startup failure when a quote exists in the installation path
  • Resolve episodes not displaying when season numbers are missing
  • Refresh web tabs on playback stop
  • Fix enter on search function
  • Fix loading spinner on login screen

 

Still no luck (if this fix was related to IOS, too)

Here is my Emby log when trying to open the page:

2016-05-26 22:05:07.5215 Info HttpServer: HTTP GET http://192.168.0.3:8096/emby/System/Info/Public. UserAgent: Mozilla/5.0 (iPhone; CPU iPhone OS 9_3_2 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13F69 Safari/601.1
2016-05-26 22:05:07.5295 Info HttpServer: HTTP Response 200 to 192.168.0.12. Time: 31ms. http://192.168.0.3:8096/emby/System/Info/Public
2016-05-26 22:05:07.5815 Info HttpServer: HTTP GET http://192.168.0.3:8096/web/strings/de.json?v=1464293107572. UserAgent: Mozilla/5.0 (iPhone; CPU iPhone OS 9_3_2 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13F69 Safari/601.1
2016-05-26 22:05:07.5859 Info HttpServer: HTTP GET http://192.168.0.3:8096/web/bower_components/emby-webcomponents/strings/en-US.json?v=1464293107572. UserAgent: Mozilla/5.0 (iPhone; CPU iPhone OS 9_3_2 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13F69 Safari/601.1
2016-05-26 22:05:07.5920 Info HttpServer: HTTP Response 200 to 192.168.0.12. Time: 7ms. http://192.168.0.3:8096/web/bower_components/emby-webcomponents/strings/en-US.json?v=1464293107572
2016-05-26 22:05:07.6124 Info HttpServer: HTTP Response 200 to 192.168.0.12. Time: 31ms. http://192.168.0.3:8096/web/strings/de.json?v=1464293107572
Edited by horstepipe
Posted

My ios devices sometimes randomly drop the wifi in the middle of loading a page. that's the only time i can reproduce it. the rest of the time, no problem found, sorry.

horstepipe
Posted (edited)

hmm ok no big deal.

Can't be Wifi, acceccing Emby via LTE results in the same.

On Android no problem.

Edited by horstepipe
horstepipe
Posted

lol just recognized that you can administrate server via Emby IOS app, too.

Then it's no big deal at all

davidruzicka
Posted (edited)

Yes, I still have the problem on latest stable release.

On iOS 9.2 any browser fail to load the page: Safari, Chrome, Firefox. Sometimes with or without the loading spinner. Sometimes it is loading only the header with the 3 bars menu the search and the user icons but none of them are accessible: that is why I think for now that it is rather an emby server issue.

I am going to test further on other iphones and report here.

Edited by davidruzicka
davidruzicka
Posted (edited)

Ok asked some users to test. Tested on 6 different iPhones, 5, 6, 6plus, iPad 2 air, from iOS 9.2 to 9.3.2: all have the same problem.

 

Now I must add, to be more specific, that the problem has another behaviour sometimes: it is loading the page but many images (users, movies etc) are missing. Clicking on a movie or a link in the menu doesn't work.

 

So somehow it is related on the way it is fetching data: my server doesn't like it when a mobile browser is doing the job.

 

I noticed Emby is using Swagger-UI. So I tested the swagger URL on my server: after real long /about 5min, it is displaying correctly, BUT none of the links work. If I click on the little heart-parameters icon it is loading another external page under the domain name of my server (http://api.wordnik.com/v4/resources.json) where all the links (like expand Show/hide) work correctly.

 

Hem.

 

So I though my problem could be a kind of Ubuntu-Swagger thing like that:

http://askubuntu.com/questions/239562/installing-swagger-ui

 

where Eyal says "...but on Ubuntu it seems like it isn't working properly - I can see that the Swagger-ui isn't even trying to fetch the resources page." where the solution seem to be setting the Access-Control-Allow-Origin: *

 

But then I thought ok but in my case (our case) it is not working only on mobile browsers and works perfectly on desktop... so it cannot be a swagger-ubuntu thing.

 

Hemhem.

 

Then I did something just to test the url back to my desktop: I copy-pasted the url of the emby server in iOS Mail to send it to myself.

And I notice something weird: the pasted URL doesn't have http:// at the beginning. I quickly tested other URLs from other websites copy pasted from Mobile Safari: they all have the http at the beginning. Even if I add manually the http in front my emby server url it is stripping the http and when I copy-paste the url there isn't any http anymore... And I know that some REST requests like Swagger is using work bad without the http...

 

Upon this quest I remember that I found a website explaining how to set up Emby on Ubuntu and at the end it added that we can create an Emby Connect account and access our own server from the URL 

http://app.emby.media

So I tried that.

And it worked seamlessly.

 

OK then.

 

On my Ubuntu machine I have also an Apache webserver where I also use the same domain as the Emby Server but on the usual 80 port:

Emby: http://mywebsiteurl.com:8096

My website on Apache: http://mywebsiteurl.com

 

So there is some kind of conflict between Apache and Emby using the same Url: mobile browsers don't understand where to fetch the data, somehow.

 

Will post back with the solution ;-)

Edited by davidruzicka
  • 4 weeks later...
davidruzicka
Posted

Just a quick update.

 

I uninstalled Apache2.

 

Still the same problem.

So it is not a conflict with the Apache server or a port misconfiguration as I thought.

 

 

I didn't find a solution.

Posted

Just in case it might be timeout related, the web app on the beta server is much lighter and loads quicker. It might not make any difference if something else is going on, but just be aware the next stable release will have these improvements.

  • 1 month later...
davidruzicka
Posted

Well since I installed a reverse proxy on my Apache, no more problems!

Posted

Thanks for reporting back.

Posted

Hi there, I have the same issue. Only Android and iOS devices are effected. First my Android device worked just fine and now I also get these ''black'' screens when trying to connect. When using a laptop or PC all is perfect only mobile devices for some reason run into this issue. Do you have any idea how to fix this? I suspect a timeout issue or something ... maybe ... 57a8d4654a5ec_IMG20160808WA0014.jpg

  • 2 weeks later...
horstepipe
Posted

has meanwhile anybody an idea why this happens?

Posted

On my test devices with 9.3 I cannot reproduce the  problem.

horstepipe
Posted

hmm ok strange.

Maybe only Synology users are affected?

Posted

I personally do not think so.

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