This is honestly the first time I’ve ever seen the kernel freak out and kill some other process like this. The logical approach would be to kill PhantomJS. But if for some reason openHAB is running at a lower priority level than PhantomJS I supposed that would explain it.
The cloud connector only proxies OH’s web server and OH’s REST API. When you use a generated static image chart that image gets served up to your sitemap using openHAB’s web server. When using a webview you are showing content from a different web server (Grafana’s server in this case). The cloud connector cannot proxy the connection to an external web server.
So if you want access to charts outside of your LAN you need to:
- put Grafana with PhantomJS on some beefy machine, use the static image URL, and hope for the best
- write your own external script to pull down the charts from Grafana and put the images in your html folder
- expose your Grafana to the internet
I think the OP is a wiki.