zigbee2mqtt / hassio-zigbee2mqtt

Official Zigbee2MQTT Home Assistant add-on
https://www.zigbee2mqtt.io
Apache License 2.0
1.11k stars 390 forks source link

Error connecting to mqtt #575

Closed vonguyenvantruong closed 6 months ago

vonguyenvantruong commented 7 months ago

Description of the issue

I installed, set up and started Zigbee2MQTT, however when I exported the log I saw an error MQTT error: connect ECONNREFUSED 127.0.0.1:1883, while I used the MQTTX application to check the connection. The returned result is a successful connection to port 1883

Addon version

v1.22.1

Platform

version: '3.8' services: mqtt: image: eclipse-mosquitto:2.0 restart: unless-stopped volumes:

Logs of the issue (if applicable)

Using '/app/data' as data directory Zigbee2MQTT:info 2024-02-23 17:41:12: Logging to console and directory: '/app/data/log/2024-02-23.17-41-12' filename: log.txt Zigbee2MQTT:info 2024-02-23 17:41:12: Starting Zigbee2MQTT version 1.35.3 (commit #fe0742a) Zigbee2MQTT:info 2024-02-23 17:41:12: Starting zigbee-herdsman (0.33.8) Zigbee2MQTT:info 2024-02-23 17:41:16: zigbee-herdsman started (resumed) Zigbee2MQTT:info 2024-02-23 17:41:16: Coordinator firmware version: '{"meta":{"maintrel":"1 ","majorrel":"7","minorrel":"3","product":12,"revision":"7.3.1.0 build 176"},"type":"EZSP v12"}' Zigbee2MQTT:info 2024-02-23 17:41:16: Currently 0 devices are joined: Zigbee2MQTT:warn 2024-02-23 17:41:16: permit_join set to true in configuration.yaml. Zigbee2MQTT:warn 2024-02-23 17:41:16: Allowing new devices to join. Zigbee2MQTT:warn 2024-02-23 17:41:16: Set permit_join to false once you joined all devices. Zigbee2MQTT:info 2024-02-23 17:41:16: Zigbee: allowing new devices to join. Zigbee2MQTT:info 2024-02-23 17:41:16: Connecting to MQTT server at mqtt://localhost Zigbee2MQTT:error 2024-02-23 17:41:16: MQTT error: connect ECONNREFUSED 127.0.0.1:1883 Zigbee2MQTT:error 2024-02-23 17:41:16: MQTT failed to connect, exiting... Zigbee2MQTT:info 2024-02-23 17:41:16: Stopping zigbee-herdsman... Zigbee2MQTT:info 2024-02-23 17:41:17: Stopped zigbee-herdsman

github-actions[bot] commented 6 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days