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
Internet_speed plugin failed to fetch user info #12213
Comments
You mean the function I called out in your forum post ;) Can I have you file a bug at the upstream showwin/speedtest-go and ask what issue might be causing this? This code is outside of telegraf. Thanks |
Yes, it seems related to the function that you mentionned. |
The new release of speedtest-go v1.2.1 contains a fix that should avoid this error. |
Thanks for putting up that PR! I can put up a PR to update the dep in go.mod shortly |
@mikaelpeltier please test the binary built by CI in #12248 once it's finished. Let me know if this fixes your issue. |
Thanks, I did a quick test with the binary built by CI in #12248 and works as expected. Indeed, plugin does not longer crashed.
And I can display result into influxdb dashboard |
Relevant telegraf.conf
Logs from Telegraf
System info
Latest version of telegraf docker
Docker
No response
Steps to reproduce
Expected behavior
internet_speed plugin should work as expected and collect internet connection data.
This plugin should work as it is the plugin used into the course
Data Collection with Telegraf
from the InfluxDB university website.Actual behavior
internet_speed plugin failed to fetch user info
2022-11-09T15:03:00Z E! [inputs.internet_speed] Error in plugin: fetching user info failed: EOF
Additional info
I wonder if it is related to the FetchUserInfoContext method which do not initialize the user-agent into the http request.
The text was updated successfully, but these errors were encountered: