Zigbee2MQTT keeps crashing after a few hours

I’m currently running HA on a Raspberry Pi 3, and trying to use Zigbee2MQTT. I have set up the MQTT Broker add-on, which seems to be running fine. I also have the SONOFF Zigbee Dongle-E, which I flash with Silabs Firmware Flasher.

I have configured Zigbee2MQTT and it starts sometimes, but not others, and when it does start, it will crash within a few hours at most, watchdog will sometimes restart it, but not always. (I am using the ‘ezsp’ adapter, but ‘ember’ has the same results.

I’ve been working on this for a while now, I have reflashed the dongle, reinstalled both the MQTT Broker and Zigbee2MQTT. I am using a 2m USB extension cable, and neither the Pi or the Dongle are near a wifi router. Any help with this would be appreciated.

**MQTT Broker**
ogins: []
require_certificate: false
certfile: fullchain.pem
keyfile: privkey.pem
customize:
  active: false
  folder: mosquitto
**Zigbee2MQTT Configuration**
data_path: /config/zigbee2mqtt
socat:
  enabled: false
  master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
  slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  options: "-d -d"
  log: false
mqtt:
  server: mqtt://core-mosquitto:1883
  user: mosquitto
  password: password
serial:
  port: >-
    /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_ba5b4c522ee2ed118d9df25162c613ac-if00-port0
  adapter: ezsp
watchdog: default

Logs: https://pastebin.pl/view/373a3c09

From your logs:

ezsp driver is deprecated and will only remain to provide support for older firmware (pre 7.4.x). Migration to ‘ember’ is recommended. If using Zigbee2MQTT see Improved Ember (EZSP) driver (experimental) · Koenkk/zigbee2mqtt · Discussion #21462 · GitHub

I’d recommend you follow that advice.

Hi, thanks for the response. I have tried both '‘ezsp’ and ‘ember’ in the past with the same results. I have changed to ‘ember’ in the config and attached the log. TIA.

Logs: https://pastebin.pl/view/5d008963