mqtt-users team mailing list archive
-
mqtt-users team
-
Mailing list archive
-
Message #00045
Re: topic "command/blah" not recognised, but "other/blah" works fine?
This appears to be a problem with the server I'm using. With a 0.10.1 server on localhost, and a 0.9.2 server on
localhost, all things behave as expected. We're restarting and upgrading the server to see if this solves things for us.
Sincerely,
Karl P
> -------Original Message-------
> From: karlp <karlp@xxxxxxxxxxxx>
> To: mqtt-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Mqtt-users] topic "command/blah" not recognised, but "other/blah" works fine?
> Sent: 13 May '11 10:35
>
> Hi, I'm having problems with subscribing to a topic that starts with "command"
>
> Even just using the command line clients, _pub and _sub, I never see messages to "command/+" but it works
fine for
> "other/+" and so on.
>
> See this console snippet
>
> Listener Window....
> C:\tools\mosquitto-0.10.1-win32-bin>mosquitto_sub.exe -d -h localhost -t 'command/+' -t "hatred/+"
> Received CONNACK
> Received SUBACK
> Subscribed (mid: 1): 0
> Received SUBACK
> Subscribed (mid: 2): 0
> Received PUBLISH (d0, q0, r0, m0, 'hatred/90A2DA002044', ... (19 bytes))
> 90A2DA002044,STATUS
> Received PUBLISH (d0, q0, r0, m0, 'hatred/90A2DA002044', ... (19 bytes))
> 90A2DA002044,STATUS
> Sending PINGREQ
> Received PINGRESP
>
>
> Publisher Window....
> C:\tools\mosquitto-0.10.1-win32-bin>mosquitto_pub.exe -h localhost -t "command/90A2DA002044" -m
> 90A2DA002044,STATUS
> C:\tools\mosquitto-0.10.1-win32-bin>mosquitto_pub.exe -h localhost -t "hatred/90A2DA002044" -m
> 90A2DA002044,STATUS
> C:\tools\mosquitto-0.10.1-win32-bin>mosquitto_pub.exe -h localhost -t "hatred/90A2DA002044" -m
> 90A2DA002044,STATUS
> C:\tools\mosquitto-0.10.1-win32-bin>mosquitto_pub.exe -h localhost -t "command/90A2DA002044" -m
> 90A2DA002044,STATUS
> C:\tools\mosquitto-0.10.1-win32-bin>
>
> Note, messages sent to the topic: "hatred/blah" succeed, but not to "command/blah"
>
> I've experimented with different combinations, it doesn't seem to the be length of the parent topic,
> "longlonglonglonglong/blah" works just fine, as does "cmd/blah" it doesn't seem to be the numeric first character
of the
> subtopic either, as it works on other topics. I feel like I'm going insane a little bit here, because I'm pretty sure I
had it
> working with command/blah earlier this week.
>
> I've tried with both mosquitto 0.9.2 and 0.10.1, but both behave the same way.
>
> Any ideas?
>
> _______________________________________________
> Mailing list: https://launchpad.net/~mqtt-users
> Post to : mqtt-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~mqtt-users
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References