# Error: connect ECONNREFUSED

**URL:** <https://discourse.nodered.org/t/error-connect-econnrefused/84271>\
**Category:** General\
**Created:** [4 January 2024 07:08 UTC](https://discourse.nodered.org/t/error-connect-econnrefused/84271 "2024-01-04T07:08:36Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giamma](https://avatars.discourse-cdn.com/v4/letter/g/e47774/32.png) [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Post date:** [4 January 2024 07:08 UTC](https://discourse.nodered.org/t/error-connect-econnrefused/84271/1 "2024-01-04T07:08:36Z")

</div>

Hi,  
randomly, one a month, two months, my node-red crash (and consequently my home automation go down).

The error is (by the terminal)

```auto
3 Jan 22:41:38 - [red] Uncaught Exception:
3 Jan 22:41:38 - [error] Error: connect ECONNREFUSED 52.214.227.89:443
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)

```

Can I avoid the crash at least?

---

<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:** [4 January 2024 07:11 UTC](https://discourse.nodered.org/t/error-connect-econnrefused/84271/2 "2024-01-04T07:11:37Z")

</div>

Are there more lines in the error trace or is that it?

---

<div class="post-metadata">

**Author:** ![Giamma](https://avatars.discourse-cdn.com/v4/letter/g/e47774/32.png) [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Post date:** [4 January 2024 07:14 UTC](https://discourse.nodered.org/t/error-connect-econnrefused/84271/3 "2024-01-04T07:14:23Z")

</div>

No, no more lines ....

---

<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:** [4 January 2024 07:22 UTC](https://discourse.nodered.org/t/error-connect-econnrefused/84271/4 "2024-01-04T07:22:00Z")

</div>

What version of nodejs is this using?

What is the node-red version?

Does this happen randomly or when you perform a specific action?

What is the environment like (docker install? Direct install?)

Do you recognise the IP (is it a my SQL or some other dependant service?)

---

<div class="post-metadata">

**Author:** ![Giamma](https://avatars.discourse-cdn.com/v4/letter/g/e47774/32.png) [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Post date:** [4 January 2024 07:32 UTC](https://discourse.nodered.org/t/error-connect-econnrefused/84271/5 "2024-01-04T07:32:28Z")

</div>

**What is the node-red version?**  
3 Jan 08:35:02 - [info] Node-RED version: v3.1.1  
3 Jan 08:35:02 - [info] Node.js version: v16.20.2  
3 Jan 08:35:02 - [info] Linux 5.15.32-v7l+ arm LE

**Does this happen randomly or when you perform a specific action?**  
Randomly... yesterday at 22:41:38 absolutely no activity or action

**What is the environment like (docker install? Direct install?)**  
Direct install on Raspberry Pi4 - SO raspberry

**Do you recognise the IP (is it a my SQL or some other dependant service?)**  
Absolutely no!

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [4 January 2024 07:40 UTC](https://discourse.nodered.org/t/error-connect-econnrefused/84271/6 "2024-01-04T07:40:05Z")

</div>

The IP refers to Amazon Alexa ...

---

<div class="post-metadata">

**Author:** ![Giamma](https://avatars.discourse-cdn.com/v4/letter/g/e47774/32.png) [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Post date:** [4 January 2024 07:47 UTC](https://discourse.nodered.org/t/error-connect-econnrefused/84271/7 "2024-01-04T07:47:22Z")

</div>

Therefore Alexa-remote2-applestrudel is the problem .....

---

<div class="post-metadata">

**Author:** ![fmarzocca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fmarzocca/32/35901_2.png) [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Post date:** [10 January 2024 10:18 UTC](https://discourse.nodered.org/t/error-connect-econnrefused/84271/8 "2024-01-10T10:18:19Z")

</div>

I have the same problem. Did someone find a solution for this?

---

<div class="post-metadata">

**Author:** ![Giamma](https://avatars.discourse-cdn.com/v4/letter/g/e47774/32.png) [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Post date:** [10 January 2024 15:31 UTC](https://discourse.nodered.org/t/error-connect-econnrefused/84271/9 "2024-01-10T15:31:36Z")

</div>

No, I didn't find any solutions .....

---

<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:** [10 January 2024 16:44 UTC](https://discourse.nodered.org/t/error-connect-econnrefused/84271/10 "2024-01-10T16:44:46Z")

</div>

> [@Giamma](#):
>
> Therefore Alexa-remote2-applestrudel is the problem

> [@fmarzocca](#):
>
> I have the same problem. Did someone find a solution for this

Assuming [this](https://github.com/bbindreiter/node-red-contrib-alexa-remote2-applestrudel/issues?q=is%3Aissue+ECONNREFUSED+) is the correct repository, it has not been reported (and therefore probably wont get fixed)

---

<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:** [10 March 2024 16:45 UTC](https://discourse.nodered.org/t/error-connect-econnrefused/84271/11 "2024-03-10T16:45:07Z")

</div>

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