ioBroker / ioBroker.influxdb

Store history data in InfluxDB (not for Windows)
MIT License
36 stars 25 forks source link

Timeout while writing data #344

Closed BenAhrdt closed 1 year ago

BenAhrdt commented 1 year ago

A timeout is logged while writing data: Restart influxdb and adapter => works for one day e.g.

`

2023-07-03 11:47:43.044 - warn: influxdb.0 (8986) Error on writePoints for alias.0.Talstrasse1A.Logik.haustuerGeschlossen: HttpError: unexpected error writing points to database: timeout -- 2023-07-03 11:47:43.044 - warn: influxdb.0 (8986) Try to write 1 Points separate to find the conflicting one 2023-07-03 11:47:43.046 - warn: influxdb.0 (8986) Point could not be written to database: iobroker 2023-07-03 11:47:43.046 - warn: influxdb.0 (8986) Error on writePoint("{"value":196.82,"time":"2023-07-03T09:47:27.377Z","from":"system.adapter.shelly.0","q":0,"ack":true}): HttpError: unexpected error writing points to database: timeout / "unexpected error writing points to database: timeout""

`

Apollon77 commented 1 year ago

Check the log of your influxdb about what happened, potentially increase timeout setting in adapter

BenAhrdt commented 1 year ago

@Apollon77 There will be a timeout. i set the value from 30000 to 60000 and the error comes again

The error comes up just 1 or two minutes after start the adapter

Apollon77 commented 1 year ago

Then: Check the log of your influxdb!! Then. you have an issue there

BenAhrdt commented 1 year ago

Ich sehe dort kein warnenden log oder so

Apollon77 commented 1 year ago

Tja ... hm ... also ein Timeout kommt wenn die Influxdb nicht antwortet in Zeit X ... Also wenn ist der "Fehler" bei der DB zu suchen und im ersten Schritt nicht im Adapter. Und am Ende kann das alles von so vielen Faktoren abhängen. schwer blind zu supporten. vllt mal im Forum versuchen?

BenAhrdt commented 1 year ago

OK, allerdings wurde im awtrix adapter bereits erwähnt, dass es einen Bug im Adapter gibt, der einen Timeout erzeugt.... Keine Ahnung. Ich schau mal.

Apollon77 commented 1 year ago

awtrix-Adapter? Hä? Was ?