Open jadhep opened 3 years ago
Quick google research shows that the possible workaround may be setting system-wide env variable on Grafana server GODEBUG=x509ignoreCN=0 https://github.com/grafana/grafana/issues/27760#issuecomment-698787026 The problem is probably related to go version used in Grafana 7.3.7 and X.509 CommonName deprecation.
Please include this information:
What Grafana version are you using? Version 7.3.7
What IBM APM datasource version are you using and how you installed it (git clone/downloaded git release/grafana-cli) ? Downloaded and extract in /var/lib/grafana/plugins
What OS are you running grafana on? RHEL 7
What did you do? Add IBM APM data source and got server response code: 502
What was the expected result? IBM APM data source added
What happened instead? Add IBM APM data source and got server response code: 502
Error message :
t=2021-06-17T20:55:15+0700 lvl=eror msg="Data proxy error" logger=data-proxy-log userId=7 orgId=1 uname=JULIAN path=/api/datasources/proxy/14 remote_addr=xx.xx.xxx.xxx referer=http://xx.xx.xx.xxx:3000/datasources/edit/14/ error="http: proxy error: x509: certificate relies on legacy Common Name field, use SANs or temporarily enable Common Name matching with GODEBUG=x509ignoreCN=0"