Skip to content

Invalid broker address #50

Closed
Closed
@johnny5th

Description

@johnny5th

I've been playing with the Adafruit Matrix Portal to display some data from an AWS MQTT broker, and I've been running into an intermittent issue. After some period of time, it can be over 30 minutes or more, MiniMQTT throws an exception in the reconnect loop and dies, and I can't figure out why. Resetting the board makes it work again. Using libraries from adafruit-circuitpython-bundle-6.x-mpy-20201029.

code.txt

Failed to get data, retrying
Failed to send 2 bytes (sent 0)
Traceback (most recent call last):
File "code.py", line 159, in
File "code.py", line 158, in
File "adafruit_minimqtt/adafruit_minimqtt.py", line 675, in reconnect
File "adafruit_minimqtt/adafruit_minimqtt.py", line 292, in connect
File "adafruit_minimqtt/adafruit_minimqtt.py", line 292, in connect
MMQTTException: ('Invalid broker address defined.', RuntimeError('Expected 01 but got 00',))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions