I’m gathering data with telegraf and writing to a telegraf gateway (input influxdb_listener), sometimes I get the following error
2020-06-05T11:08:07Z E! [outputs.influxdb] When writing to [https://____]: Post "https://____/write?db=quantumdatis": EOF
2020-06-05T11:08:07Z E! [agent] Error writing to outputs.influxdb: could not write any address
I’m not sure about what can cause this, the telegraf gateway does not report any error.
I’ve found an old issue on GitHub and tried to change several settings to solve this but without luck.
Telegraf gatherer conf
- agent settings
- reduce
metric_batch_size
- in case there was too much data - increase
interval
- to give more time to the output
- reduce
- output.influxdb settings
- using
content_encoding = "gzip"
- to reduce the request body size - increase the
timeout
- to give it more time
- using
Telegraf gateway conf
- inputs.influxdb_listener settings
- increased the
max_body_size
- doubled its sizemax_body_size = "64MiB"
- increased the
I think the problem is not telegraf itself but something network related, has someone encountered a similar issue?
What does the error message {...}: EOF
mean?