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

What is $SYS/keeplive for? #35

Closed
jpmens opened this issue Feb 6, 2014 · 3 comments
Closed

What is $SYS/keeplive for? #35

jpmens opened this issue Feb 6, 2014 · 3 comments

Comments

@jpmens
Copy link
Member

jpmens commented Feb 6, 2014

First notice of this as I'm still having big trouble with #33.

Denied PUBLISH from jpm-nex4 (d0, q1, r0, m146, '$SYS/keepalive', ... (1 bytes))

I note the code contains

src/st/alr/mqttitude/services/ServiceBroker.java
770:        MqttTopic topic = mqttClient.getTopic("$SYS/keepalive");

What's that for?

@binarybucks
Copy link

The Paho Java client does not provide a public interface to send Ping
messages to keep the connection alive. Thus I had to add a workaround by
manually publishing a PUB message to an arbitray topic.

On Thu, Feb 6, 2014 at 1:03 PM, JP Mens notifications@github.com wrote:

First notice of this as I'm still having big trouble with #33#33
.

Denied PUBLISH from jpm-nex4 (d0, q1, r0, m146, '$SYS/keepalive', ... (1 bytes))

I note the code contains

src/st/alr/mqttitude/services/ServiceBroker.java
770: MqttTopic topic = mqttClient.getTopic("$SYS/keepalive");

What's that for?


Reply to this email directly or view it on GitHubhttps://github.com//issues/35
.

Mit freundlichen Grüßen / With kind regards
Alexander Rust

@jpmens
Copy link
Member Author

jpmens commented Feb 7, 2014

This should be documented somehow; people actually looking at broker logs (hah! who does that?!) may be worried (as I was). :-)

@binarybucks
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants