Closed SoulRaven closed 2 years ago
The telegraph error makes it sound like the other end closed the connection. Could you make a packet capture of this happening so we know for sure which side is closing?
hi, yes, you are right, the connection is closed from the HAProxy. I have fix this, somehow, but i will be more that happy to know that mqtt_consumer has the option to reconnect on disconnect. Now this feature is set to False by default, and i don't know way this is not an option. Also the keep_alive
@soulraven,
Sounds like you changed the auto reconnect to true in your situation to recover from the drop? It looks like we have config options for other connectivity settings, but not this one.
Would you be willing to put up a PR adding this option?
Thanks!
Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Page. Thank you!
Relevant telegraf.conf:
System info:
Telegraf 1.15.2 (git: HEAD cd037b49) Proxmox LXC container Debian 10
Steps to reproduce:
setup 2 instances of VerneMQ and make a cluster from them setup HAProxy to use VerneMQ cluster
Expected behavior:
To remain connected using persistent connections
Actual behavior:
After prox. 1 minutes, the mqtt_consumer throws: [inputs.mqtt_consumer] Error in plugin: connection lost: EOF
Additional info: