As the topic title says, when viewed in basic ui my web view wont load. Chrome says, refused to connect, however on the android app it loads just fine.
I can also load the html page if I hit the url in chrome just fine.
I should note I have nginx in front of openhab doing ssl on port 443.
In edge I get a different message saying
There is supposed to be some content here, but the publisher doesn’t allow it to be displayed in a frame. This is to help protect the security of any information you might enter into this site.
Just tested without nginx in front and I get the same experience. So that header is coming from openhab. Makes me think that it would break WebView for everyone though.
perhaps try this method, this is cut and pasted so may read a little funny…
To serve html files we are going to use a built in feature of Openhab that allows us to access these files with the url format http://OpenhabServerIP:8080/static/allcams.html
The file must be placed inside a folder called html which can be found with the default samba share that openhabian creates called ‘openHAB2-conf’. If you use VS code to edit your Openhab files you already know the location of this folder.