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

No reconnect to MQTT after restart MQTT-Server #346

Open
Fowow opened this issue May 29, 2024 · 4 comments
Open

No reconnect to MQTT after restart MQTT-Server #346

Fowow opened this issue May 29, 2024 · 4 comments

Comments

@Fowow
Copy link

Fowow commented May 29, 2024

Hello,

after rebooting the remote MQTT, the MQTT data on the broker disapears. I need to restart MBMD and then , it connects successful and sends data.

I use a Node-Red MQTT-Broker.

@andig
Copy link
Contributor

andig commented May 29, 2024

Sounds like reconnect handler needs be added.

@Fowow
Copy link
Author

Fowow commented May 30, 2024

OK, how can this be done? This is important for me because I sometimes forget to manualy restart the MBMD Daemon for reconnecting :-(

@andig
Copy link
Contributor

andig commented May 30, 2024

Seems reconnect is already enabled. No idea why this wouldn't work. It should.

@Fowow
Copy link
Author

Fowow commented May 31, 2024

I use the "aedes broker" included in NODE-RED. I have connected many clients to access this broker.
If i deploy some changes in Node-Red all devices re-connets, except the MBMD. I need to go t my raspi and restart the MBMD-Service.

Looks that there is a BUG in the "reconnect handler"?

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

No branches or pull requests

2 participants