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
mosquitto_pub -l doesn't handle server failures #1152
Comments
Work for me with a quick test. I'll do more tests, but for the moment which version are you using and on what platform? |
I've got the following script running persistently. I noticed I had not got any data since around the time I restarted to debug something else last night. The script and its constituent parts were still running, but no data showed up in mqtt until I restarted it.
|
I've pushed a change which fixes this, if you want to give it a try it is on the |
Closes eclipse#1152. Thanks to Dustin Sallings.
Closes #1152. Thanks to Dustin Sallings.
I've got a shell script that's spitting out a number periodically into
mosquitto_pub -t something -q 2 -l
and have found that any server failures (e.g., restarting the server) is seemingly ignored. The program continues to run, but never sends data to the MQTT broker again.I'd prefer one of:
The text was updated successfully, but these errors were encountered: