Bugazelle / export-csv-to-influx

The python library to write the CSV data into Influx. Support me via Bitcoin: bc1qqgkmph9cvygzxfpupv4jr4n0nfx3qumwg39j5w
BSD 3-Clause "New" or "Revised" License
32 stars 11 forks source link

Error: This is not a valid influx http://localhost:8086/ #53

Open safegw opened 1 year ago

safegw commented 1 year ago

I wanted to switch from 1.8 to 2.6 and installed influxdb and client 2.6.(1) on Ubuntu 22.04 and the export-csv-to-influx again. Using it on 1.8 since two years.

When I do the export I'm getting following error: "Error: This is not a valid influx http://localhost:8086/"

export_csv_to_influx \ --csv test.csv \ --org test \ --bucket bucket1 \ --measurement flow \ --tag_columns temp \ --field_columns value \ --token 'exxxxxxxxxxxxxxxxxxxxxxxxxxxxx==' \ --http_schema https

Even with or without https or adding the server parameter, I'm getting the same error

Edit: Now started influxdb without tls cert&key and it writes with success. Starting with I'm getting in syslog x509: cannot validate certificate for xxx.xxx.xx.xx because it doesn't contain any IP SANs" So there is an issue with Let's Encrypt but GUI is working properly.