Closed josh4500 closed 7 months ago
Error does not appear on reconnection, just only after a long connection period.
The return codes as defined in the MQTT spec are -
0 0x00 Connection Accepted Connection accepted
1 0x01 Connection Refused, unacceptable protocol version The Server does not support the level of the MQTT
protocol requested by the Client
2 0x02 Connection Refused, identifier rejected The Client identifier is correct UTF-8 but not allowed by the Server
3 0x03 Connection Refused, Server unavailable The Network Connection has been made but the MQTT service is
unavailable
4 0x04 Connection Refused, bad user name or password The data in the user name or password is malformed
5 0x05 Connection Refused, not authorized The Client is not authorized to connect
6-255 Reserved for future use
As you can see the read value of 32 is reserved for future use and shouldn't be sent by the broker, it either is being sent or the message itself has somehow been corrupted.
I have same error, so how to fix that?
As I said above, its either your broker or your network connection.
I keep getting the error log below after keeping the connection for a longer period of time.