I have influxd running on the local system on default port 8086 (verified via ps and netstat). I can enter entries via CLI after entering the influxdb shell. However I cannot query/write using HTTP either by curl or by using client library (python). I get GATEWAY_TIMEOUT error. Heres the output for querying the ping endpoint. I have tried both localhost as well as specifying the IP address configured on the local interface
curl -i ‘http://localhost:8086/ping’
HTTP/1.1 504 Gateway Timeout
The relevant HTTP section in /etc/influxdb/influxdb.conf has HTTP enabled. The influxd is started with --config option pointing to this default /etc/influxdb/influxdb.conf file. I have rebooted the server and restarted the influx process as well
enabled = true
bind-address = ":8086"
auth-enabled = false
log-enabled = true
write-tracing = false
https-enabled = false
https-certificate = "/etc/ssl/influxdb.pem"
max-connection-limit = 0
Could someone let me know what I am missing? Thanks for the support