ERROR (MainThread) [supervisor.services.modules.mqtt] There is already a MQTT service in use from core_mosquitto

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?

2 Likes

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.

In my case, a host [!] reboot helped-

4 Likes

I got the same problem after last 6.x update :neutral_face:

Got the same problem here. Not fixed yet?

HI,

today I have the same issue

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?

regards

1 Like

Issue is still present with 2023.2.1

I have the same problem in version 2023.2.5 with the mqtt broker addon:

23-02-26 11:18:23 ERROR (MainThread) [supervisor.services.modules.mqtt] There is already a MQTT service in use from core_mosquitto

+1

23-10-18 22:50:21 ERROR (MainThread) [supervisor.services.modules.mqtt] There is already a MQTT service in use from core_mosquitto

Any ideas anybody?