Tuxyso
November 20, 2021, 11:34pm
1
I am using InfluxDB 2.1.1 (git: 657e1839de) on Ubuntu 20.04.3 LTS.
My /etc/influxdb/config.toml is as follows:
tls-cert = "/etc/influxdb/cert.pem"
tls-key = "/etc/influxdb/privkey.pem"
The certificate and key contains a valid Let’s Encrypt Certificate. In /var/log/syslog I receive every 10 seconds following messages:
Nov 21 00:32:05 hxx influxd-systemd-start.sh[2414]: ts=2021-11-20T23:32:05.562254Z lvl=error msg="Unable to gather" log_id=0Xwv1AZW000 error="Get \"https://hxx:8086/metrics\": x509: certificate signed by unknown authority"
Nov 21 00:32:05 hxx influxd-systemd-start.sh[2414]: ts=2021-11-20T23:32:05.565233Z lvl=info msg="http: TLS handshake error from <myip>:33738: remote error: tls: bad certificate" log_id=0Xwv1AZW000 service=http
How can I avoid this messages? How are they affected?
Anaisdg
December 13, 2021, 7:05pm
2
Hello @Tuxyso ,
Does this thread help you at all?
Exactely. We get the error message when using influx -ssl -host <domain_name>.com, but can connect when using influx -ssl --unsafeSsl -host <domain_name>.com
wbaker
December 28, 2021, 7:30pm
3
Getting that message every 10 seconds is probably the result of a scraper running and encountering an error. Do you have a scraper configured? And are you able to access the rest of the API without any errors?
Tuxyso
January 2, 2022, 1:30pm
4
wbaker:
scraper
My influx cli does not know “-ssl”. I use influx cli 2.2.1
Tuxyso
January 2, 2022, 1:30pm
5
As far as I know I have not configured a “scraper”. I use telegraf to submit data to the influx db.
Tuxyso, I have the same error and I can’t solve it; have you solved it?