I have seen a couple communities bring this up but nothing seems to address it. Running HA on a Raspberry Pi 4 with Core 2021.4.6, Supervisor 2021.4.0 and Host HA OS 5.13. Been trying to get the MQTT Mosquitto Broker Add-on 5.1.1 installed and working. Have the integration in supervisor setup. Been able to do packet captures on the port the Raspberry Pi is connected to and see MQTT traffic hitting the port so I am pretty sure this is narrowed down to the HA implementation.
When stopping/restarting the MQTT add-on, in the logs it will show this message:
ERROR: Canât setup Home Assistant service mqtt
Then if you go to the Supervisor System logs it throws out this error during a restart or boot:
ERROR (MainThread) [supervisor.services.modules.mqtt] There is already a MQTT service in use from core_mosquitto
So apparently there is some sort of service or something causing the MQTT add-on connection to fail. Weirder was this was working 24 hours ago when there wasnt any kind of update/upgrade to any add-on or supervisor or anything.
Has anyone experienced seeing anything with the supervisor.services.modules.mqtt service failing or not starting and how can i even start to go about rectifying it? Any ideas?
Also to add to this, I have the Node-RED add-on installed and i can create a MQTT Subscribe node that will show as âconnectedâ to my MQTT add-on but will not push or show any messages.
22-01-04 08:56:02 ERROR (MainThread) [supervisor.services.modules.mqtt] There is already a MQTT service in use from core_mosquitto
22-01-04 08:56:48 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'homeassistant'
22-01-04 08:56:49 WARNING (MainThread) [supervisor.auth] Unauthorized login for 'homeassistant'
I tried to uninstall/install the add-on, same result
any ideas?
Using Core Version 20225.4.1, Supervisor 2025.04.0, HomeAssistant OS 15.1 , frontend 20250404.0 on Raspberry PI 3b, and still the same error.
Supervisor log:
2025-04-21 16:49:05.569 INFO (MainThread) [supervisor.auth] Auth request from âcore_mosquittoâ for âhomeassistantâ
2025-04-21 16:49:06.592 WARNING (MainThread) [supervisor.auth] Unauthorized login for âhomeassistantâ
2025-04-21 16:49:07.791 INFO (MainThread) [supervisor.auth] Auth request from âcore_mosquittoâ for âfrigatemqttâ
2025-04-21 16:49:08.825 INFO (MainThread) [supervisor.auth] Successful login for âfrigatemqttâ
2025-04-21 16:49:11.626 ERROR (MainThread) [supervisor.services.modules.mqtt] There is already a MQTT service in use from core_mosquitto
Mosquito log:
2025-04-21 16:49:03: New connection from 172.30.32.1:42953 on port 1883.
2025-04-21 16:49:03: New client connected from 172.30.32.1:42953 as 1avE227bwRt2RAGCTxxxxx (p2, c1, k60, uâhomeassistantâ).
2025-04-21 17:02:17: Client 1avE227bwRt2RAGCTxxxxx has exceeded timeout, disconnecting.
time=â2025-04-21T17:02:28+02:00â level=error msg=âhttp request error: Post "http://127.0.0.1:80/superuser\â: context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
time=â2025-04-21T17:05:05+02:00â level=error msg=âhttp request error: Post "http://127.0.0.1:80/superuser\â: context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
2025-04-21 17:05:20: New connection from 172.30.32.1:58021 on port 1883.
2025-04-21 17:06:56: Client has exceeded timeout, disconnecting.
2025-04-21 17:10:59: New connection from 172.30.32.1:34843 on port 1883.
2025-04-21 17:10:59: New client connected from 172.30.32.1:34843 as 7G5o5KFf6xOv2ZPcB2xxxx (p2, c1, k60, uâhomeassistantâ).