-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't retry when MQTT response is unauthorized #213
Don't retry when MQTT response is unauthorized #213
Conversation
@brentru willing to take a look? |
I defer to @brentru on this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One question, but I would be very interested if the close socket fixes some folks' problems.
@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) |
Updating https://github.com/adafruit/Adafruit_CircuitPython_MiniMQTT to 7.8.0 from 7.7.0: > Merge pull request adafruit/Adafruit_CircuitPython_MiniMQTT#190 from vladak/recv_timeout_vs_keep_alive > Merge pull request adafruit/Adafruit_CircuitPython_MiniMQTT#213 from justmobilize/no-retry-on-unauthorized Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA: > Updated download stats for the libraries
Update connection code to break out of the retry look when getting either a
Incorrect username/password
orUnauthorized
response.Noticed in #211, although doesn't fix the original post
Tested on a
UM FeatherS3