eclipse-paho / eclipse-paho/paho.mqtt.python
Paho MQTT Client Fails to Reconnect After Prolonged Network Downtime
Open
Status: Available
Status: More info needed
- Dominant language
- Python
- Stars
- 2.4k
- Forks
- 742
- Avg merge
- 12d 48m
- Merged PRs (30d)
- 1
Description
The Paho MQTT client fails to automatically reconnect after the network has been down for a prolonged period. While client.loop_start() should handle reconnections, it isn't effective in cases of long-term network disconnections.
Changing client.loop_start() to client.loop_forever(retry_first_connection=True) resolves the issue, suggesting that the client's default reconnection mechanism might not handle prolonged network outages effectively.
Contributor guide
Assessment
This issue has not been assessed yet.