-
Notifications
You must be signed in to change notification settings - Fork 12.1k
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
[Bug]: Server Side PNG Rendering authentication when going through http proxy using proxy auth feature #5906
Comments
VIP , does your httpd proxy do any authentication? what happens when you wget https://grafana.mydomain.net/dashboard-solo/db/tat-first-relay-layer?panelId=2&fullscreen&from=1472074836042&to=1472161176043&width=1000&height=500 from the grafana server? |
Now that I look close, Apache does have authentication and it forwards/proxies it to Grafana, httpd/conf.d.grafana.conf:
i get:
thanks. |
I think that might be the issue. |
Hi, I modified render.js and added credentials user/pass, the image rendered nicely, you are right render.js doesn't have a way to auth against the server. /usr/share/grafana/vendor/phantomjs/render.js:
for now this little workaround works for us, hopefully there is a smarter way in the future to do this using the users credentials. |
Please see #6115 I think we should just have two variables in grafana.ini |
Makes perfect sense. |
Right, it should default to protocol://domain:port instead of relying on On Sep 22, 2016 4:21 PM, "Kirill Zakharenko" notifications@github.com
|
fixed in 175c651 ! |
Still not working. Please see: #6115 (comment) |
Hi,
I am having trouble trying to get direct link rendered image to work, at first i was getting 404 but after reading the other issues i finally change my root_url parameter to the correct URL and i got that working, although now i am getting a completely transparent image.
my configuration looks like this:
grafana version: 2.6
grafana.ini:
httpd/conf.d.grafana.conf:
this is what i see on grafana.log:
I have a VIP on top off httpd on 443 which takes care of ssl and sends trafic to grafana on port 80.
don't know if that could be the problem? or i am doing something else wrong.
thanks!
The text was updated successfully, but these errors were encountered: