Created on 02-10-2017 08:23 PM - edited 09-16-2022 04:03 AM
Everytime I try to access Grafana and/or browse through it, I see below error in "grafana.log":
2017/02/10 15:14:14 [middleware.go:145 initContextWithBasicAuth()] [E] Invalid Basic Auth Header: Invalid basic auth header 2017/02/10 15:14:14 [I] Completed 10.128.211.106 admin "GET /api/datasources/proxy/1/ws/v1/timeline/metrics HTTP/1.1" 401 Unauthorized 39 bytes in 43us
If I make "auth.basc=false" I'm getting below error:
Connecting (POST) to myserver.com:3000/api/datasources Http response: 403 Forbidden Http data: {"message":"Permission denied"} Ambari Metrics Grafana data source creation failed.
It's a new install on HDP stack: 2.4.3.0 with Kerberos and SPNEGO is enabled
I had such issue with HDP 2.3.4 but the suggested workaround is not working with 2.4.3.0:
Created 02-10-2017 09:35 PM
please help...
Created 02-15-2017 09:25 PM
It is probably related to https://issues.apache.org/jira/browse/AMBARI-14384.
Good link: https://github.com/grafana/grafana/issues to monitor community issues with Grafana.
The only Grafana Community tickets that are close to yours:
https://github.com/GridProtectionAlliance/osisoftpi-grafana/issues/2
https://github.com/grafana/grafana/issues/7550
Later was closed prematurely. If you could document your issue a little bit more, you could also post the question on grafana community.
Created 02-15-2017 09:33 PM
Yes it seems to be related. I'll keep eyes on it. Actually, I've just opened a case with Hortonworks too.