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

Unexpected message arrived for topics without leading / #15

Closed
sgofferj opened this issue Jul 9, 2017 · 1 comment
Closed

Unexpected message arrived for topics without leading / #15

sgofferj opened this issue Jul 9, 2017 · 1 comment

Comments

@sgofferj
Copy link

sgofferj commented Jul 9, 2017

When using a topic prefix without a leading "/", e.g. "IoTmanager" instead of "/IoTmanager", nothing happens on the dashboard and the log shows "Unexpected message arrived".

It is allowed to use a leading forward slash in MQTT, for example /myhome/groundfloor/livingroom. But that introduces a unnecessary topic level with a zero character at the front. That should be avoided, because it doesn’t provide any benefit and often leads to confusion. (http://www.hivemq.com/blog/mqtt-essentials-part-5-mqtt-topics-best-practices)

@4refr0nt
Copy link
Owner

Prefix issue fixed in 2.1.0 version

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

2 participants