-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting 401 Unauthorized access #368
Comments
Need to upgrade Grafana to a newer version due to CVE-2022-31176. |
using grafana/grafana-oss:9.1.4 but still facing same 401 error while renderering. |
Hi @antoniomerlin, Have you tried to set up a custom If so, could you share which settings have you exactly set up (section and key, of course no need to share the credential)? And how're you doing it for both services (settings file, env, flags...)? Anyway, it definitely looks like there's a mismatch between authorization expected from the Image Renderer and requests sent from Grafana, so in case you want to debug it I'd look for the requests and try to identify the origin of the mismatch. Thanks! |
for what it's worth: we were running 8.5.6 and "latest" for renderer => 401 started happening. |
that 401 error is not triggering when i am sending security token in X-Auth-Token inside header as you can see but now the issue i am getting is at grafana side i've added renderer_token in rendering section of grafana.ini but every request is generated from grafana is triggering 401 error.
|
This sounds weird! Would you be able to share a reproducible example (Docker & Compose or similar, with config files, etc) of your set up to help us reproduce the issue, please? For the secrets, like the renderer token, just replace them for random words/tokens. Thanks! |
Fixed sorry it was my mistake in docker-compose.yaml i am explicitly mounting a volume to grafana container which having that version(Grafana v7.4.0-9781pre (1c1a800bc0)) in /usr/share/grafana location, now everthing working fine able to render and everything working. |
Great, glad to read that, thanks for letting us know! Don't hesitate to reach us back in case you have any other issue! |
What happened:
Getting 401 Unauthorized access in grafana-image-renderer logs
What you expected to happen:
Generated Image
How to reproduce it (as minimally and precisely as possible):
generate direct link from panel
Anything else we need to know?:
Environment:
The text was updated successfully, but these errors were encountered: