ihrigb / node-red-contrib-doorbird-ultimate

Node Red Integration for Doorbird Devices
https://flows.nodered.org/node/node-red-contrib-doorbird-ultimate
Apache License 2.0
4 stars 3 forks source link

Node red restarts after each doorbird interaction #25

Closed WernerMa96 closed 11 months ago

WernerMa96 commented 1 year ago

Hey, since my update to node red 3 and node.js 20 i have good a big issue. Everytime a doorbird event happen (ring, motion) my node red crashes and restarts.

Log: `

Dec 1 14:17:36 raspberrypi Node-RED[68393]: 1 Dec 14:17:36 - [red] Uncaught Exception: Dec 1 14:17:36 raspberrypi Node-RED[68393]: 1 Dec 14:17:36 - [error] TypeError: sodium.crypto_pwhash is not a function Dec 1 14:17:36 raspberrypi Node-RED[68393]: at DoorbirdUdpSocket. (/home/pi/.node-red/node_modules/doorbird/dist/index.js:121:55) Dec 1 14:17:36 raspberrypi Node-RED[68393]: at step (/home/pi/.node-red/node_modules/doorbird/dist/index.js:56:23) Dec 1 14:17:36 raspberrypi Node-RED[68393]: at Object.next (/home/pi/.node-red/node_modules/doorbird/dist/index.js:37:53) Dec 1 14:17:36 raspberrypi Node-RED[68393]: at fulfilled (/home/pi/.node-red/node_modules/doorbird/dist/index.js:28:58) Dec 1 14:17:36 raspberrypi systemd[1]: nodered.service: Main process exited, code=exited, status=1/FAILURE Dec 1 14:17:36 raspberrypi systemd[1]: nodered.service: Failed with result 'exit-code'. Dec 1 14:17:36 raspberrypi systemd[1]: nodered.service: Consumed 1h 8min 20.425s CPU time. Dec 1 14:17:56 raspberrypi systemd[1]: nodered.service: Scheduled restart job, restart counter is at 30. Dec 1 14:17:56 raspberrypi systemd[1]: Stopped Node-RED graphical event wiring tool. Dec 1 14:17:56 raspberrypi systemd[1]: nodered.service: Consumed 1h 8min 20.425s CPU time. `

Is this an known issue? What can i do?

Best regards!

ihrigb commented 1 year ago

@WernerMa96 can you provide more information on your system, runtime environment and so on?

WernerMa96 commented 1 year ago

@ihrigb i saw that i have a old version 1.2.1. https://flows.nodered.org/node/node-red-contrib-doorbird-ultimate is it possible to update this version so i can update it via palette manager?

ihrigb commented 1 year ago

The latest version (1.3.0) should already be available via the palette manager.

ihrigb commented 11 months ago

@WernerMa96 I will close this issue, as I did not hear anything for three weeks. If the problem still remains, feel free to open another issue.