Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unused flow with eth-ip endpoints, but crashed entire Node-RED instance due to unconnectable PLC #12

Open
jlancasterhmma opened this issue Sep 15, 2019 · 0 comments

Comments

@jlancasterhmma
Copy link

jlancasterhmma commented Sep 15, 2019

Hi,

I have an unused flow with several eth-ip endpoints in my development node-red environment.
I noticed this weekend that the entire node-red instance had crashed.
When I started it up again, I received the error below when node-red crashed.
This error repeats every time I try to bring node-red online as long as this PLC is offline.
I believe that PLC is down for weekend maintenance.
I wanted to bring this to your attention, because this seems to crash an entire instance.
I also tried adding a catch node in the unused flow, but the behavior was the same.
I can provide any details you guys might need..

14 Sep 22:11:36 - [error] [eth-ip endpoint:xxx1] Error communicating with the PLC: Error: This socket has been ended by the other party

14 Sep 22:11:41 - Error: This socket has been ended by the other party
at Controller.writeAfterFIN [as write] (net.js:407:14)
at Controller.destroy (/home/xxx/.node-red/node_modules/ethernet-ip/src/enip/index.js:201:14)
at destroyPLC (/home/xxx/.node-red/node_modules/node-red-contrib-cip-ethernet-ip/red/ethernet-ip.js:225:27)
at closeConnection (/home/xxx/.node-red/node_modules/node-red-contrib-cip-ethernet-ip/red/ethernet-ip.js:245:13)
at Timeout.connect (/home/xxx/.node-red/node_modules/node-red-contrib-cip-ethernet-ip/red/ethernet-ip.js:272:17)
at listOnTimeout (internal/timers.js:531:17)
at processTimers (internal/timers.js:475:7)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant