You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happens in your network or MQTT server? 😄
I've been running this on 3 hosts for almost a year without almost any issues. 😅
I'm not sure what "restart the whole app" means inside the app itself. I guess we could try to reinitiate the MQTT connection. I can think about this at some point as I also want to add TLS support to the connection, and the latest rumqtt release added more options there.
Other option would be to just exit after enough errors, and rely on some external system or watchdog to start the app again.
What happens in your network or MQTT server? smile
MetalLB decided to stop announcing the IP (via BGP to my router) for whatever reason and making it unreacheable for my mosquitto address. The fix was to terminate it's pods and restart mosquitto as well.
(Running inside a k8s cluster and the node hosting mosquitto went offline, oops)
I'm not sure what "restart the whole app" means inside the app itself. I guess we could try to reinitiate the MQTT connection. I can think about this at some point as I also want to add TLS support to the connection, and the latest rumqtt release added more options there.
I think it would make sense to try to reinitiate it at least if there's been multiple timeouts.
It should more than likely restart the whole app if
ERROR ruuvi2mqtt::mqtt] Eventloop error: Timeout
happenes multiple times.The text was updated successfully, but these errors were encountered: