Relative Content

Tag Archive for pythonamazon-web-servicesmqtt

umqtt doesn’t recognize when it loses connection to AWS w/ SSL

I’m putting together an IoT device with MQTT and AWS. The current version of the device connects to AWS IoT Core with umqtt.simple with SSL. It connects just fine, but after 1-2 minutes it stops receiving updates from the broker. The LED keeps blinking indicating that client.check_msg() is running without exception, but it doesn’t receive updates. client.disconnect() is never called.