Error in HTTP Request Node When Fetching Binary Data for Bulk File Download

I have around 50 to 100 file URLs from the Facebook Ads Library, and I need to extract the binary data to save it on Bunny.net.

To do this, I’m using the HTTP REQUEST node, but I’m constantly encountering the following error:

**aborted **
**Error: aborted at TLSSocket.socketCloseListener (node:_http_client:464:19) **
**at TLSSocket.emit (node:events:531:35) **
**at TLSSocket.emit (node:domain:488:12) **
**at node:net:339:12 **
**at TCP.done (node:_tls_wrap:648:7) **
at TCP.callbackTrampoline (node:internal/async_hooks:130:17)

I’d like to understand the reason for this error!

Could it be related to the volume of data I’m trying to extract at once? I need to extract the binary data from as many URLs as possible because I’d like to save them in bulk on Bunny.net.

Can anyone help me?

Information on your n8n setup
n8n version: 1.68.0
**Database (default: SQLite):cloud
**n8n EXECUTIONS_PROCESS setting (default: own, main):cloud
Running n8n via (n8n cloud): cloud
**Operating system:Mac OS - 14.2.1

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

The error suggests that the connection that was aborted was the one downloading from fbcdn.net. Maybe you are being throttled by fbcdn?

Since you have 50 items in the input, the http request node will try to download them all in parallel, which might also be contributing to the issue.

Can you please try adding a Loop Over Items node before the http request node, and try setting the batch size to maybe 5 or so.