Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to import data through influx CLI with SSL enabled #7659

Closed
johnliu55tw opened this issue Nov 29, 2016 · 0 comments
Closed

Unable to import data through influx CLI with SSL enabled #7659

johnliu55tw opened this issue Nov 29, 2016 · 0 comments
Assignees
Milestone

Comments

@johnliu55tw
Copy link

Bug report

System info:

  • InfluxDB Version: 1.0.2
  • OS: ArchLinux 64bit and Debian Jessie 64bit

Steps to reproduce:

  1. Enable HTTPS with a self-signed certificate.
  2. Importing previously exported data with influx CLI with the command
    /usr/bin/influx -ssl -unsafeSsl -import -path influxdb-data.txt

Expected behavior:

Data should be imported by the InfluxDB.

Actual behavior:

Influx CLI reported error:

ERROR: failed to connect to https://localhost:8086

And influxd logs shows:

[httpd] ::1 - admin [23/Nov/2016:09:46:55 +0000] "GET /ping HTTP/1.1" 204 0 "-" "InfluxDBShell/1.0.2" c503c5a3-b161-11e6-8001-000000000000 18
[run] 2016/11/23 09:46:55 http: TLS handshake error from [::1]:34244: remote error: bad certificate

Additional info:

The importing works if the HTTPS is disabled. I also test it on 1.1.0 and doesn't work either.

@e-dard e-dard self-assigned this Nov 30, 2016
@e-dard e-dard added this to the 1.2.0 milestone Dec 2, 2016
@e-dard e-dard mentioned this issue Dec 2, 2016
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants