hassio-zigbee2mqtt icon indicating copy to clipboard operation
hassio-zigbee2mqtt copied to clipboard

z2m: Error: Error while opening socket

Open magiva opened this issue 4 months ago • 2 comments

Description of the issue

addon wont start it Was running, i added the first device and now it wont start

Addon version

1.40.2-1

Platform

Core 2024.10.1 Supervisor 2024.10.0 Operating System 13.1 Frontend 20241002.2

Logs of the issue (if applicable)

[16:39:59] INFO: Preparing to start... [16:40:00] INFO: Socat not enabled [16:40:00] INFO: Starting Zigbee2MQTT... Starting Zigbee2MQTT without watchdog. [2024-10-09 16:40:02] info: z2m: Logging to console, file (filename: log.log) [2024-10-09 16:40:02] info: z2m: Starting Zigbee2MQTT version 1.40.2 (commit #unknown) [2024-10-09 16:40:02] info: z2m: Starting zigbee-herdsman (2.1.3) [2024-10-09 16:40:02] info: zh:zstack:znp: Opening TCP socket with slzb-06.local:6638 [2024-10-09 16:40:02] info: zh:zstack:znp: Socket connected [2024-10-09 16:40:02] info: zh:zstack:znp: Socket ready [2024-10-09 16:40:02] info: zh:zstack:znp: Writing CC2530/CC2531 skip bootloader payload [2024-10-09 16:40:02] info: zh:zstack:znp: Socket error [2024-10-09 16:40:02] error: z2m: Error while starting zigbee-herdsman [2024-10-09 16:40:02] error: z2m: Failed to start zigbee [2024-10-09 16:40:02] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions [2024-10-09 16:40:02] error: z2m: Exiting... [2024-10-09 16:40:02] error: z2m: Error: Error while opening socket at Socket. (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:166:24) at Socket.emit (node:events:529:35) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at processTicksAndRejections (node:internal/process/task_queues:82:21)

/app/node_modules/winston/node_modules/readable-stream/lib/_stream_writable.js:264 var er = new ERR_STREAM_WRITE_AFTER_END(); ^ Error: write after end at writeAfterEnd (/app/node_modules/winston/node_modules/readable-stream/lib/_stream_writable.js:264:12) at DerivedLogger.Writable.write (/app/node_modules/winston/node_modules/readable-stream/lib/_stream_writable.js:300:21) at DerivedLogger.log (/app/node_modules/winston/lib/winston/logger.js:231:12) at Logger.log (/app/lib/util/logger.ts:198:25) at Logger.info (/app/lib/util/logger.ts:211:14) at Znp.onPortClose (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:96:16) at Object.onceWrapper (node:events:632:26) at Socket.emit (node:events:517:28) at TCP. (node:net:350:12)

magiva avatar Oct 09 '24 14:10 magiva