# 2.0.1 error (networking?)

**URL:** <https://discourse.nodered.org/t/2-0-1-error-networking/48686>\
**Category:** General\
**Created:** [21 July 2021 05:03 UTC](https://discourse.nodered.org/t/2-0-1-error-networking/48686 "2021-07-21T05:03:03Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![GeorgeCastanza](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/georgecastanza/32/40766_2.png) [@GeorgeCastanza](https://discourse.nodered.org/u/GeorgeCastanza)\
**Post date:** [21 July 2021 05:03 UTC](https://discourse.nodered.org/t/2-0-1-error-networking/48686/1 "2021-07-21T05:03:03Z")

</div>

I realise there was an update to this node in the 2.0.0 update. However, my http request node is not working and I'm not sure where to start.

I have a number of flows that scrape the web for prices/changes etc. They are no longer working. Even the example node red flow now no longer works.

```auto
[{"id":"60e13f.444b8ec","type":"inject","z":"8c249630.076968","name":"make request","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":"","topic":"","payload":"","payloadType":"date","x":270,"y":60,"wires":[["3ae79c65.53df84"]]},{"id":"3ae79c65.53df84","type":"http request","z":"8c249630.076968","name":"","method":"GET","ret":"txt","paytoqs":"ignore","url":"https://nodered.org","tls":"","persist":false,"proxy":"","authType":"","x":430,"y":60,"wires":[["42222945.5f2ba8"]]},{"id":"da9563c0.49724","type":"debug","z":"8c249630.076968","name":"","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":990,"y":60,"wires":[]},{"id":"42222945.5f2ba8","type":"html","z":"8c249630.076968","name":"","property":"","outproperty":"","tag":".node-red-latest-version","ret":"html","as":"single","x":630,"y":60,"wires":[["da9563c0.49724"]]}]

```

Any thoughts?

Edit: the flow was taken from [this documentation](https://cookbook.nodered.org/http/simple-get-request#example), and it's also broken.

---

<div class="post-metadata">

**Author:** ![HaroldPetersInskipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/haroldpetersinskipp/32/42319_2.png) [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)\
**Post date:** [21 July 2021 05:12 UTC](https://discourse.nodered.org/t/2-0-1-error-networking/48686/2 "2021-07-21T05:12:13Z")

</div>

try this

```
[{"id":"bb365f9c2f3b3a2e","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"60e13f.444b8ec","type":"inject","z":"bb365f9c2f3b3a2e","name":"make request","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":"","topic":"","payloadType":"date","x":330,"y":260,"wires":[["3ae79c65.53df84"]]},{"id":"3ae79c65.53df84","type":"http request","z":"bb365f9c2f3b3a2e","name":"","method":"GET","ret":"txt","paytoqs":"ignore","url":"https://nodered.org","tls":"","persist":false,"proxy":"","authType":"","x":490,"y":260,"wires":[["42222945.5f2ba8"]]},{"id":"da9563c0.49724","type":"debug","z":"bb365f9c2f3b3a2e","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1050,"y":260,"wires":[]},{"id":"42222945.5f2ba8","type":"html","z":"bb365f9c2f3b3a2e","name":"","property":"payload","outproperty":"payload","tag":".node-red-latest-version","ret":"html","as":"single","x":690,"y":260,"wires":[["da9563c0.49724"]]}]

```

You had to set payload as the msg property.

---

<div class="post-metadata">

**Author:** ![GeorgeCastanza](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/georgecastanza/32/40766_2.png) [@GeorgeCastanza](https://discourse.nodered.org/u/GeorgeCastanza)\
**Post date:** [21 July 2021 05:17 UTC](https://discourse.nodered.org/t/2-0-1-error-networking/48686/3 "2021-07-21T05:17:53Z")

</div>

> [@HaroldPetersInskipp](#):
>
> ```auto
> [{"id":"bb365f9c2f3b3a2e","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"60e13f.444b8ec","type":"inject","z":"bb365f9c2f3b3a2e","name":"make request","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":"","topic":"","payloadType":"date","x":330,"y":260,"wires":[["3ae79c65.53df84"]]},{"id":"3ae79c65.53df84","type":"http request","z":"bb365f9c2f3b3a2e","name":"","method":"GET","ret":"txt","paytoqs":"ignore","url":"https://nodered.org","tls":"","persist":false,"proxy":"","authType":"","x":490,"y":260,"wires":[["42222945.5f2ba8"]]},{"id":"da9563c0.49724","type":"debug","z":"bb365f9c2f3b3a2e","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1050,"y":260,"wires":[]},{"id":"42222945.5f2ba8","type":"html","z":"bb365f9c2f3b3a2e","name":"","property":"payload","outproperty":"payload","tag":".node-red-latest-version","ret":"html","as":"single","x":690,"y":260,"wires":[["da9563c0.49724"]]}]
> 
> ```

I think you may have posted the wrong flow, as its still errors for me. Can you screenshot the change please?

---

<div class="post-metadata">

**Author:** ![HaroldPetersInskipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/haroldpetersinskipp/32/42319_2.png) [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)\
**Post date:** [21 July 2021 05:37 UTC](https://discourse.nodered.org/t/2-0-1-error-networking/48686/4 "2021-07-21T05:37:56Z")

</div>

try this

```
[{"id":"bb365f9c2f3b3a2e","type":"inject","z":"799f73e7022a279b","name":"Make request","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":"","topic":"","payloadType":"str","x":210,"y":240,"wires":[["3ae79c65.53df84"]]},{"id":"3ae79c65.53df84","type":"http request","z":"799f73e7022a279b","name":"Get nodered.org","method":"GET","ret":"txt","paytoqs":"ignore","url":"https://nodered.org","tls":"","persist":false,"proxy":"","authType":"","x":380,"y":240,"wires":[["42222945.5f2ba8"]]},{"id":"da9563c0.49724","type":"debug","z":"799f73e7022a279b","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":790,"y":240,"wires":[]},{"id":"42222945.5f2ba8","type":"html","z":"799f73e7022a279b","name":"","property":"payload","outproperty":"payload","tag":".node-red-latest-version","ret":"html","as":"single","x":590,"y":240,"wires":[["da9563c0.49724"]]}]
```

---

<div class="post-metadata">

**Author:** ![GeorgeCastanza](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/georgecastanza/32/40766_2.png) [@GeorgeCastanza](https://discourse.nodered.org/u/GeorgeCastanza)\
**Post date:** [21 July 2021 05:47 UTC](https://discourse.nodered.org/t/2-0-1-error-networking/48686/5 "2021-07-21T05:47:36Z")

</div>

Thanks, something is wrong with my node-red install, as I just spun up a docker 2.0.1 image and it worked with your flow. Thanks for the help.

This is the error  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/3/a362a149a1ac9ae046d45e20014196c2806755ff.png)

---

<div class="post-metadata">

**Author:** ![HaroldPetersInskipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/haroldpetersinskipp/32/42319_2.png) [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)\
**Post date:** [21 July 2021 05:50 UTC](https://discourse.nodered.org/t/2-0-1-error-networking/48686/6 "2021-07-21T05:50:59Z")

</div>

Yeah I kind of figured, because I tried them on multiple device and they all work for me.

---

<div class="post-metadata">

**Author:** ![GeorgeCastanza](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/georgecastanza/32/40766_2.png) [@GeorgeCastanza](https://discourse.nodered.org/u/GeorgeCastanza)\
**Post date:** [21 July 2021 10:16 UTC](https://discourse.nodered.org/t/2-0-1-error-networking/48686/7 "2021-07-21T10:16:46Z")

</div>

Any suggestions as to where to start? I've tried re-installing node red (using the bash command), and same error. I can ssh and RDP into the device (armbian), I can use the web with other applications, just not node red. It gives the error below.

RequestError: connect ECONNREFUSED 127.0.0.1:44

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [21 July 2021 10:21 UTC](https://discourse.nodered.org/t/2-0-1-error-networking/48686/8 "2021-07-21T10:21:53Z")

</div>

Hi @GeorgeCastanza

we had a similar issue reported overnight, but they then tried a new container and it worked - the issue was then closed.

Clearly there is some subtle issue here, I'm just not sure what it is as yet.

---

<div class="post-metadata">

**Author:** ![GeorgeCastanza](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/georgecastanza/32/40766_2.png) [@GeorgeCastanza](https://discourse.nodered.org/u/GeorgeCastanza)\
**Post date:** [21 July 2021 10:45 UTC](https://discourse.nodered.org/t/2-0-1-error-networking/48686/9 "2021-07-21T10:45:01Z")

</div>

Anything I can do to help debug?

---

<div class="post-metadata">

**Author:** ![sammachin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sammachin/32/5121_2.png) [@sammachin](https://discourse.nodered.org/u/sammachin)\
**Post date:** [21 July 2021 10:57 UTC](https://discourse.nodered.org/t/2-0-1-error-networking/48686/10 "2021-07-21T10:57:12Z")

</div>

@GeorgeCastanza Can you provide some more info on your docker config, how did you upgrade node-red in the container that has the issues?

---

<div class="post-metadata">

**Author:** ![GeorgeCastanza](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/georgecastanza/32/40766_2.png) [@GeorgeCastanza](https://discourse.nodered.org/u/GeorgeCastanza)\
**Post date:** [21 July 2021 11:00 UTC](https://discourse.nodered.org/t/2-0-1-error-networking/48686/11 "2021-07-21T11:00:32Z")

</div>

I dont run that instance of node red in docker. It's run bare metal, installed by bash _pi_ script (without the pi modules, as I'm running on armbian).

I did spin up a node red via docker to check the error, which was where the confusion originated.

---

<div class="post-metadata">

**Author:** ![sammachin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sammachin/32/5121_2.png) [@sammachin](https://discourse.nodered.org/u/sammachin)\
**Post date:** [21 July 2021 11:06 UTC](https://discourse.nodered.org/t/2-0-1-error-networking/48686/12 "2021-07-21T11:06:06Z")

</div>

thats useful thanks, we were thinking this was a docker related issue.

any info you can share about your network setup on the device, DNS, proxies etc?

---

<div class="post-metadata">

**Author:** ![GeorgeCastanza](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/georgecastanza/32/40766_2.png) [@GeorgeCastanza](https://discourse.nodered.org/u/GeorgeCastanza)\
**Post date:** [21 July 2021 11:17 UTC](https://discourse.nodered.org/t/2-0-1-error-networking/48686/13 "2021-07-21T11:17:17Z")

</div>

No proxies. Standard Unifi setup. There is a pi-hole running on the network. I just tried to do the _http request_ after disabling the pi-hole, and it still failed.

I've got a few _http requests_, some external, some internal to my network. One internal request is scraping my wifi connected solar invertor, and that also failed after 2.0.1. So it's _probably_ not DNS.

---

<div class="post-metadata">

**Author:** ![sammachin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sammachin/32/5121_2.png) [@sammachin](https://discourse.nodered.org/u/sammachin)\
**Post date:** [21 July 2021 11:28 UTC](https://discourse.nodered.org/t/2-0-1-error-networking/48686/14 "2021-07-21T11:28:11Z")

</div>

Thanks sounds very similar to the setup I have here, I'm just updating one of my Pi's to 2.0.1 so will see if that has the same problem

---

<div class="post-metadata">

**Author:** ![Dimitris](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dimitris/32/45273_2.png) [@Dimitris](https://discourse.nodered.org/u/Dimitris)\
**Post date:** [21 July 2021 12:06 UTC](https://discourse.nodered.org/t/2-0-1-error-networking/48686/15 "2021-07-21T12:06:36Z")

</div>

I am using node-red with docker and tonight after an automated upgrade (with watchtower) to 2.0.1 (from 1.3.5) my Postgres nodes stopped working.  
Downgraded to 1.3.5 and everything is fine again.  
I post it here because it might be a networking issue.

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [21 July 2021 12:28 UTC](https://discourse.nodered.org/t/2-0-1-error-networking/48686/16 "2021-07-21T12:28:11Z")

</div>

Is the request to the solar inverter using a local hostname or a IP address? Please share details of exactly how that http-request node is configured

---

<div class="post-metadata">

**Author:** ![GeorgeCastanza](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/georgecastanza/32/40766_2.png) [@GeorgeCastanza](https://discourse.nodered.org/u/GeorgeCastanza)\
**Post date:** [21 July 2021 12:31 UTC](https://discourse.nodered.org/t/2-0-1-error-networking/48686/17 "2021-07-21T12:31:06Z")

</div>

> [@hardillb](#):
>
> Please share details of exactly how that http-request node is configured

IP address.

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

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [21 July 2021 13:26 UTC](https://discourse.nodered.org/t/2-0-1-error-networking/48686/18 "2021-07-21T13:26:47Z")

</div>

And that is giving the `ECONNREFUSED 127.0.0.1:443` error when making a request to that IP address?

I'm just double checking this as I'm struggling to reproduce this anywhere at the moment.

---

<div class="post-metadata">

**Author:** ![GeorgeCastanza](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/georgecastanza/32/40766_2.png) [@GeorgeCastanza](https://discourse.nodered.org/u/GeorgeCastanza)\
**Post date:** [21 July 2021 13:38 UTC](https://discourse.nodered.org/t/2-0-1-error-networking/48686/19 "2021-07-21T13:38:02Z")

</div>

Yes, that flow in original post is the flow (amongst many) that produce those errors.

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [21 July 2021 13:38 UTC](https://discourse.nodered.org/t/2-0-1-error-networking/48686/20 "2021-07-21T13:38:45Z")

</div>

Also can you run `npm list agent-base` in your Node-RED userDIR (probably ~/.node-red) and paste the output please

[Next page](https://discourse.nodered.org/t/2-0-1-error-networking/48686.md?page=2)
