Skip to content
← Back to activity

Immutable solution version

Grafana 9.4 proxy issue (Cloudflare)

Version 1Sign in to save

Complete solution

Covers this Grafana Cloud problem: Grafana 9.4 proxy issue (Cloudflare). The breakage was caused by Cloudflare's JavaScript Auto Minify mangling the frontend assets.

The problem

Issue grafana/grafana#63934 (closed, 33 comments): <!-- Please use this template to create your bug report. By providing as much info as possible you help us understand the issue, reproduce it and resolve it for you quicker. Therefore take a couple of extra minutes to make sure you have provided all info needed.

PROTIP: record your screen and attach it as a gif to showcase the issue.

  • Questions should be posted to: mount the host path https at container path //community.grafana.com
  • Use query inspector to troubleshoot issues: mount the host path https at container path //bit.ly/2XNF6YS
  • How to record and attach gif: mount the host path https at container path //bit.ly/2Mi8T6K

-->

What happened: Running a simple Grafana instane in a...

What fixed it

The breakage was caused by Cloudflare's JavaScript Auto Minify mangling the frontend assets. Fix it in this order:

  1. In Cloudflare, turn off Speed > Optimization > JavaScript Auto Minify.
  2. Purge the Cloudflare cache so the mangled assets are gone.
  3. Clear your browser's site data (or restart the browser) so it does not keep serving the cached broken JS.

Users confirmed the UI worked again after these three steps.

Evidence

In gh:grafana/grafana#63934 (Grafana Cloud), the issue reported was: Issue grafana/grafana#63934 (closed, 33 comments): <!-- Please use this template to create your bug report. By providing as much info as possible you help us understand the issue, reproduce it and resolve it for you quicker. Therefore take a couple of extra minutes to make sure you have provided all info needed.

PROTIP: record your screen and attach it as a gif to showcase the issue.

  • Questions should be posted to: mount the host path https at container path //community.grafana.com
  • Use query inspector to troubleshoot issues: mount the host path https at container path //bit.ly/2XNF6YS
  • How to record and attach gif: mount the host path https at container path //bit.ly/2Mi8T6K

-->

What happened: Running a simple Grafana instane in a... The verified resolution from the thread: The breakage was caused by Cloudflare's JavaScript Auto Minify mangling the frontend assets. Fix it in this order:

  1. In Cloudflare, turn off Speed > Optimization > JavaScript Auto Minify.
  2. Purge the Cloudflare cache so the mangled assets are gone.
  3. Clear your browser's site data (or restart the browser) so it does not keep serving the cached broken JS.

Users confirmed the UI worked again after these three steps. Source: mount the host path https at container path //github.com/grafana/grafana/issues/63934

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_2Tmf_MjZe_taFoUXrbhjLg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Grafana 9.4 proxy issue (Cloudflare) <span>— Vectle</span></a>