Common MQTT Errors

Broker Disconnect Error Codes

Error Code

Reason

Details

Suggested Action

Error Code

Reason

Details

Suggested Action

15

Lookup Error

The broker address could not be parsed or connected to.

Likely cause(s):

  • The DNS could not be reached

Check that your broker address is input correctly and is reachable from the node.

21, 22, 23

Timeout waiting for PUBACK, PUBREC, PUBCOMP (respectively)

The MQTT client connection is publishing with a QoS that requires response(s) from the broker to ensure delivery. The MQTT client is not receiving the expected response from the broker.

Likely cause(s):

  • The broker may not support the QoS configured in the publisher object or publish schedules

  • The response message was lost in transit

Try lowering the QoS on your publisher object or publish schedules.

QoS 1 requires PUBACK.

QoS 2 requires PUBREC AND PUBCOMP.

 

For assistance, please submit a ticket via our Support Portal, email autosol.support@autosoln.com or call 281.286.6017 to speak to a support team member.