# Node-red-contrib-modbus-tcp-ip ERROR

**URL:** <https://discourse.nodered.org/t/node-red-contrib-modbus-tcp-ip-error/68638>\
**Category:** General\
**Tags:** modbus\
**Created:** [6 October 2022 12:54 UTC](https://discourse.nodered.org/t/node-red-contrib-modbus-tcp-ip-error/68638 "2022-10-06T12:54:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![colin0031](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin0031/32/85027_2.png) [@colin0031](https://discourse.nodered.org/u/colin0031)\
**Post date:** [6 October 2022 12:54 UTC](https://discourse.nodered.org/t/node-red-contrib-modbus-tcp-ip-error/68638/1 "2022-10-06T12:54:39Z")

</div>

node --version  
v16.17.1

npm --version  
8.15.0  
I am using "node-red-contrib-modbus-tcp-ip" node package for a modbus communication to IO box.  
Its being connected but it keeps getting disconnected with an error as shown below and reconnecting automatically.

```auto
socket error: Error: read ECONNRESET

```

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/4/b47586ff28fddbdee0a7396727f4209ed6b9b931.png)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [6 October 2022 13:31 UTC](https://discourse.nodered.org/t/node-red-contrib-modbus-tcp-ip-error/68638/2 "2022-10-06T13:31:37Z")

</div>

> [@colin0031](#):
>
> `ECONNRESET`

_"ECONNRESET"_ means the other side of the TCP conversation abruptly closed its end of the connection. This is most probably due to one or more application protocol errors.

Maybe you are trying to read or write invalid registers.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [5 December 2022 13:32 UTC](https://discourse.nodered.org/t/node-red-contrib-modbus-tcp-ip-error/68638/3 "2022-12-05T13:32:08Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
