core: MQTT broker doesn't work after update to the newest version
The problem
Rejestrator: homeassistant.components.mqtt.client Źródło: components/mqtt/client.py:1035 integracja: MQTT (dokumentacja, Problemy) Pierwsze zdarzenie: 08:53:14 (202 zdarzenia) Ostatnio zalogowany: 09:27:02
Unable to connect to the MQTT broker: Unspecified error
Rejestrator: homeassistant.components.mqtt.client Źródło: components/mqtt/client.py:1233 integracja: MQTT (dokumentacja, Problemy) Pierwsze zdarzenie: 08:53:14 (202 zdarzenia) Ostatnio zalogowany: 09:27:02
Error returned from MQTT server: A network protocol error occurred when communicating with the broker.
What version of Home Assistant Core has the issue?
2025.3.0
What was the last working version of Home Assistant Core?
2025.2.5
What type of installation are you running?
Home Assistant Container
Integration causing the issue
MQTT
Link to integration documentation on our website
https://www.home-assistant.io/integrations/mqtt
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
I use this integration to connect with my energy meter MEW-01 from ZAMEL, using supla mqtt broker
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 26 (8 by maintainers)
The problem may come from the MQTT protocol. I was previously using version 3.1.1, but after the update, it stopped working. Now I switched to 3.1, and everything is working again.Try entering your MQTT information manually and use a different protocol.
Confirmed, 3.1 works fine, 3.1.1 and 5.0 doesn’t
yeah, I hit this issue as well (broker is Mosquitto 2.0.20). After upgrading to core 2025.3.0, MQTT would not connect until I change the (previously working) 5 to 3.1.
HASS gives the
Unable to connect to the MQTT broker: Unspecified errorerrorand in Mosquitto I get