dk307 / HSPI_InfluxDBPersistence

PlugIn For Homeseer to persist to InfluxDB
MIT License
12 stars 6 forks source link

Plugin doesn't write to db after db is restarted #4

Closed Wiigian closed 4 years ago

Wiigian commented 5 years ago

I am running HS3 Pro Edition 3.0.0.435 on Windows 7, Influxdbpersistence v 0.1.48.0, and I am logging to an influxdb running on a separate virtual linux machine.

If I restart the linux machine running influxdb, the plugin completely stops writing values to the database.

I have to disable/re-enable the plugin in Homeseer to get the values to be written to the database after database restart.

I this worth looking into?

dk307 commented 5 years ago

When plugin fails to connect to send data to plugin, it checks if db is running and if db is down, it will wait for 30s. So for 30s it will appear that it is not sending the data.

Do you see it blocked even after 30s ? if yes, can you please provide logs.

Wiigian commented 5 years ago

Yes, it is blocked for hours/days if I do not restart the plugin. I will look into gathering logs!

Wiigian commented 4 years ago

I have since I wrote this issue replaced my influx server, and the problem no longer exists. The issue can be closed.