'$SYS/broker/clients/#' does not work to connection mqtt over websocket?

115 views
Skip to first unread message

Danilo Carvalho

unread,
May 19, 2017, 3:48:15 PM5/19/17
to MQTT

I have a mosquitto broker configured using tcp and websocekt, but i can't see my clients connecteds when them use mqtt over websocket.


I'm using this topic '$SYS/broker/clients/connected'


This is normal?

Thomas

unread,
May 23, 2017, 10:56:40 AM5/23/17
to MQTT
Ho Danilo,

If you say can't see connects, what do you actually see? Does your client get a reply on the connect? If yes what does it say? And have a look at the logs of Mosquitto (please see the mosquitto docs for where to find them).

Hope this helps as a starting point,

Thomas

Danilo Carvalho

unread,
May 25, 2017, 8:49:12 AM5/25/17
to mq...@googlegroups.com
I want to use the topic I mentioned for statistics, but connections over webosocket are not counted

--
To learn more about MQTT please visit http://mqtt.org
---
You received this message because you are subscribed to a topic in the Google Groups "MQTT" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mqtt/donKYZNpD_k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mqtt+unsubscribe@googlegroups.com.
To post to this group, send email to mq...@googlegroups.com.
Visit this group at https://groups.google.com/group/mqtt.
For more options, visit https://groups.google.com/d/optout.



--
Danilo Carvalho
Sistemas de Informação.
Developer Java.

(35) 8449-8275
Skype: danilootavio

Reply all
Reply to author
Forward
0 new messages