Webview is blank

  • Platform information:
    • Hardware: Processor:Intel Q8200 / RAM:7.8GB / storage:728.6GB
    • OS: Debian 9 (Stretch) 4.9.0-4
    • Java Runtime Environment: 8
    • openHAB version: 2.4.0-1
  • Issue of the topic: Webview used in example displays blank page.
    • Sitemap configuration related to the issue

      Frame label=“Web Test” {
      Webview url=“http://www.openhab.org” height=5
      }

Using the tutorial provided example for webview, I get a a blank box. Running another test, with a sitemaps configuration of:


Frame label=“Web Test” {
Webview url=“https://192.168.1.228:80” height=5
}

Loads a blank box at first, but after waiting for a minute it will load page a typical connection timeout page.

Why does the first test not work?

I don’t know if the webview supports redirected urls.
But typing http://www.openhab.org into your browser redirects automatically to https://www.openhab.org

So try https instead of http

Yep, by changing http to https, it now loads in the webview. Thanks!

Now I am having a similar problem. I can load “https://www.openhab.org”, but I can’t link to “https://www.google.com” Why would that be?