# Ajuda Grafana 401: Unauthorized

**URL:** <https://forum.cpha.pt/t/ajuda-grafana-401-unauthorized/4250>\
**Category:** Dúvidas\
**Tags:** grafana\
**Created:** [30 Março , 2020 10:45 UTC](https://forum.cpha.pt/t/ajuda-grafana-401-unauthorized/4250 "2020-03-30T10:45:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pedro\_Oliveira](https://forum.cpha.pt/user_avatar/forum.cpha.pt/pedro_oliveira/32/2204_2.png) [@Pedro\_Oliveira](https://forum.cpha.pt/u/Pedro_Oliveira)\
**Post date:** [30 Março , 2020 10:45 UTC](https://forum.cpha.pt/t/ajuda-grafana-401-unauthorized/4250/1 "2020-03-30T10:45:03Z")

</div>

Estou com um problema nos gráficos. Quando entro no Home Assistant o gráfico apresenta a mensagem “401: Unauthorized” estou a usar o card webpage “iframe”.  
Para ele funcionar basta entrar no grafana e já apresenta o gráfico.

Tenho o gráfico dos consumos de várias tomadas, queria apresentar por dia mas barras individuais, é possível?

 ![Capturar](https://forum.cpha.pt/uploads/default/original/2X/f/f257ded6b419a994a6ae53d909affcb280dfc0cd.jpeg)

---

<div class="post-metadata">

**Author:** ![ricreis394](https://forum.cpha.pt/user_avatar/forum.cpha.pt/ricreis394/32/7810_2.png) [@ricreis394](https://forum.cpha.pt/u/ricreis394)\
**Post date:** [5 Abril , 2020 12:19 UTC](https://forum.cpha.pt/t/ajuda-grafana-401-unauthorized/4250/2 "2020-04-05T12:19:54Z")

</div>

O facto de aparecer `401: unauthorized` parece ser um problema do ingress. Apesar do ingress facilitar muito a vida, neste caso vais ter abrir a porta e autenticar por lá.

Podes ver mais aqui:

> **["401: Unauthorized" iframe CARD of Grafana not working](https://community.home-assistant.io/t/401-unauthorized-iframe-card-of-grafana-not-working/148017/21)**
>
> You can’t include iframes from Grafana from Ingress, this is not an add-on limitation and can therefore not be fixed via an add-on update. The version re-instates direct access to grafana, which can provide access without ingress.

---

<div class="post-metadata">

**Author:** ![Skysurf](https://forum.cpha.pt/user_avatar/forum.cpha.pt/skysurf/32/4841_2.png) [@Skysurf](https://forum.cpha.pt/u/Skysurf)\
**Post date:** [18 Junho , 2020 21:00 UTC](https://forum.cpha.pt/t/ajuda-grafana-401-unauthorized/4250/3 "2020-06-18T21:00:05Z")

</div>

também me da erro : 401-unauthorized , mas eu tenho o Webpage Card Configuration.

---

<div class="post-metadata">

**Author:** ![ricreis394](https://forum.cpha.pt/user_avatar/forum.cpha.pt/ricreis394/32/7810_2.png) [@ricreis394](https://forum.cpha.pt/u/ricreis394)\
**Post date:** [18 Junho , 2020 22:00 UTC](https://forum.cpha.pt/t/ajuda-grafana-401-unauthorized/4250/4 "2020-06-18T22:00:42Z")

</div>

Vê o meu post anterior ao teu…
