coyote
(coyote)
1
I’using OH2 and I included a Grafana graph in the sitemap:
Webview url=“http://oh2:3000/dashboard-solo/db/p1prodcons?orgId=1&panelId=1&theme=light” height=12
It works perfectly good in the browser, both on PC and iPhone. But in the app I get the error:
{'message" : “Basic auth failed”}
I tried adding the credentials (user:pass@) no change.
Other Webview is rendered without issues (IP camera through zoneminder)
Any ideas what may be causing this??
Thanks
coyote
(coyote)
2
turns out a setting in the grafana.ini caused this effect.
turn off basic authentication:
[auth.basic]
enabled = false
restart grafana
systemctl restart grafana-server.service
9 Likes
JohnnyX
(John)
3
Thanks for sharing, works fine for me as well.
Regards
John
1 Like
Boby
(Robert K.)
4
Helped me as well, thank you!
1 Like
ViBe000
(Vincent)
6
I have the same problem and this solution didn’t work for me.
It may be something else, but I don’t know what. Can you help me?
ViBe000
(Vincent)
7
I solved the problem. I forgot to remove the ; for enabled = false
1 Like