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
Out of memory on mosquitto running on windows since 2.0.0 version #2111
Comments
Hello, |
Hello, I've been using mosquitto as Windows Binary downloaded from https://mosquitto.org/download/. I didn't customize source code at all. With all the windows binary mosquitto, dollar sign is still working with any topic without any problem. According to your comment, any topic with dollar sign is not allowed intentionally. Do I understanding correctly? By the way, once I looked at the code as you mentioned, it looks like any topic with dollar sign will return Thank you.
|
I've tried to reproduce this, but with no luck. Could you share your config please? You're correct that publishing to $ topics is allowed except if ACLs deny them. The |
I am using self-signed certification and generated the password file with This is the configuration all I got.
I am using Nodejs with MQTT.js as a client lib. I am publishing data like below. client?.publish("$CONNECTED/APISERVER", "true", {
qos: 0,
retain: true
}); As I mentioned before, it won't happen without I also tested with MQTTFx as a client with 2.0.0 ~ 2.0.8 windows mosquitto binary and it happens as well. Thank you for your help. |
Thank you - sorry I hadn't realised the importance of it being a retained message. I've fixed this now, it is on the fixes branch and will be part of 2.0.9 in a week or so. |
I am so glad that you fixed it. |
Steps to make it happen:
$CONNECTED/APISERVER
) includingretain
option onOut of memory
on broker logHello,
I've been publishing topic starting with dollar sign like
$CONNECTED/APISERVER
includingretain
option on.It worked with 1.6.9 version for windows, but since 2.0.0 it doesn't work and show
out of memory
error on mosquitto.If
retain
option is OFF on client, it works well. It only happens withretain
option ON for the topic.Thank you!
The text was updated successfully, but these errors were encountered: