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
My data source stopped working when I changed URL, because it was expecting a different Server Name. I initially filed #83844 but I know now the actual source.
When I unchecked "TLS Client Authentication" in the data source settings, it correctly cleared the client certificate and key from the configuration. But the ServerName stayed in the configuration, even though it is no longer visible anywhere in the Grafana settings page.
Because of that, when I later change my data source to a new URL, it wouldn't work because of that ServerName left over from long ago.
The only way to fix it is to enable "TLS Client Authentication" again (even though you don't need it), clear out the ServerName field that just appeared, and disable "TLS Client Authentication". That way the ServerName actually goes away.
What did you expect to happen?
If I disable an feature, making its configuration fields go away, those configuration fields don't remain set.
Did this work before?
Don't know
How do we reproduce it?
Enable "TLS Client Authentication"
Put in a ServerName, Client Certificate, and Client Key
Observe that client auth is being sent and server certificate validation uses the ServerName
Disable "TLS Client Authentication"
See that the ServerName field is completely gone from the data source config page
Observe that client auth is no longer being sent but server certificate validation still uses the previous ServerName
Is the bug inside a dashboard panel?
No response
Environment (with versions)?
Grafana: 10.4.2
OS: Linux
Browser: Firefox
Grafana platform?
Docker
Datasource(s)?
Loki
The text was updated successfully, but these errors were encountered:
My recommendation would be to move the ServerName field outside of the "TLS Client Authentication" feature. It is unrelated anyway, and this way you only have to change the frontend.
What happened?
My data source stopped working when I changed URL, because it was expecting a different Server Name. I initially filed #83844 but I know now the actual source.
When I unchecked "TLS Client Authentication" in the data source settings, it correctly cleared the client certificate and key from the configuration. But the ServerName stayed in the configuration, even though it is no longer visible anywhere in the Grafana settings page.
Because of that, when I later change my data source to a new URL, it wouldn't work because of that ServerName left over from long ago.
The only way to fix it is to enable "TLS Client Authentication" again (even though you don't need it), clear out the ServerName field that just appeared, and disable "TLS Client Authentication". That way the ServerName actually goes away.
What did you expect to happen?
If I disable an feature, making its configuration fields go away, those configuration fields don't remain set.
Did this work before?
Don't know
How do we reproduce it?
Is the bug inside a dashboard panel?
No response
Environment (with versions)?
Grafana: 10.4.2
OS: Linux
Browser: Firefox
Grafana platform?
Docker
Datasource(s)?
Loki
The text was updated successfully, but these errors were encountered: