I assume this is due to me updating something and missing a change. I use the Node Red add-on and have several http request nodes that all stopped working a few days ago. They all give the same error : “RequestError: connect ECONNREFUSED 127.0.0.1:443”. This is only for external urls. I have several http request nodes to devices on my network and they still work. Thank you for any insight.
Hi, I have the same issue, sofar I foud this: "http request" node "RequestError: connect ECONNREFUSED 127.0.0.1:443" · Issue #4324 · node-red/node-red · GitHub
and I have no clue what does it mean, so wait for an update?
Thanks anyone for help.
I haven’t figured it out yet but I did find a workaround. I am using an ‘exec’ node with a curl command and it does what I want it to do.
I did not have any of the nodes installed that were mentioned in that thread, but after going through and removing all the nodes in my setup that I was not using, my http request started working again. So apparently there are some nodes out there that are messing things up.
Ok, I will try your workaround tomorrow. Btw. wich nodes did you delete? I’m noob in node red, so any info is helpful for me. Thanks.
Yeah I should have copied them down and removed them one at a time but I didn’t. I have no idea which nodes I had that I removed. I just went through the list and anything that wasn’t in use I removed.
Anyone been able to progress this? Or give the curl exec example?
I don’t know if whatever was causing the http request to fail have been fixed. I would guess that the problem nodes need to be updated, but I really have no idea. As far as the curl command goes, you just enter the curl command into the ‘command’ field in the exec node, or pass it using the msg.payload and checking the ‘append’ box in the node. The curl command itself really depends on what you are trying to do. A simple GET request, with no headers or anything is just ‘curl http://website.com’. If you have a working http request, you can just search how to convert that to a curl command. I am sorry, I am not really familiar with http or curl, I just google stuff until it works.