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

mosquitto_rr protocol error #1344

Closed
HowJMay opened this issue Jul 15, 2019 · 2 comments

Comments

@HowJMay
Copy link
Contributor

commented Jul 15, 2019

platform
Ubuntu 16.04

I built rr_client on my local machine and once I ran it, I met protocol error.
error message: Error: A network protocol error occurred when communicating with the broker.
All of the other clients worked fine on my machine.
I used the following command mosquitto_rr -h <IP> -t <topic> -m <message> -e <response_topic>
Did I do something wrong with the command?

@HowJMay HowJMay closed this Jul 15, 2019

@HowJMay HowJMay changed the title mosquitto_rr SEGV error mosquitto_rr protocol error Jul 15, 2019

@HowJMay HowJMay reopened this Jul 15, 2019

@ralight

This comment has been minimized.

Copy link
Contributor

commented Jul 24, 2019

The problem is most likely because you are connecting to a broker that does not have MQTT v5 support. mosquitto_rr only works with MQTT v5.

ralight added a commit that referenced this issue Aug 1, 2019

@ralight ralight added this to the 1.6.4 milestone Aug 1, 2019

ralight added a commit that referenced this issue Aug 1, 2019

@ralight

This comment has been minimized.

Copy link
Contributor

commented Aug 1, 2019

I've changed things so the error message is clearer now. If you spot anything thing else like this that could do with better explanation please post another issue. Thanks for reporting this one!

@ralight ralight closed this Aug 1, 2019

vankxr added a commit to vankxr/mosquitto that referenced this issue Aug 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.