mosquitto icon indicating copy to clipboard operation
mosquitto copied to clipboard

Invalid protocol version 5 in CONNECT from <client-ip>

Open MT22067 opened this issue 1 year ago • 2 comments

I am receiving the following error when connecting my client to the mosquitto broker: Invalid protocol version 5 in CONNECT from

client: written oin go and implements MQTTv5

mosquitto version: 1.4.15 Platform: Ubuntu 18.04.6 LTS, 4.15.0-213-generic kernel version

MT22067 avatar May 01 '24 18:05 MT22067

I don't think the broker had support of mqttv5 that early. Try go up a few versions, see if that helps.

Daedaluz avatar May 02 '24 03:05 Daedaluz

Mosquitto v1.4.15 doesn't support MQTT v5. As from the first README.md lines in v1.4.15:

Mosquitto is an open source implementation of a server for version 3.1 and 3.1.1 of the MQTT protocol

The first version with with MQTT v5 support is 1.6.

Best

lucapalano avatar May 09 '24 17:05 lucapalano