Influx DB - Batch could not be sent. Data will be lost java.lang.RuntimeException: {"error":"timeout"}


(Markus) #1

Hi there,
Im getting this error from Influx DB:

Batch could not be sent. Data will be lost
java.lang.RuntimeException: {"error":"timeout"}

I’m on openhab 2.2… any ideas?
thanks!

MM


(Kurt S) #2

Hi,

Did this error appear all of a sudden, not having been there before?
I had this appearing shortly before my SD card died.

Kurt


(Markus) #3

no, have this since a while…


(David Masshardt) #4

Hi, did you find a solution for this? My InfluxDB is running on a separate Server, so the sd card cannot be the issue. The error occurs about every 10 to 20 minutes on my Openhabian. But there is data saved to the InfluxDB. Propably only fragments of the data cannot be stored. On the InfluxDB side I have no error logs.

Edit: I found a few items that reported a lot of values to the database. (Probably every few miliseconds) I’ve now changes those items from everyChange to everyMinute. With this configuration the error is gone. I guess there were just too many values every second to be sent to the server.


(Daniel Planets) #5

I seem to have run into this problem after moving the influxdb to a different server. How did you identify the most verbose items?

thanks in advance,
Daniel


(David Masshardt) #6

I’m not really sure anymore, but I think I made a query directly on the InfluxDB to find out which items are sending the most values.