Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFailed to connect to https://influx-stage.odds-bods.com:8086 #17015
Comments
|
@mbrumpton thanks for opening this. It's tough to debug ssl issues. I'm assuming you've followed the steps here: https://docs.influxdata.com/influxdb/v1.7/administration/https_setup/#configure-influxdb-to-use-tls Are you able to connect to influx from the same machine using the cli command? that might help narrow it down to a problem where influx isn't starting up vs something wrong with the environment. |
|
Could you also add details about the version of influx you are using as well as the OSS? |
|
Thanks for the reply, influx is hosted on Linux (ubuntu 18.04) and I upgraded to latest version 1.7.10 to see if that would resolve the issue. |
|
Yes I can access influx through the cli but when running influx -ssl -host influx-stage.odds-bods.com I get the following message: Failed to connect to https://influx-stage.odds-bods.com:8086: Get https://influx-stage.odds-bods.com:8086/ping: http: server gave HTTP response to HTTPS client |
|
@mbrumpton Sorry, I don't think I understand.
But it sounds like you can't based on the next sentence. If you just try to |
|
Hi this is response:
|
|
@mbrumpton thanks for the additional information. Based on that error: Does that make sense? Can you take a look and confirm that your proxy settings are correct? |
|
This is strange as we are not using a proxy server, |
|
updated proxy settings still not working obadmin@obinfluxdbstage-vm:/etc/influxdb$ echo $http_proxy |
|
influx -ssl -host influx-stage.odds-bods.com:8086 |
|
@mbrumpton thanks for the updates. i think we might be getting closer here. That last failure ( Does this help at all? |
|
Cheers, so close: $influx -host influx-stage.odds-bods.com:8086 |
|
influx won't start when I enable https influx -ssl -host influx-stage.odds-bods.com:8086 |
|
can you try |
|
still the same, have I got the /etc/environment variables correct? |
|
I have created a fresh installation of influx with a different domain crt and still get the SLL wron version number error curl -v https://influx.brumpton.co.uk:8086/ping, * Trying 40.68.230.5...
< HTTP/1.1 404 Not Found
|
|
Could the problem be caused by the way I extracting the crt and key from openssl? |
|
Possibly. Can you try a self signed one with the instructions here: https://docs.influxdata.com/chronograf/v1.8/administration/managing-security/#testing-with-self-signed-certificates |
|
same problem, influx cli works until I add: https-enabled = true |
|
Followed this article for creating a self signed cert and it worked! https://www.systemmen.com/database/influxdb/how-to-set-up-https-for-influxdb-server-462.html |
|
@mbrumpton wow that's great news! I'll check with the docs team to see what we might update in our docs to make this easier. |
|
@mbrumpton were you missing the |


Hi,
I followed all the official docs but influx will not start when I enable https.
https-enabled = true
The SSL certificate to use when HTTPS is enabled.
https-certificate = "/etc/ssl/obstar2019.crt"
Use a separate private key location.
https-private-key = "/etc/ssl/oddsbods-private.key"
Failed to connect to https://influx-stage.odds-bods.com:8086: Get https://influx-stage.odds-bods.com:8086/ping: dial tcp 13.79.186.12:8086: connect: connection timed out
Please check your connection settings and ensure 'influxd' is running.