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

mqtt: service didn't work after power outage #180

Open
tingox opened this issue Oct 26, 2024 · 0 comments
Open

mqtt: service didn't work after power outage #180

tingox opened this issue Oct 26, 2024 · 0 comments
Labels

Comments

@tingox
Copy link
Contributor

tingox commented Oct 26, 2024

after a power outage today, the mqtt service didn't work when the server (bomba) came up again. The relevant services mqtt and traefik (reverse proxy) run in containers (docker) on the server, both containers had started ok, and everything looked normal there.

The problem was manually worked around by restarting the containers in this order

sudo docker restart mosquitto_mosquitto_1
sudo docker restart traefik_traefik_1

(some time (a few minutes) passed between these two actions.)

Speculation / theory:
the order in which the containers are started matters. If traefik is started before mqtt, the service will not work.

Anyway, the root cause should be found, and the problem fixed permanently.

@tingox tingox added the bug label Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant