Open an issue <https://github.com/influxdata/influxdb/issues/new> on GitHub.
On Wed, Nov 23, 2016 at 6:28 PM, HW.J.Liu <[email protected]> wrote: > I've disabled the authentication while I test it out, but still not > working after I enabled it and pass proper username and password with > -username and -password. > > With -unsafeSsl removed, influx shows: > > Failed to connect to https://localhost:8086 > Please check your connection settings and ensure 'influxd' is running. > > I just downloaded 1.1.0 and this problem still remained. > > Thanks! > John > > Sean Beckett於 2016年11月24日星期四 UTC+8上午12時17分10秒寫道: >> >> Does the import work if you leave out the "-unsafeSsl" flag and pass >> proper username and password credentials? >> >> On Wed, Nov 23, 2016 at 3:01 AM, HW.J.Liu <[email protected]> wrote: >> >>> I tried to enable HTTPS on influxdb 1.0.2, and everything works except >>> importing data through influx CLI. Here's the command I tried to execute: >>> >>> /usr/bin/influx -ssl -unsafeSsl -import -path influxdb-data.txt >>> >>> >>> And the stdout: >>> >>> ERROR: failed to connect to https://localhost:8086 >>> >>> >>> Even though the influxdb is running. And the log of influxdb 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 >>> >>> >>> If the HTTPS is disabled, the importing succeed. I have no idea what >>> happened cause everything except -import works. >>> >>> Thanks! >>> John >>> >>> -- >>> Remember to include the version number! >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "InfluxData" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at https://groups.google.com/group/influxdb. >>> To view this discussion on the web visit https://groups.google.com/d/ms >>> gid/influxdb/c7adbe37-3f0e-4a5f-8827-f346e4297872%40googlegroups.com >>> <https://groups.google.com/d/msgid/influxdb/c7adbe37-3f0e-4a5f-8827-f346e4297872%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Sean Beckett >> Director of Support and Professional Services >> InfluxDB >> > -- > Remember to include the version number! > --- > You received this message because you are subscribed to the Google Groups > "InfluxData" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/influxdb. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/influxdb/ad495c57-927f-42b6-904d-86fbcf985b8f%40googlegroups.com > <https://groups.google.com/d/msgid/influxdb/ad495c57-927f-42b6-904d-86fbcf985b8f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Sean Beckett Director of Support and Professional Services InfluxDB -- Remember to include the version number! --- You received this message because you are subscribed to the Google Groups "InfluxData" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/CALGqCvM_3GJw1bqd5CVUuCK%2B1m5QLgesKYf%2BjkaNevZLPtezVg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
