-
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
MQTT consumer plugin disconnects frequently and can not reconnect successfully #16293
Comments
I can confirm the described behavior (at least what I understood is meant). Here is a post I published in the Influx community forum, maybe it can add some insights. I’m using the I looked into telegraf’s log-files and found error entries for all concerned mqtt_consumer instances, e.g.
I guess it can happen that the connection between the server running telegraf and the mqtt-server is temporarily interrupted. But why does that cause the telgraf input plugins to quit working? Here are some more observations:
|
This is not the same issue please file a separate request.
I do not have a timeout issue, as you can see im my log, the reconnection is successful:
This bug is that after the successful reconnection:
I think the bug was triggered after an upgrade from telegraf 1.32.0-1 to 1.32.3-1 (or from 1.31.2-1, 1.32.0-1). I'll try to downgrade to 1.32.0-1 and check if I hit this bug |
Is it possibly a bug in github.com/eclipse/paho.mqtt.golang v1.5.0 ? |
Relevant telegraf.conf
Logs from Telegraf
etc (goes on forever like this)
System info
Telegraf 1.32.3 (git: HEAD@2fd5bf4f) on Debian 12 (bookworm)
Docker
not using docker
Steps to reproduce
Expected behavior
Actual behavior
The text was updated successfully, but these errors were encountered: