Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Inaccessible panel when using serve_from_sub_path = true #316

Open
ninlil opened this issue Jun 11, 2021 · 2 comments
Open

Inaccessible panel when using serve_from_sub_path = true #316

ninlil opened this issue Jun 11, 2021 · 2 comments

Comments

@ninlil
Copy link

ninlil commented Jun 11, 2021

Part of out config:

[server]
root_url = https://hostname/grafana
serve_from_sub_path = true

We are running Grafana inside Kubernetes and all other panels (including some community) are working just fine.
We've added the *.global.ssl.fastly.net to the CSP
but when we add a "Worldmap Panel" we instantly get "blocked CSP" on blob:https://hostname/3306cc05-9756-493b-8b6d-3ff08a7870fa (and some other UUIDs)

These links are missing the "grafana"-part from the server.root_url above.

We have no idea what they are supposed to contain since we don't get anything when adding "/grafana" to the invalid URL above.

@raypettersen
Copy link

Just noticed the same problem with our similar config. Two uid type of files fail to load, as requests ignore the sub_path making worldmap panel unusable. Surely this is a bug?

@amotl
Copy link

amotl commented Jun 15, 2021

Hi there,

we have been effectively maintaining the code base with our fork at [1] and will be happy to look into this issue if you can confirm it also happens with that code base. You can find installation instructions at [2].

Please feel free to open another issue at [1] in order to continue this discussion appropriately.

With kind regards,
Andreas.

[1] https://github.com/panodata/grafana-map-panel
[2] https://community.panodata.org/t/grafana-map-panel/121

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants