I am running a modbus TCP client (node-red-contrib-modbus) on a node red inside a docker container. However, when the server goes offline and comes online - it's not reconnecting - it shows "reconnecting after 2000 msec" message. Any thoughts to re establish the connection ?
What Nodejs version are you running ?
I think there is an issue with those nodes reconnecting when running nodejs higher than v12.
Read about this issue on the node's github page and here
How to check that. I am running this on a docker container using the following command
docker run -it -p 1880:1880 -v node_red_data:/data --name mynodered nodered/node-red
I believe this will fetch the latest version of all, how to change the node.js version ?
Plenty of tags to choose from ... Docker Hub
Thanks for that.
I pulled one image with node JS version 10.xx. It's working
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.