← Back to team overview

ubuntu-webapps-bugs team mailing list archive

[Bug 1656551] Re: webbrowser only partially loads some https sites

 

I’m not seeing the issue with https://www.amazon.[com|de], they load
fine on both my E4.5 and my MX4.

I am seeing the problem with your router’s web interface. Relevant bits
of the logs:

[0116/080753:ERROR:cert_verify_proc_nss.cc(942)] CERT_PKIXVerifyCert for rkupper.no-ip.org failed err=-8172
qml: [JS] (https://rkupper.no-ip.org/:123) Uncaught ReferenceError: html is not defined


The first line shows up when the self-signed certificate warning page is shown.
The second line shows up when choosing to continue anyway. It looks like some javascript is trying to do some incorrect processing and the page fails to render altogether.

On desktop I see either that same error or a different one in the logs,
but it also results in the page failing to render:

qml: [JS] (https://rkupper.no-ip.org/:123) Uncaught TypeError: Cannot
read property 'blueBarHead' of undefined


The relevant part of the source of the page which fails to render is:

<html>
[…]
<body>
[…]
<script type="text/javascript">
[…]
function localInit() {
"use strict";
window.history.replaceState({}, '', '/');
html.blueBarHead({
"type": "login",
title: data.bluBarTitle,
parent: document.body
});
login.init(data);
}
localInit();
</script>
</body>
</html>

The 'html' variable is being defined in a script that’s loaded earlier,
https://rkupper.no-ip.org/js/html.js. It looks like that script might
not have been loaded yet at that point? I wonder if that's related with
the certificate error at all? Adding an oxide task for further
investigation.


** Also affects: oxide
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to Oxide.
https://bugs.launchpad.net/bugs/1656551

Title:
  webbrowser only partially loads some https sites

Status in Oxide:
  New
Status in webbrowser-app package in Ubuntu:
  New

Bug description:
  The browser on my Ubuntu Phone (Meizu MX-4, OTA 15) does not open some https-secured sites correctly, such as https://www.amazon.com or https://www.amazon.de. The browser presents a warning about an invalid ssl certificate, although the certificate appears perfectly valid. It then presents the option to go back to a safe site or continue anyway. If I choose continue anyway, it starts to load the site, but never completes. After some time it stops loading and displays a rather incomplete version of the site. It is clearly composed of only some of the pages' elements and incomplete.The amount of the page that is displayed varies from time to time.
  It appears that transmission times out while loading the page.
  Test case:
  1) Try loading https://www.amazon.com. Observe that webbrowser-app displays warning about invalid certificate, without any apparent reason. Chose  "continue anyway". Observe, that the site is only incompletely loaded and unsable.
  2) Try loading the web interface of my router: https://rkupper.no-ip.org/. This site uses a self-signed certificate, which is correctly displayed as a security risk. But self-signed certificates are a common use case on DSL or cable routers' web interfaces. Choose "continue anyway". You should see the login page of a fritz box router. Observe that the site is incompletely loaded and the login button does nothing at all.

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1656551/+subscriptions