Access Grafana using DuckDNS

Hello all! I just installed Grafana and InfluxDB addons and they are working correctly.
Created a dashboard in grafana and i managed to add the whole dashboard in HA as a panel view using Webpage card and a url like https://192.168.xxx.xxx:8123/api/hassio_ingress/LFR2_Uke3ri1WhAhoW1R4i5julWml7x_FZ-_QF8I8PU/d/zzAVYzLnz/home-assistant-system?orgId=1&kiosk

The issue is when i try to access the same view using my DuckDNS url (which i used to access remotly via my phone).

I tried searching but didn’t find anything that will work for me.

Did someone has the same setup to share a few steps what i did wrong?

In my Grafana add-on i have the following env’s

- name: GF_AUTH_ANONYMOUS_ENABLED
  value: "true"
- name: GF_AUTH_DISABLE_LOGIN_FORM
  value: "true"
- name: GF_AUTH_ANONYMOUS_ORG_ROLE
  value: Admin
- name: GF_SECURITY_ALLOW_EMBEDDING
  value: "true"

Try adding

- name: GF_AUTH_ANONYMOUS_ORG_NAME
  value: Main Org.

I think you may also have to change the port IIRC, I currently have 3000 as the grafana port.

Is that url hard coded like that in the Webpage card? If so, that’s the issue. When you are on mobile data, unless you are on a VPN or something similar, that URL will never resolve as it’s a local LAN IP.

1 Like