/
Common MQTT Errors

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.

 

Related content

Broker Connection
Broker Connection
More like this
MQTT Troubleshooting
MQTT Troubleshooting
More like this
Bridge: Broker Connection
Bridge: Broker Connection
More like this
Troubleshooting -What to do when authentication fails
Troubleshooting -What to do when authentication fails
More like this
Troubleshooting Mosquitto
Troubleshooting Mosquitto
More like this

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.