Hello,
I have this error in syslog and I can't find how to fix it.
Can you help me?
*Jan 6 14:44:21 iot2050[298]: 6 Jan 14:44:21 - [red] Uncaught Exception:*
*Jan 6 14:44:21 iot2050[298]: 6 Jan 14:44:21 - RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 7. Received 9*
*Jan 6 14:44:21 iot2050[298]: at boundsError (internal/buffer.js:82:9)*
*Jan 6 14:44:21 iot2050[298]: at Buffer.readUInt16BE (internal/buffer.js:328:5)*
*Jan 6 14:44:21 iot2050[298]: at _readFC4 (/root/.node-red/node_modules/modbus-serial/index.js:118:24)*
*Jan 6 14:44:21 iot2050[298]: at ModbusRTU._onReceive (/root/.node-red/node_modules/modbus-serial/index.js:427:13)*
*Jan 6 14:44:21 iot2050[298]: at TcpPort.emit (events.js:314:20)*
*Jan 6 14:44:21 iot2050[298]: at Socket.<anonymous> (/root/.node-red/node_modules/modbus-serial/ports/tcpport.js:92:20)*
*Jan 6 14:44:21 iot2050[298]: at Socket.emit (events.js:314:20)*
*Jan 6 14:44:21 iot2050[298]: at addChunk (_stream_readable.js:297:12)*
*Jan 6 14:44:21 iot2050[298]: at readableAddChunk (_stream_readable.js:272:9)*
*Jan 6 14:44:21 iot2050d[298]: at Socket.Readable.push (_stream_readable.js:213:10)*
*Jan 6 14:44:21 iot2050 systemd[1]: node-red.service: Main process exited, code=exited, status=1/FAILURE*
*Jan 6 14:44:21 iot2050 systemd[1]: node-red.service: Failed with result 'exit-code'.*
*Jan 6 14:44:21 iot2050 systemd[1]: node-red.service: Consumed 19min 53.911s CPU time.*
How can I find out where in the program this error is coming from? at boundsError (internal/buffer.js:82:9)
Thank you.