Zh:zstack:znp: Socket error Error: read ECONNRESET

I’m running z2m in proxmox

Not sure why the socket can’t connect. I’ve tried switching the modes, IP address, upgrading/downgrading firmware.

serial:
  port: tcp://192.168.1.205:6638
  adapter: zstack
  baudrate: 115200
[2025-04-18 21:46:54] info: z2m: Logging to console, file (filename: log.log)
[2025-04-18 21:46:54] info: z2m: Starting Zigbee2MQTT version 2.2.1 (commit #unknown)
[2025-04-18 21:46:54] info: z2m: Starting zigbee-herdsman (3.4.11)
[2025-04-18 21:46:54] info: zh:zstack:znp: Opening TCP socket with 192.168.1.205:6638
[2025-04-18 21:46:54] info: zh:zstack:znp: Socket connected
[2025-04-18 21:46:54] info: zh:zstack:znp: Socket ready
[2025-04-18 21:46:54] info: zh:zstack:znp: Writing CC2530/CC2531 skip bootloader payload
[2025-04-18 21:46:55] info: zh:zstack:znp: Skip bootloader for CC2652/CC1352
[2025-04-18 21:46:56] error: zh:zstack:znp: Socket error Error: read ECONNRESET
[2025-04-18 21:46:56] info: zh:zstack:znp: Port closed
[2025-04-18 21:47:01] error: z2m: Error while starting zigbee-herdsman
[2025-04-18 21:47:01] error: z2m: Failed to start zigbee-herdsman
[2025-04-18 21:47:01] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-04-18 21:47:01] error: z2m: Exiting...
[2025-04-18 21:47:01] error: z2m: Error: Failed to connect to the adapter (Error: Cannot request when znp has not been initialized yet)
at ZStackAdapter.start (/opt/zigbee2mqtt/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:113:27)
at Controller.start (/opt/zigbee2mqtt/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/controller.ts:136:29)
at Zigbee.start (/opt/zigbee2mqtt/lib/zigbee.ts:69:27)
at Controller.start (/opt/zigbee2mqtt/lib/controller.ts:104:13)
at start (/opt/zigbee2mqtt/index.js:149:5)

Your Core firmware is up to date, but your Zigbee firmware is 2 versions behind the latest - you’re on 20221226 while the latest is 20240710.

Try updating to the latest version from here. Make sure you use the “other” version and not the “launchpad” version - the file you’re looking for is CC1352P2_CC2652P_other_coordinator_20240710.zip

the zigbee firmware shouldn’t have an impact on connecting to my coordinator

I was running 20221226 due to having issues with certain devices

Changing my firmware to v2.6.8.dev26 allowed z2m to bootup. I tried three other firmwares which did not work.

Thanks, I just want to let you know that this was the only way to make it work. :clap:

For me helps to ignore ZHA autodiscovery to get SLZB06 working with Z2Mqtt

Using '/app/data' as data directory
Starting Zigbee2MQTT without watchdog.
[2025-11-10 06:16:58] info: 	z2m: Logging to console, file (filename: log.log)
[2025-11-10 06:16:58] info: 	z2m: Starting Zigbee2MQTT version 2.6.2 (commit #4d247f3ae129ee7318eeede877ffdbbd27444693
)
[2025-11-10 06:16:58] info: 	z2m: Starting zigbee-herdsman (6.1.5)
[2025-11-10 06:16:58] info: 	zh:zstack:znp: Opening TCP socket with 192.168.1.71:1241
[2025-11-10 06:16:58] info: 	zh:zstack:znp: Socket connected
[2025-11-10 06:16:58] info: 	zh:zstack:znp: Socket ready
[2025-11-10 06:16:58] info: 	zh:zstack:znp: Writing CC2530/CC2531 skip bootloader payload
[2025-11-10 06:16:59] info: 	zh:zstack:znp: Skip bootloader for CC2652/CC1352
[2025-11-10 06:17:17] error: 	z2m: Error while starting zigbee-herdsman
[2025-11-10 06:17:17] error: 	z2m: Failed to start zigbee-herdsman
[2025-11-10 06:17:17] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-11-10 06:17:17] error: 	z2m: Exiting...
[2025-11-10 06:17:17] error: 	z2m: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
    at ZStackAdapter.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:115:27)
    at Controller.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/controller.ts:133:29)
    at Zigbee.start (/app/lib/zigbee.ts:67:27)
    at Controller.start (/app/lib/controller.ts:101:13)
    at start (/app/index.js:149:5)

I’m using Portainer to pull my images. According to my logs, I was on 2.6.2 when it was released in October. Not sure if I actually was or if there was a problem with the 2.6.2 image in Portainer.

the 2.6.2 I was on from Portainer defaulted to the legacy UI?

My zigbee network went down, restarting the container didn’t work. Recreated the container using latest image, didn’t work. Downgraded back to 2.6.2. Didn’t work.

Updated to Firmware version: 20240710 v3.0.8

restarted container on 2.6.2 and everything seems to be working. not sure if there were any changes to the Portainer 2.6.2 image I pulled vs the new one I pulled when I downgraded

the 2.6.2 Portainer image I pulled on 11/9/2025 defaults to the new windfront UI