yanic icon indicating copy to clipboard operation
yanic copied to clipboard

Issues with Influx 2.0

Open lemoer opened this issue 3 years ago • 4 comments

Hi there,

we recently updated to InfluxDB 2.0 and now we have problems, that Yanic is not able to write to InfluxDB anymore.

In the yanic logs, I see this:

Mai 19 23:17:36 harvester yanic[12647]: time="2021-05-19T23:17:36.313+02:00" level="info" msg="saving points" data.count=1000 caller="database.go:162 github.com/FreifunkBremen/yanic/database/influxdb.(*Connection).addWorker"
Mai 19 23:17:46 harvester yanic[12647]: time="2021-05-19T23:17:46.342+02:00" level="error" msg="{\"code\":\"internal error\",\"message\":\"unexpected error writing points to database: timeout\"}" caller="database.go:165 github.com/FreifunkBremen/yanic/database/influxdb.(*Connection).addWorker"

I have inspected the HTTP traffic between Yanic and InfluxDB and it seems that InfluxDB returns an 500 Internal Server Error with

{\"code\":\"internal error\",\"message\":\"unexpected error writing points to database: timeout\"}

in the HTTP body.

So far I was not able to figure out, what that means. Does anybody have an idea here?

lemoer avatar May 19 '21 21:05 lemoer