-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
POST request to http_listener fails with EOF #2280
Comments
what version are you using? do you have any steps to reproduce? can you provide more log context and the full log line? |
Sorry for the lack of information. Telegraf version: 1.1.2 I am making the http post request from a golang program.
metricsString looks like this:
And this is all the log that go provides to me. Is there a way I can get more information? I have turned debug logging on for telegraf but I do not see any errors there. I am sending metrics to telegraf every 10 seconds. Currently, I have only experienced this error on production. I will try to reproduce the error locally. |
@salarali Any chance you have found a way to reproduce this? |
I am receiving the same error, but it only happens with 21+ Goroutines pushing metrics to telegraf. Also It never happens if you use the discard as output. |
Possibly related to #2919? |
I am experiencing the same issue in my setup.
|
@jpereira Just to clarify, is the error when you are sending to the http_listener in Telegraf, or when you are sending to InfluxDB? |
@danielegozzi Sending to the InfluxDB Cluster. |
Okay, this is a different issue. It indicates that InfluxDB closed the connection, I would check the InfluxDB logs to see if anything is reported. |
@danielegozzi I am using the latest version 1.4.1 |
We're experiencing the same issue as @salarali did.
Telegraf debug logs say nothing useful about what happens. I'd rather see some info about max_body_size/max_line_size exceeding or something like that. Version used:
We're still investigating. |
We figured out that we exceeded max_line_size. |
Thanks for debugging this @ILoGM, I think we should return |
let's look at a refactor of the entire http_listener code for the next release. |
Bug report
Intermittently the post request to the http_listener fails and I get the following error message:
Post http://localhost:8186/write: EOF
Relevant telegraf.conf:
Vanilla conf. with http_listener enabled.
The text was updated successfully, but these errors were encountered: