-
Notifications
You must be signed in to change notification settings - Fork 5.8k
inputs.influxdb_listener with influx_parser_type = "upstream" - superfluous response.WriteHeader #10900
Copy link
Copy link
Closed
Labels
bugunexpected problem or unintended behaviorunexpected problem or unintended behaviorplatform/windows
Description
Relevant telegraf.conf
[[inputs.influxdb_listener]]
service_address = ":8186"
read_timeout = "10s"
write_timeout = "10s"
influx_parser_type = "upstream"Logs from Telegraf
http: superfluous response.WriteHeader call from github.com/influxdata/telegraf/plugins/inputs/influxdb_listener.badRequest (influxdb_listener.go:504)
ref: https://github.com/influxdata/telegraf/blob/b9e66f8b9a2d97e09a7e2c1ff5b2bc08bc4eeebc/plugins/inputs/influxdb_listener/influxdb_listener.go#L504
System info
Telegraf 1.22.0 on WIndows
Docker
No response
Steps to reproduce
- use inputs.influxdb_listener with the new upstream parser
- you will get the error reported above
Using the old parser does not trigger any error.
From what we've seen, despite this error, the data are still passing and everything seems to work, the main issue is that the log gets flooded by error messages
Expected behavior
not getting errors
Actual behavior
the error superfluous response.WriteHeader call is triggered continuously (every ~1sec)
Additional info
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugunexpected problem or unintended behaviorunexpected problem or unintended behaviorplatform/windows