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

[influx cli] Verbose output for SSL connection errors #7326

Closed
kostasb opened this issue Sep 19, 2016 · 0 comments
Closed

[influx cli] Verbose output for SSL connection errors #7326

kostasb opened this issue Sep 19, 2016 · 0 comments
Assignees
Milestone

Comments

@kostasb
Copy link

kostasb commented Sep 19, 2016

The following error output is returned from influx CLI when trying to connect to InfluxDB over HTTP, when the server only listens on HTTPS:

influx -host influxdb.domain.net -port 8086 -username user -password passwd
Failed to connect to http://influxdb.domain.net:8086
Please check your connection settings and ensure 'influxd' is running.

This is a common issue for users who do not specify the -ssl flag.

A note to check for https/ssl connection setting should be printed upon empty reply from server.

E.g.

Failed to connect to http://influxdb.domain.net:8086
Please check your connection settings and ensure 'influxd' is running. Add -ssl option to connect using https.

Alternatively, the CLI could automatically attempt to connect over SSL if an empty response is returned.

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

3 participants