yanic
yanic copied to clipboard
Issues with Influx 2.0
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?