SubFlow wires disconnected frequently

Preformatted textWe are noticing frequent disconnects to input and output nodes .
There is nothing in the logs to detect any issue. But the frequency of the nodes disconnecting in subflow is high.

sample FLow

[{"id":"6b3771fd.b0c65","type":"subflow","name":"testFlow","info":"","category":"","in":[{"x":60,"y":120,"wires":[]}],"out":[{"x":1080,"y":120,"wires":[]}],"env":[],"meta":{},"color":"#DDAA99"},{"id":"b6e9d0cf.26f2a","type":"change","z":"6b3771fd.b0c65","name":"Info","rules":[{"t":"set","p":"name","pt":"msg","to":"username","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":200,"y":120,"wires":[["f71029cc.84d838"]]},{"id":"a7c4058e.a786a8","type":"exec","z":"6b3771fd.b0c65","command":"bash","addpay":"payload","append":"","useSpawn":"false","timer":"","oldrc":false,"name":"Aim","x":560,"y":120,"wires":[["bf6ea30d.db979"],[],[]]},{"id":"f71029cc.84d838","type":"function","z":"6b3771fd.b0c65","name":"Aim API","func":"msg.payload = \"echo \"+msg.user\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":380,"y":120,"wires":[["a7c4058e.a786a8"]]},{"id":"ceb3153c.ff6f38","type":"change","z":"6b3771fd.b0c65","name":"","rules":[{"t":"delete","p":"user","pt":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":940,"y":120,"wires":[[]]},{"id":"bf6ea30d.db979","type":"function","z":"6b3771fd.b0c65","name":"Trim Newline","func":"msg.payload = msg.payload.replace(/\\r?\\n|\\r/g, \"\");\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":750,"y":120,"wires":[["ceb3153c.ff6f38"]]}]

Hi @kamaal

can you provide more information about your environment?

What version of Node-RED, node.js etc are you using?

Is this a 'normal' instance of Node-RED, or one that has been customised or embedded into another application in any way?

Can you say anything about what happens when you see they disappear? Are you editing the subflow at the time?

Really, any details at all would be helpful at this point.

Its a normal Instance . 1.0.5 version.
node : v10.20.1
npm : 6.14.4

The flows that are using the sub flows, terminate at the subflow input connect node.

When we noticed no actions being taken , we checked the entire flow and noticed that subflow input node output are disconnected.

1.0.5 is quite an old version now. Browsing through the release notes of the releases since then, there are a few references to subflow wiring. I can't remember specific issues from a year ago, but it could well be something that has long since been fixed.

It is also worth saying Node 10 is no longer maintained by the node.js project. Whilst that will not be the cause of the subflow wiring issue, it will mean you are missing out on security fixes.

If at all possible, I'd recommend upgrading both your node version and Node-RED.

If you can't update your node version at this time, you could trying upgrading Node-RED to the latest 1.x version - 1.3.7.

To upgrade to Node-RED 2.x, you will need Node 12 or later.

Thanks . Will Upgrade and monitor.