Help with HTTP Request Node in Workflow 1: Merging Data - TLSSocket Aborted Error

Hi everyone,

I’m currently working through the level 2 intermediate course in n8n, focusing on Workflow 1: Merging Data. I’m using the HTTP Request node to retrieve data from the REST Countries API (https://restcountries.com/v3.1/all), but I’m encountering the following error when testing the node:

Error Message:
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’ve double-checked the configuration, like enabling ignore ssl issues, follow redirect even enabled timeout


but I’m still facing this issue. Has anyone encountered something similar or have any tips on how to resolve this?

Thanks in advance for your help!

When I try to open that url in my browser, I see a similar issue.
When trying to download this data via curl

> curl -v https://restcountries.com/v3.1/all > /dev/null
...
...
< HTTP/2 200 
< server: nginx/1.22.1
< date: Sun, 01 Dec 2024 16:23:14 GMT
< content-type: application/json
< content-length: 833487
< cache-control: public, immutable, max-age=31556926
< 
{ [8010 bytes data]
* HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)

I think the issue here is on the server hosting restcountries.com

Hi I’m facing the same issue. How do you resolve this?

I faced the same issue, but I change uri to https://restcountries.com/v3/all and that works for me

It might also make sense to reach out to the maintainers of that website to let them know about this issue. This is not a n8n specific issue.

Looks like this has already been reported.
If you are affected by this, I recommend keeping an eye on that gitlab issue.