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
Closed

mosquitto_rr protocol error #1344

howjmay opened this issue Jul 15, 2019 · 2 comments
Milestone

Comments

@howjmay
Copy link
Contributor

howjmay 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 as completed 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
Copy link
Contributor

ralight 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
Copy link
Contributor

ralight 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 as completed Aug 1, 2019
vankxr pushed a commit to vankxr/mosquitto that referenced this issue Aug 9, 2019
ralight added a commit that referenced this issue Sep 18, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants