You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, we have clickhouse with default user without password.
Graphs work, alerts - not (http 400 from clickhouse ... I think it relates to empty password)
If we disable "Basic auth" in plugin configuration, alerts work, graphs - not. They does not work due to default grafana authentication header with Bearer token, which clickhouse does not understand and returns 403.
If we enable "Basic auth" with default user and empty password, graphs work, alerts - not. Alerts receive http 400 from clickhouse server (maybe due to empty password header).
Current working workaround: disable Basic auth and set custom http header "Authorization: Basic ZGVmYXVsdDo=" (for default empty password). It replaces Bearer token for graphs, and does not trigger x-clickhouse-* headers for alerts.
The text was updated successfully, but these errors were encountered:
For some reason, the quering code for graphs and for alerts are different.
It is not a bug itself, but, as a result, it produces a lot of issues.
Sniffed headers from graphs requests:
Sniffed headers from alerts requests:
Here, we have clickhouse with default user without password.
Graphs work, alerts - not (http 400 from clickhouse ... I think it relates to empty password)
If we disable "Basic auth" in plugin configuration, alerts work, graphs - not. They does not work due to default grafana authentication header with Bearer token, which clickhouse does not understand and returns 403.
If we enable "Basic auth" with default user and empty password, graphs work, alerts - not. Alerts receive http 400 from clickhouse server (maybe due to empty password header).
Current working workaround: disable Basic auth and set custom http header "Authorization: Basic ZGVmYXVsdDo=" (for default empty password). It replaces Bearer token for graphs, and does not trigger x-clickhouse-* headers for alerts.
The text was updated successfully, but these errors were encountered: