The connection to the server was closed unexpectedly, perhaps it is offline. You can retry the request immediately or wait and retry later.
What is the error message (if any)?
{
“errorMessage”: “The connection to the server was closed unexpectedly, perhaps it is offline. You can retry the request immediately or wait and retry later. [item 1]”,
“errorDetails”: {
“rawErrorMessage”: [
“socket hang up”,
“socket hang up”
],
“httpCode”: “ECONNRESET”
},
“n8nDetails”: {
“nodeName”: “HTTP Request”,
“nodeType”: “n8n-nodes-base.httpRequest”,
“nodeVersion”: 4.2,
“itemIndex”: 1,
“time”: “16:52:17 4/4/2025”,
“n8nVersion”: “1.82.3 (Self Hosted)”,
“binaryDataMode”: “default”,
“stackTrace”: [
“NodeApiError: The connection to the server was closed unexpectedly, perhaps it is offline. You can retry the request immediately or wait and retry later.”,
" at ExecuteContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/node-execution-context/utils/request-helper-functions.js:991:19)“,
" at processTicksAndRejections (node:internal/process/task_queues:95:5)”,
" at ExecuteContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/node-execution-context/utils/request-helper-functions.js:1147:20)"
]
}
}
Hi, Yes of course. my question was rather whether you have tried this exact request with the same data in another tool (without n8n). does it execute there? What does it tell you.
From what I can gather the error might result from issues with the headers (like user agent etc). I know it’s brute force but just to save time. If you have a way to capture the two request somehow. Wireshark/txpdump/… You could compare them to see if there is any difference.
hi, no i don’t think so necessarily, but there might be headers missing or wrongly set in the actual http. but for us to understand what is the difference, it would be good to have a comparison.
I’m so confused rn @@ I thought my WooCom key&secret are correct. However when I checked again and it didn’t work. I’ve created another key and it worked, but after a few retries, it does not connect anymore and returns the same error @@
I tried to get products with http request node and somehow it returns the HTML that relevant to captcha (It contain sensitive information so I don’t want to show it here). My ecom site is hosted in Hostinger, my n8n is hosted in different VPS