7.2.2 > 7.3.5 broke Grafana behind F5 loadbalancer, how to fix it?

Hi,

We are using hundreds Grafana instances accessible behind F5 loadbalancer with the help of the APM (access policy manager) module, so user sees so called landing page and F5 acts as proxy, for example if user clicks some site Grafana button, new page opens and the URL is:

https://grafana.domain.com/f5-w-68747470733a2f2f67726166616e612e6177732d65752d63656e7472616c2d312e70746563$$/

F5 presents URI in HEX, in decoded view it’s - f5-w-<HEX_equivalent_of_backend_FQDN>$$

This all worked fine with grafana-7.2.2-1.x86_64 but does not work with grafana-7.3.5-1.x86_64 as seems Grafana started to make some redirections, as in F5 log I can see:

grafana-site2.internal.domainf5-h- can not be resolved

Why Grafana tries to make such absolute path redirection? I did read changelog, but I didn’t find any general change, so what could be the reason for such behavior? Grafana config is same as before:

[server]
http_port = 443
protocol = https
enable_gzip = true
cert_file = /etc/grafana/certs/ca.pem
cert_key = /etc/grafana/certs/key.pem
root_url = https://grafana.<%= scope.lookupvar(’::domain’) %>/

So what is the cause and how to fix it?

Hi,

There seems to be either a breaking change or a bug, i found similar post to yours :

Note : I would suggest you create an Issue on GitHub.

Hope it helps.

Good Luck

This topic was automatically closed after 365 days. New replies are no longer allowed.