On a specific devices or/and particular network failures , use the destroy method to ends the devices connection will end all the process
10 Jan 11:09:35 - Error: This socket has been ended by the other party
at Controller.writeAfterFIN [as write] (net.js:407:14)
at Controller.destroy (/home/aurelien/repos/braincubeiot2-contrib-ethernetip/.bin/red/ethernetip.js:1118:14)
at destroyPLC (/home/aurelien/repos/braincubeiot2-contrib-ethernetip/.bin/red/ethernetip.js:8162:31)
Expected Behavior
Normally when a socket is gone don't try to write something on it.
Possible Solution (Optional)
Apply this changement in your destroy method like that
Current Behavior
On a specific devices or/and particular network failures , use the destroy method to ends the devices connection will end all the process
Expected Behavior
Normally when a socket is gone don't try to write something on it.
Possible Solution (Optional)
Apply this changement in your destroy method like that
Context
My connection pass through a proxy and fucked up some times. And close connections.
Steps to Reproduce (for bugs only)
Your Environment
npm list
- e.g. 1.0.6): 6.9.0node --version
- e.g. 9.8.0): 12.2.0