vimeo / graph-explorer

A graphite dashboard powered by structured metrics
http://vimeo.github.io/graph-explorer/
Apache License 2.0
1.06k stars 93 forks source link

Authorization header for graphite backend not being sent by the renderer #97

Open abhinav-upadhyay opened 10 years ago

abhinav-upadhyay commented 10 years ago

Hi,

I am seeing a 401 error when the browser is trying to send a POST request to <graphite-host>/render. There is no authorization header being sent when making the request as well. I have already added the required CORS headers in the graphite hosts's apache config. Is this a known issue?

Dieterbe commented 10 years ago

what kind of authorization header should be sent? not sure what you mean. for me it "just works"

englishm commented 10 years ago

If I understand correctly, an Authorization: Basic XXXX header should be sent with the POST request using the username and password from the graph-explorer config.cfg. I believe I'm running into the same issue.

Dieterbe commented 10 years ago

after merging #118 is this still a problem?

dimi-github commented 9 years ago

Hi. I have same issue with latest release. In firebug i can see 401 on rander call from browser to graphite. If i add username:password@ to client_url i catch CORS error. Only if i disable basic auth completely it works as expected.

Dimitrij