I can confirm the 401 error goes away if you open grafana through the ingress menu on the device and then afterwards refresh the page with the iframe card.
Yes, but at some point the error returns in my case.
I can confirm the 401 error goes away if you open grafana through the ingress menu on the device and then afterwards refresh the page with the iframe card.
Yes, but at some point the error returns in my case.
Hello all,
First of all thanks a lot @frenck for all your work ! Itās awesome !
Butā¦ Iāve got a problem:
Iāve been trying to install Influxdb and Grafana on my Hass.io (on a raspberry 4), but canāt make it workā¦
InfluxDB seems ok, but I canāt add it as a datasource in grafana.
When I try to add it, and click on Save and Test, I have a pop up asking for my username and pwd. But when I type them (those from grafana not hass.io) nothing happens and the pop up pops againā¦
When I have a look at the log I only have:
t=2019-11-07T17:46:12+0100 lvl=info msg="Request Completed" logger=context userId=1 orgId=2 uname=MY_USER_NAME method=GET path=/api/datasources/proxy/3/query status=401 remote_addr="37.71.126.132, 172.30.32.1" time_ms=343 size=33 referer=http://<adress_of_my_home_assistant>:8123/api/hassio_ingress/rzjOdr609nmWtvLswRc2bax9i6PJs3u05nDP2HYIPzo/datasources/edit/3/
Do any of you guys happen to know how to solve this issue ?
Thanks a lot
Max
I agree, it has re-appeared for me as well. Yesterday I was unable to get into Grafana from my computer, although my tablet showed everything fine. The iframe gave 401-error, while the Grafana link sent me to the Grafana login page without letting me login (though the login was removed?). So thereās something weird going on for sure.
Yes you are right. Same problem
Hello all,
I also found the problem 401 in the iframe card.
Thatās correct, same here. I rectified it using the Grafana link and actually signing in with its admin account. going back to lovelace the iframe card works. in one instance I had to also clear the cache, but this seems unnecessary usually.
Practically every day I have to reopen the grafana UI before the iframe card starts working again, at the beginning I get the 401.
Also, I could not make it work on the iOS app. I still only see the 401 error, no matter what I do.
@mr-varga Iām not sure, you seem to be doing the right things. In theory it should work.
I have never tried something like that before, so I have nothing to share. I would troubleshoot around verifying whether you have actual access to the influxDB machine. Have you tried from within the same network using the local IP (e.g something like 192.168.1.xxx:80806), rather than duckdns address, just to exclude you have some issues there?
Have a look at point 7 here: Complete guide on setting up Grafana/InfluxDB with Home assistant using official Docker images
What did you link to duckdns? Did you use the http://a0d7b954-influxdb:8086 address? as far as I understand this is only accessible by localhost.
Can you post your Grafana data source settings?
I need two sources in Grafana, one for the local InfluxDB server and the other for the external InfluxDB server (this is outside of my home).
yes, this was clear from what you said at the beginning.
What is likely not working is whatever you linked to duckdns. My suggestion to try a connection to the āSulParoā database from within the same local network was to narrow down the multiple possible causes. I understand you need to connect from another house, but you need to troubleshoot first.
Are you 100% sure the connection via the duckdns address work and connect to your device? if not, thatās what you need to verify first.
Yes Iāam sure 100%. This āSulparoā is a raspberry with hassio running and influxdb addon, and time a go there was also grafana and all works ok. Now i have uninstall grafana but influxdb is running. If i try to go from external to the link #####.duckdns.org:8086 the page is blank with ā404 page not foundā. This seems to be ok like a influxdb server, right?
Yep, youāre right, it should indicate you are connected to it.
Thatās good.
I think at this stage your best bet is checking what your grafana experiences when trying to connect to this external source.
Iād recommend to set the log_level to ādebugā (your could even consider ātraceā) in the Grafana config. and restart the service. Check the guide: https://github.com/hassio-addons/addon-grafana
Then look at the log in the grafana add-on config page, youāll hopefully see some meaningful detail about the reason the connection to the external influxdb fails.
Hi all, is it possible to add a 3rd party plugin to this new version of Grafana?
Thanks.
I had to use the ip of hassio: 192.168.2.5:8086, other options failed.
Strange however, I use localhost:8086 to fill influxdb from HA
so it works for me too
Thanks Jens, I really needed your input on changing the organization! Was stuck there for a while!
Want to share how to get rid of the top menu inside the i-frame:
You have to change the d inside the url to d-solo, like that
http://HASSIO-IP:8123/api/hassio_ingress/weirdalphanumericcode/d-solo/anotheralphanumericcode/ā¦
Before:
After:
just in case, itās unknown
I just upgraded to v3.0.0 and it seems to have been successful except that I have lost all my dashboards.
Iām not a big user so far, so it is really only a bit annoying that this has happened, Iām not going to lose too much sleep over it if I have to recreate them.
But is there a way to get them back?
I usually back up Dashboards to JSON every now then, that way itās usually easy to restore them if needed.
Ah, ok, I didnāt know you could do that.
I have a snapshot from before the upgrade. Are the dashboards available anywhere to copy and paste back in the current config?
(Iām not expecting the answer to be yes, but itās worth asking)