Webview not working in android / my openhab

Hello,

when i add an webview item on the following way to my sitemap:

Webview url=“http://192.168.1.24/index.html” height=16
Webview url=“http://www.buienradar.nl” height=16
Webview url=“http://static/index.html” height=16
Webview url=“https://my.openhab.org/static/index.html” height=16

then from within my openhab (https://my.openhab.org/openhab.app?sitemap=demo)
or from within android, i do not see my webview item, and get the message unauthorized.

in my openhab it is fully blank and in android is says page is not available

Apples IOS is working fine by the way.
I think it has to do something with proxy.

is there any workaround ? Pleaseee tell me i’m totally stuck right now…

:slight_smile:

Did you find a solution to this?

no… still having this issue…

Cry Cry

That’s unfortunate! I was hoping there would be a simple solution to this.

Maybe in the next version i hope…

because i like to have a rain radar attached

Try enabling the authentication.

It will work in Browser.

Did anyone find a solution for this?
I also face the same issue and it doesn’t work either with authentication or without

Not if you use my openhab

Well this also exist with OH2 also?

Do you suggest that then port forwrding makes more sense then instead of My.openhab?

But the weired thing is even locally it doesn’t work!

I have my sitemap configured as below:
Webview url="…/static/trackmap.html"

where this is a local page showing google map with my phone’s location.
When i add the full url (http://x.x.x.x:8080/static/trackmap.html) the page is also not loaded locally at all on HABdroid (white page), but through the browser works fine, and remotely works without loading the icons, images inside the page!

I got lost about what is correct and how to configure it :frowning:

needs to be full URL… ie: http://…

I am trying https:// user and those are not working with webview. any trick to make it work ?

Has to be a http:// address. WebSocket dont easily support https:// SSL.

Now I am using following tutorial for web view . Local page in II frame + etc/confg/html folder approach.

It is working only on browser & Android app in LAN … I am using windows 10 PC with chrome browser .

Using mobile Android app & browser on WAN it is not working .

with Android mobile app i am getting following error while using webview element -in Openhab Log :

[io.openhabcloud.internal.CloudClient] - Jetty request 3026583 failed: null

It looks some issue on myopenhab.org to load the web page from static

any solution to this?