WebPage Card not showing Grafana Dashboard

I have created a simple Dashboard with Grafana. I selected “share embed” and pasted the url into the webpage card. However it doesnt display the Grafana Dashboard but shows the first tab of my HA dashboard in the webpage card. I have pasted the embed url into a broswer and it correctly shows the Grafana Dashboard. HA runs as a VM and Grafana as a LXC in Proxmox. The code for the webpage is

type: iframe
url: >-
  <iframe
  src="http://10.0.0.111:3000/d-solo/dehw3xybpb7k0c/new-dashboard?orgId=1&timezone=browser&panelId=1&__feature.dashboardSceneSolo"
  width="225" height="100" frameborder="0"></iframe>
aspect_ratio: 50%
title: test

Any help would be greatly appreciated.

Thanks
Barry

Go to the config tab of the grafana addon. Where it says env_vars enter the below and restart the addon.

- name: GF_AUTH_ANONYMOUS_ENABLED
  value: "true"
- name: GF_AUTH_ANONYMOUS_ORG_NAME
  value: Main Org.
- name: GF_AUTH_ANONYMOUS_ORG_ROLE
  value: Admin
- name: GF_SECURITY_ALLOW_EMBEDDING
  value: "true"
- name: GF_AUTH_DISABLE_LOGIN_FORM
  value: "true"

His problem is very likely do the fact that he is using http for grafana dashboard over https for ha.
That is why dashboard doesn’t show.

I would think they cut and pasted the address, if they were using https, grafana’s generated dash link would be https as well

Maybe in haos. But generally it wouldn’t if you didn’t configure it to serve dashboard over https.

I’m using http for both HA and Grafana. As well as changing “allow_embedding” in grafana.ini I also changed it in usr/share/grafana/conf/defaults.ini. Now I get Grafana in the webpage card but it’s showing the Grafana login page. When I login in it just keeps going back to the login page.

I have set all these in grafani.ini and usr/share/grafana/conf/defaults.ini. I now get the Grafana login page in the Webpage Card but when I try to login it just cycles back to the login

All I can tell you is that HA is particular about where things are entered. I have the above in the env_vars section and it works.