rdmtc / RedMatic

Node-RED packaged as Addon for the Homematic CCU3 and RaspberryMatic 🤹‍♂️
Apache License 2.0
534 stars 47 forks source link

Uncaught Exception: Error: socket -24 #580

Open ggzengel opened 1 year ago

ggzengel commented 1 year ago

I use RedMatic for writing events to influxdb. After a view hours the services stops with an uncaught exception.

redmatic.2023-09-22T16 53 55.634Z.log

Sep 22 18:26:31 lx-homematic daemon.err node-red: 22 Sep 18:26:31 - [red] Uncaught Exception:
Sep 22 18:26:31 lx-homematic daemon.err node-red: 22 Sep 18:26:31 - Error: socket -24
Sep 22 18:26:31 lx-homematic daemon.err node-red:     at errnoException (/usr/local/addons/redmatic/lib/node_modules/ain2/node_modules/unix-dgram/lib/unix_dgram.js:23:11)
Sep 22 18:26:31 lx-homematic daemon.err node-red:     at new Socket (/usr/local/addons/redmatic/lib/node_modules/ain2/node_modules/unix-dgram/lib/unix_dgram.js:65:11)
Sep 22 18:26:31 lx-homematic daemon.err node-red:     at Object.exports.createSocket (/usr/local/addons/redmatic/lib/node_modules/ain2/node_modules/unix-dgram/lib/unix_dgram.js:55:10)
Sep 22 18:26:31 lx-homematic daemon.err node-red:     at getSocket (/usr/local/addons/redmatic/lib/node_modules/ain2/index.js:52:24)
Sep 22 18:26:31 lx-homematic daemon.err node-red:     at SysLogger.unix_dgram [as transport] (/usr/local/addons/redmatic/lib/node_modules/ain2/index.js:131:22)
Sep 22 18:26:31 lx-homematic daemon.err node-red:     at SysLogger._send (/usr/local/addons/redmatic/lib/node_modules/ain2/index.js:338:10)
Sep 22 18:26:31 lx-homematic daemon.err node-red:     at SysLogger.send (/usr/local/addons/redmatic/lib/node_modules/ain2/index.js:350:10)
Sep 22 18:26:31 lx-homematic daemon.err node-red:     at /usr/local/addons/redmatic/lib/logger.js:36:37
Sep 22 18:26:31 lx-homematic daemon.err node-red:     at Array.forEach (<anonymous>)
Sep 22 18:26:31 lx-homematic daemon.err node-red:     at LogHandler.handler (/usr/local/addons/redmatic/lib/logger.js:33:31)
Sep 22 18:26:31 lx-homematic user.err monit[1870]: 'redmatic-nodered' failed protocol test [HTTP] at [localhost]:1880/addons/red/ [TCP/IP] -- HTTP: Error receiving data -- Connection reset by peer
Sep 22 18:26:31 lx-homematic daemon.err node-red: Node-RED exited with non-zero exit status 1