rafal-szypulka / grafana-ibm-apm

Grafana datasource plugin for IBM APM
MIT License
28 stars 15 forks source link

Data source connection problem. Server response code: 502 #44

Open jadhep opened 3 years ago

jadhep commented 3 years ago

Please include this information:

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"

rafal-szypulka commented 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.