Today I just upgraded the Grafana from 8.3.5 to 8.4.3, suddenly grafana can’t show the dashboard content from any datasource, elasticsearch, prometheus…
The problem is Grafana show
origin not allowed, even I want to add new datasource.
I use Mariadb as grafana backend.
I also tried to reinstall from scratch of the grafana except the grafana.ini that I already copied to other location and change the default grafana.ini from fresh installation.
Also, i use nginx as reverse proxy and already add the config as follow:
proxy_pass http://localhost:3000; proxy_read_timeout 90; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
The strange condition is that I could not add new datasource, modified datasource, so the result of the dashboard always broken.
There a Loadbalancing in front of nginx using openresty. I already add the config:
proxy_set_header Host $host; in the openresty, but no luck.
Is there any workaround to solve this issue?