adafruit / Adafruit_CircuitPython_MiniMQTT

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

Don't retry when MQTT response is unauthorized #213

Closed justmobilize closed 1 month ago

justmobilize commented 1 month ago

Update connection code to break out of the retry look when getting either a Incorrect username/password or Unauthorized response.

Noticed in #211, although doesn't fix the original post

Tested on a UM FeatherS3

justmobilize commented 1 month ago

@brentru willing to take a look?

dhalbert commented 1 month ago

I defer to @brentru on this.

justmobilize commented 1 month ago

@dhalbert So this shouldn't really solve anything other then getting a better error, and making it easier to debug. Unless the error they get is really retriable (which I asked above)