Since a few days, i encounter a popup saying “failed to fetch” in any grafana dashboard i am opening up.
I see it in dashboards within our grafana cloud subscription,
i see it in the local grafana installation at home on my raspberry pi
i see it even in the grafana playground web page
Is it browser specific? E.g. builtin browser ad blocking, some plugin (uorigin, …)? Any error in browser console and network tab?
1 Like
I am also experiencing this error since last couple of days on self-managed Grafana installations. No updates were installed and no changes to queries made. No uOrigin is used. No lines in grafana.log regarding this error.
It just appears at some random times.
Browser console network tab, pls.
OK, in my case it was uBlock origin. After disabling it, the popup did not appear any more.
Sorry
4 Likes
I am also seeing this in some of my dashboards all of a sudden:
So I would say any request with ERR_BLOCKED_BY_CLIENT
is browser problem - very likely some add blocker/plugin/extension is blocking also Grafana resources.
1 Like
The issue is related to recent update of EasyPrivacy
opened 01:59AM - 19 Jun 24 UTC
closed 11:34PM - 19 Jun 24 UTC
<!--
EasyPrivacy requests:
** If a site implements any tracking or monitori… ng, UA/IP/Geo checks, browser detection, analytics, telemetry, linking to third-parties, pixels, referrers, fingerprinting, event/perf logging etc. Regardless how helpful or needed the script(s) are, it will be blocked in EasyPrivacy. Privacy comes first, and the block on these scripts will remain in place.
Any additions, changes, or removals is at the authors' discretion.
You're free to counter-argue (to a certain point) if you disagree with the decision.
To avoid being banned, don't constantly re-open or create new (related) issue reports.
-->
#### List the website(s) you're having issues with:
https://example.com/api/frontend-metrics (on any self-hosted [Grafana](https://github.com/grafana/grafana) instance)
#### What happens?
This URL is being matched by the following rule in [easyprivacy_general.txt](https://github.com/easylist/easylist/blob/master/easyprivacy/easyprivacy_general.txt):
/frontend-metrics^
#### Screenshot(s)
#### Filter lists you're using:
EasyPrivacy
#### Your settings:
I am using uBlock Origin with default settings.
<!-- Just to ensure there are no issues or conflicts with other web browser extensions.
- Ensure you're running just one ad block extension only.
- Disable NoScript, Ghostery, Disconnect, HTTPS Everywhere, Privacy Badger,
AntiBanner, VPN extension before reporting (and re-test with them disabled). -->
- OS/version: macOS/14.4.1
- Browser/version: Firefox/127
- Ad block extension/version: uBlock Origin/1.58.0
#### Other details:
It looks like this pattern was added for a specific website (https://www.autoscout24.it/). Should it go in easyprivacy_specific.txt?
<!-- If you suspect certain filters (this helps spending time to debug it manually).
If you have a screenshot of the issue or advert, this will help to highlight it.
Include anything else that may be helpful (link to an Adblock Plus issue report, filter suggestions, etc.) -->
opened 06:14PM - 19 Jun 24 UTC
closed 06:25PM - 19 Jun 24 UTC
### What happened?
It appears a recent ublock origin update has added `/fronten… d-metrics^` to its block list which i've tracked down to the `easyprivacy` list. I understand this is in no way related to grafana, however, i cannot find any documentation nor information about what `/api/frontend-metrics` is, what its used for, why it exists and why i should allow it.
Grafana is showing an error pop up on every page despite grafana working perfectly without any issues. This error is misleading and ideally i would like to disable it.

### What did you expect to happen?
For grafana to not display errors when there is nothing wrong with grafana's functionality
### Did this work before?
N/A
### How do we reproduce it?
1. Use a chromium browser (e.g. Google Chrome, Edge) or firefox
2. Install uBlock origin
3. Navigate to any page and observe that grafana places a fetch to `/api/frontend-metrics` and displays the error (which is the problem) in the UI

### Is the bug inside a dashboard panel?
No
### Environment (with versions)?
Grafana: Grafana v11.0.0 (83b9528bce) (docker image)
OS: Ubuntu Server 22.04 LTS (aarch64 for rpi)
Browser: Google Chrome, Microsoft Edge, Firefox
### Grafana platform?
Docker
### Datasource(s)?
Prometheus, OpenSearch
2 Likes