plcpeople / nodeS7

Node.JS library for communication to Siemens S7 PLCs
MIT License
358 stars 121 forks source link

Uncaught Exception at writeAfterEnd #80

Closed gfcittolin closed 5 years ago

gfcittolin commented 5 years ago

This issue relates to netsmarttech/node-red-contrib-s7#43

There seems to be a condition where nodeS7 receives data after the connection has been closed ("end" event). According to OP of the original issue, the scenario was a connection over a poor LTE link.

Even though it's an odd condition, I think we can still do something about it. I'll prepare a merge request with a fix proposal for it.