I have updated Grafana from version 10.5.0 to 11.0.0. When I now access Grafana via port 3000 and am logged in, no graphics are displayed. The error message “origin not allowed” appears at the top left of the graphics window. When I log out and call up the page again, no error occurs and the graphics are displayed.
I have now imported a backup of Grafana with the old version 10.5.0 and everything works perfectly.
What do I have to do after the update to 11.0.0 so that the error does not occur? Many thanks for your support!
Same problem for me as well. If I log out on all sessions via port 3000 and go via the web-ui of the add-on (so via port 8123) it works. Done already many suggestions as provided by ChatGPT but no luck so far. Would be great to have a working solution!
the value <example.com> must be adapted to your use case. in my case i have local DNS resolution and don’t expose home assistant and grafana on internet. I’ve just inserted the local dns entry of home assistant instead of <example.com>
My Grafana add-on stopped working with the “origin not allowed” error, but I was able to fix the problem by adding the following to the env_vars section of the Grafana add-on configuration:
where value is the local IP address of my HA instance. I only access Grafana locally on my home network.
Thanks to everyone in this thread for the information required to sort this.
This did the trick for me. I use a reverse proxy, and fixed it by both setting the HA instance IP address in this variable, and the external domain I’m using. Now it works both internally, and through the proxy. Thanks!
Any news here? I have the same problem. No access to my influxDB, even if I try to change my language under admin, I get the error “Origin not allowed.” Worked before like a charm.