I am working on Modbus RTU Serial UART node-red flow application. I am facing an issue after deploying the flow, the node-red application gets crashes and does not start back again.
I have checked my IIOT device serial physical connection and verified it using serial port node
"npm install node-red-node-serialport@0.15.0" with an older version and it is working, but the issue is with the Modbus UART interface.
Show us what error you get when you try to restart it. Also tell us what hardware an OS you are running on, what version of node-red and what version of nodejs.
I have not updated node-js, whatever version is available on node-red I just installed it.
I have removed the Modbus node and after node-red gets started but after adding the Modbus node node-red & deploying settings node-red gets stopped again the same issue repeats.
I don't understand, if node-red is a Docker install, how is it being started using /usr/local/bin/node? However, my knowledge of Docker is limited, so I will have to leave this to someone else to help.
Basically, Node-red is perfectly running my Modbus TCP node is also working perfectly, but the only issue is with the Serial UART interface. I have seen this kind of issue many developers are facing, with this same error/problem.
for this, I am able to use a Simple Serial interface node node-red-node-serialport@0.15.0 version, without any issue. But my problem is with Modbus RTU serial UART node i am facing this issue.
In case you need any further information from my side please let me know.
I don't think that 'many' developers have seen the problem, but it does appear that you are not alone.
Well if @dceejay was not able to help diagnose the problem then I am sorry to say that I will be of little help, as Dave is the Docker expert. Possibly he will be able to help further since we are a year further on than the issue you linked to.