# Connection error on telnet-send crashes node-red

**URL:** https://discourse.nodered.org/t/connection-error-on-telnet-send-crashes-node-red/99928
**Category:** General
**Created:** [11 December 2025 15:28 UTC](https://discourse.nodered.org/t/connection-error-on-telnet-send-crashes-node-red/99928 "2025-12-11T15:28:29Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Bond246](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bond246/32/16460_2.png) [@Bond246](https://discourse.nodered.org/u/Bond246)
#### Post date: [11 December 2025 15:28 UTC](https://discourse.nodered.org/t/connection-error-on-telnet-send-crashes-node-red/99928/1 "2025-12-11T15:28:29Z")

</div>

Hello,

i have a node-red instance running on kubernetes which works really fine in general.  
On that instance i'm controlling some media services for tv-broadcasting and one of it is CasparCG which uses AMCP protocol. Therefor i'm using the telnet-send node to send commands to that CasparCG.

Last days i had a connection issue to that CasparCG - firewall-rules made a problem - and Node-Red coudn't send commands to that telnet-endpoint.

In consequence node-red crashed and restartet.  
Message was only `"Connection wait exceeded timeout"`

Is there a way to secure this node from crashing the whole instance?

Thanks

---

<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: [11 December 2025 15:35 UTC](https://discourse.nodered.org/t/connection-error-on-telnet-send-crashes-node-red/99928/2 "2025-12-11T15:35:47Z")

</div>

In general, a node should not crash Node-RED. Node-RED does its best to handle errors but some (like unhandled async errors) cannot (and should not) be handled by Node-RED but rather It is down to the node creator to handle async errors.

Which node are you using (like to library) - perhaps there is a link to its repository and it is well maintained - the author may be willing to fix it up or accept a pull request?

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [11 December 2025 16:33 UTC](https://discourse.nodered.org/t/connection-error-on-telnet-send-crashes-node-red/99928/3 "2025-12-11T16:33:28Z")

</div>

It probably also worth sharing the full crash log from node-red.

---

<div class="post-metadata">

### Author: ![leftymuller](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/leftymuller/32/102326_2.png) [@leftymuller](https://discourse.nodered.org/u/leftymuller)
#### Post date: [12 December 2025 07:59 UTC](https://discourse.nodered.org/t/connection-error-on-telnet-send-crashes-node-red/99928/4 "2025-12-12T07:59:02Z")

</div>

> [@Bond246](#):
>
> AMCP protocol

Hi Bond246,

I am ex TV and radio broadcast as well  
I did a bit of read and AMCP is not telnet  
I would try using a TCP connection node rather than telnet node

---

<div class="post-metadata">

### Author: ![Bond246](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bond246/32/16460_2.png) [@Bond246](https://discourse.nodered.org/u/Bond246)
#### Post date: [12 December 2025 08:55 UTC](https://discourse.nodered.org/t/connection-error-on-telnet-send-crashes-node-red/99928/5 "2025-12-12T08:55:54Z")

</div>

thanks @leftymuller

i think this is a good solution.  
Don't know why we took telnet-send but it works really well with tcp.

---

<div class="post-metadata">

### Author: ![leftymuller](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/leftymuller/32/102326_2.png) [@leftymuller](https://discourse.nodered.org/u/leftymuller)
#### Post date: [12 December 2025 09:11 UTC](https://discourse.nodered.org/t/connection-error-on-telnet-send-crashes-node-red/99928/6 "2025-12-12T09:11:52Z")

</div>

No Problem @Bond246 Glad its working

a lot of people make the mistake of thinking telnet and raw TCP are the same which they aren't 🙂

---

<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: [26 December 2025 09:12 UTC](https://discourse.nodered.org/t/connection-error-on-telnet-send-crashes-node-red/99928/7 "2025-12-26T09:12:39Z")

</div>

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