Hi all!
I tried searching for my recurring issue, but couldn't find relatable threads, so forgive me if this has been address elsewhere.
I am running Node-RED on my NanoPi-R4S router (running FriendlyWRT, a branch of the OpenWRT world). It's running off of an SD card, which I've considered as a possible issue point, but everything else is running fine.
For context of use, the NanoPi is acting as a secondary router and server for a fun/complex homebrew setup, where it interacts with a data exchange server hosted by Brucontrol on my PC, manages all my external data updates on the Brewfather webapp, and handles my keg scales UDP messages that I use to track remaining volumes (with live websocket updates on a homepage I built).
About every 2 days (sometimes less), Node-RED stops working (web page won't load, my PC's NR instance shows connection issues with the router NR end point, the NR admin page won't load, etc.). The router is all fine otherwise; only Node-RED crashes.
I set it up to start logging in a .txt file upon boot, and I've captured this recurring error message in it:
31 Jan 20:50:51 - [error] SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_interface_addresses returned Unknown system error 24 (Unknown system error 24)
at Object.networkInterfaces (node:os:267:16)
at allInterfaces (/.node-red/node_modules/bonjour/node_modules/multicast-dns/index.js:163:21)
at Timeout.that.update [as _onTimeout] (/.node-red/node_modules/bonjour/node_modules/multicast-dns/index.js:123:63)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)
I can reboot my NanoPi so my NR instance reloads and all is right, but it will again crash around two days later. The error message is consistent in the logs. This is a very recent issue (started last month); this installation of NR has been going strong for months.
I am currently working on a bandaid option to reboot the router every evening at 2 am, but any help sorting this issue would be greatly appreciated.
Thanks!