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
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
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:
"9001:9001" command: "mosquitto -c /mosquitto-no-auth.conf"
zigbee2mqtt: container_name: zigbee2mqtt restart: unless-stopped image: koenkk/zigbee2mqtt 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 totrue
in configuration.yaml. Zigbee2MQTT:warn 2024-02-23 17:41:16: Allowing new devices to join. Zigbee2MQTT:warn 2024-02-23 17:41:16: Setpermit_join
tofalse
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