graph-explorer icon indicating copy to clipboard operation
graph-explorer copied to clipboard

Authorization header for graphite backend not being sent by the renderer

Open abhinav-upadhyay opened this issue 11 years ago • 4 comments

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?

abhinav-upadhyay avatar Feb 26 '14 13:02 abhinav-upadhyay

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

Dieterbe avatar Mar 01 '14 13:03 Dieterbe

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.

englishm avatar Jun 12 '14 18:06 englishm

after merging #118 is this still a problem?

Dieterbe avatar Aug 08 '14 18:08 Dieterbe

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

dimi-github avatar Dec 06 '14 01:12 dimi-github