Can not acccess ipv6 only websites from addons

I’m currently trying to install some grafana plugins in the GitHub - hassio-addons/addon-grafana: Grafana - Home Assistant Community Add-ons but I can’t get it working:

[cont-init.d] grafana.sh: executing... 
Error: ✗ Get "https://grafana.com/api/plugins/repo/grafana-clock-panel": dial tcp [2600:1901:0:b3ea::]:443: connect: cannot assign requested address
[14:59:47] FATAL: Failed installing Grafana plugin: grafana-clock-panel
[cont-init.d] grafana.sh: exited 1.

My configuration looks like this:

certfile: fullchain.pem
env_vars: []
keyfile: privkey.pem
plugins:
  - grafana-clock-panel
ssl: true

which is the basic config + the plugin line.

When I try to reach grafana.com via curl it also fails with this:

curl (7): Couldn't connect to server

When I start the terminal plugin, it tells my some ipv6 adresses, so there is something there. If i run ip a or ifconfig, there is just the 172* ipv4 address.

Do you have any idea why I can’t access grafana.com?

My guess is that somehow there is no ipv6-support from inside the addon-containers…?

Ok, solved…it was DNS.

Hi dadav, how did you solve it ?

Hey @EastWoodYang ,

If I remember it correctly, my unbound configuration wasn’t supporting ipv6. If you have a pihole or some custom dns setup, definitely check if you can resolve grafan.com.

Good luck,
dadav