# The input TCP component in node-red shows that the connection is connected and occasionally the data is not received. What's the solution?

**URL:** https://discourse.nodered.org/t/the-input-tcp-component-in-node-red-shows-that-the-connection-is-connected-and-occasionally-the-data-is-not-received-whats-the-solution/13601
**Category:** General
**Created:** [23 July 2019 10:37 UTC](https://discourse.nodered.org/t/the-input-tcp-component-in-node-red-shows-that-the-connection-is-connected-and-occasionally-the-data-is-not-received-whats-the-solution/13601 "2019-07-23T10:37:12Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![liuxuetan](https://avatars.discourse-cdn.com/v4/letter/l/53a042/32.png) [@liuxuetan](https://discourse.nodered.org/u/liuxuetan)
#### Post date: [23 July 2019 10:37 UTC](https://discourse.nodered.org/t/the-input-tcp-component-in-node-red-shows-that-the-connection-is-connected-and-occasionally-the-data-is-not-received-whats-the-solution/13601/1 "2019-07-23T10:37:12Z")

</div>

The input TCP component in node-red shows that the connection is connected and occasionally the data is not received. What's the solution?

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [23 July 2019 11:05 UTC](https://discourse.nodered.org/t/the-input-tcp-component-in-node-red-shows-that-the-connection-is-connected-and-occasionally-the-data-is-not-received-whats-the-solution/13601/2 "2019-07-23T11:05:07Z")

</div>

You have done something wrong??? 😝

Seriously go read your post and think about how anyone, other than yourself, could possible answer your question. You haven't provided any kind of details at all.

what version of node-red and node.js?  
what platform is NR runniing on?  
What os is the platform using?  
provide a copy of your flow  
what contrib nodes are you using (i.e. node-red-contrib-xxxxx)  
what is the device connecting via tcp?  
what type of data is the device sending?  
is the device hard wired or using a network?  
Is the network wireless?

Those are just a few of the questions that pop up into my head.

---

<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: [23 July 2019 22:11 UTC](https://discourse.nodered.org/t/the-input-tcp-component-in-node-red-shows-that-the-connection-is-connected-and-occasionally-the-data-is-not-received-whats-the-solution/13601/3 "2019-07-23T22:11:14Z")

</div>

Assuming Ethernet, use Wireshark to confirm data is being sent. My guess is your device is not sending data or your TCP node is not configured correctly.

As requested above, additional information is required. We aren't psychic 🙂

---

<div class="post-metadata">

### Author: ![liuxuetan](https://avatars.discourse-cdn.com/v4/letter/l/53a042/32.png) [@liuxuetan](https://discourse.nodered.org/u/liuxuetan)
#### Post date: [24 July 2019 01:20 UTC](https://discourse.nodered.org/t/the-input-tcp-component-in-node-red-shows-that-the-connection-is-connected-and-occasionally-the-data-is-not-received-whats-the-solution/13601/4 "2019-07-24T01:20:50Z")

</div>

Node-red version number V0.20.6  
JS Version V10.16.0  
On raspberry pie 3B + and running program on Linux operating system  
Problem node is TCP in node, which occasionally receives no data; server written by JAVA, TCP in node program as the client, receives the data sent by server, and occasionally receives no data.  
Data is HEX (hexadecimal), buffer  
Using Router to Build Local Area Network for Wireless Communication

---

<div class="post-metadata">

### Author: ![liuxuetan](https://avatars.discourse-cdn.com/v4/letter/l/53a042/32.png) [@liuxuetan](https://discourse.nodered.org/u/liuxuetan)
#### Post date: [24 July 2019 01:21 UTC](https://discourse.nodered.org/t/the-input-tcp-component-in-node-red-shows-that-the-connection-is-connected-and-occasionally-the-data-is-not-received-whats-the-solution/13601/5 "2019-07-24T01:21:42Z")

</div>

Node-red version number V0.20.6  
JS Version V10.16.0  
On raspberry pie 3B + and running program on Linux operating system  
Problem node is TCP in node, which occasionally receives no data; server written by JAVA, TCP in node program as the client, receives the data sent by server, and occasionally receives no data.  
Data is HEX (hexadecimal), buffer  
Using Router to Build Local Area Network for Wireless Communication  
[/quote]
