Error CONNREFUSED

I’ve split the binary files into two items and wrote then into tmp/thefilename, but they will both go to the same endpoint. When I try to upload I receive an error on my output that I haven’t been able to figure out.

I’m not sure if this helps but this pops up on execute as well
Screenshot 2023-01-05 at 4.54.57 PM

What does it display when you click on “Details”?

{"status":"rejected","reason":{"message":"connect ECONNREFUSED ::1:80","name":"Error","stack":"Error: connect ECONNREFUSED ::1:80\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)\n at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17)","code":"ECONNREFUSED"}}

Just saw that you have two incoming items. So assume your expressions only resolve correctly for the first one and not the second. Can you please change all expressions from using the syntax

$node["NODE_NAME"].json

to

$("NODE_NAME").first().json 

Awesome this fixed several issues for me.

Great to hear. Have fun!

1 Like

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