adafruit / Adafruit_CircuitPython_MiniMQTT

MQTT Client Library for CircuitPython
Other
72 stars 50 forks source link

pystack and other errors #218

Closed justmobilize closed 1 month ago

justmobilize commented 1 month ago

This PR fixes a few things (although the changes are tiny):

fixes #215 After pystack limit reached, MQTT service continues retry until timeout Added a catch for the RuntimeError: pystack exhaustet to stop retrying

This also fixes https://github.com/adafruit/Adafruit_CircuitPython_AWS_IOT/issues/23 AWS_IOT_ERROR ('Error Connection to AWS IoT: ', MQTTException('Repeated connect failures',))

fixes #214 generic timeout error when 'is_ssl' param not set for an mqtt service that requires it This is fixed also by https://github.com/adafruit/circuitpython/pull/9266 Together these provide better errors so the use knows what's happening

justmobilize commented 1 month ago

@dhalbert some tiny error handling updates

justmobilize commented 1 month ago

I don't know of any that should be, but I'm still trying to learn all of the different errors across the chips...