Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MT22067 opened this issue May 1, 2024 · 2 comments
Open

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

MT22067 opened this issue May 1, 2024 · 2 comments

Comments

@MT22067
Copy link

MT22067 commented May 1, 2024

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

@Daedaluz
Copy link
Contributor

Daedaluz commented May 2, 2024

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

@lucapalano
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants