node-red/node-red-dashboard

NodeRed Crash on any Dashboard action

bierwald opened this issue · 3 comments

Current Behavior

When opening the NodeRed Dashboard, any action (klick on a switch, button, etc) crashes NodeRed.
In the NodeRed Log an error within a call of the buffer-util.js of engine.io appears. There is a function call to bufferUtil.unmast which seems not to be there.

I'm not sure if my installation is broken or if this is a general issue. Reinstallation of NodeRed didn't help at all.

NodeRed version: v2.1.3
Node.js version: v12.22.7
nodeRed.log

The exception appears on any action at the Dashboard. It doesn't matter, from which device the dashboard is accessed.
The installation runs on a RaspberryPi 4

Expected Behavior

The expected behaviour is to run the requested action (which it doesn't). NodeRed Crashes.

Steps To Reproduce

No response

Example flow

Just a simple Dashboard switch (no input, no output, default configuration) produces the issue.

Environment

  • Node-RED version: v2.1.3
  • Node.js version: v12.22.7
  • npm version: 6.14.15
  • Platform/OS: Rasbian 10 (buster) on a RaspberryPi 4 (4Gb)
  • Browser: Tested in Firefox on Windows 10 and Safari for iOS

Please provide the actual error from the log.

Sorry - I see you did include a link to the log.

As this appears related to dashboard (we don't us socket.io in the core), I will move the issue over to the dashboard repository as this is the issue track for core Node-RED issues.

Most odd - it's coming from inside the websocket bufferUtil library which has been stable for a good while. Do you have any other third party nodes that may be using websockets at all ? I've tried on a couple of devices (but not a Pi4) with a clean install and node12 etc - all good.