I’m using InfluxDB 1.8.4 and Grafana through docker for months without any problem until two days ago. Suddenly I can’t access InfluxDB. The error I get is:
Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: EOF Please check your connection settings and ensure 'influxd' is running.
Docker is running, it’s checked. Some tests I did were to restart docker, change the port, run InfluxDB without docker, move the data files to another unit, and finally try it without the databases (all empty).
When I executed a verify command I could see that all the files were healthy except one that indicates: \InfluxDB\data_internal\monitor\976\000000030-000000001.tsm: could not get checksum for key block 988 due to error: “tsm file closed”
If I try without old databases it works but then I lose all my data collected for months.
Then I deleted the corrupted file but the EOF error persisted. However, now if I run the verify tool there are no broken blocks.
So I was creating backup copies of each one of the databases separately and I was importing them one by one to see if any of them failed. However, none failed and I was able to connect, but after a few seconds or minutes I can’t connect again.
As I was displaying data with the CLI tool once I can’t connect I got the following error:
ERR: Post http://localhost:8086/query?chunked=true&db=&q=show+databases: EOF
Any idea what might be causing this problem?
Thanks in advance