Simple HTTP request to AWS server timeout

Hello,

I’m trying to make a simple HTTP request from myaccount.app.n8n.cloud to one of my AWS VPS instances. I’m always getting a timeout. I suspect the AWS security rules or firewall.

The reverse DNS is working fine. I checked on MXTOOLBOX (dns lookup, reverve DNS, not blacklisted).

I have whitelisted all node cloud public IPs. Any help, please?

From HTTP Request

Error code

ETIMEDOUT

Full message

connect ETIMEDOUT 52.60.95.242:443

Request

{ "body": { "userName": "add", "password": "exp!" }, "headers": { "accept": "application/json,text/html,application/xhtml+xml,application/xml,text/*;q=0.9, image/*;q=0.8, */*;q=0.7" }, "method": "GET", "uri": "https://loginetsolutions.com/receive_json.php", "gzip": true, "rejectUnauthorized": true, "followRedirect": true, "resolveWithFullResponse": true, "followAllRedirects": true, "maxRedirects": 21, "timeout": 300000, "encoding": null, "json": false, "useStream": true }

Other info

Item Index

0

Node type

n8n-nodes-base.httpRequest

Node version

4.2 (Latest)

n8n version

1.94.1 (Cloud)

Time

6/1/2025, 12:52:02 AM

Stack trace

NodeApiError: The connection timed out, consider setting the 'Retry on Fail' option in the node settings at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_12b981d6b49d407a163f4d5244314033/node_modules/n8n-nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts:769:15) at processTicksAndRejections (node:internal/process/task_queues:95:5) at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1185:9) at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1534:27 at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2098:11

Problem in node ‘HTTP Request‘

The connection timed out, consider setting the ‘Retry on Fail’ option in the node settings

My node:
{
“nodes”: [
{
“parameters”: {
“url”: “https://loginetsolutions.com/receive_json.php”,
“sendBody”: true,
“specifyBody”: “json”,
“jsonBody”: “{\n"userName": "add",\n"password": "exp!"\n}”,
“options”: {
“redirect”: {
“redirect”: {}
}
}
},
“type”: “n8n-nodes-base.httpRequest”,
“typeVersion”: 4.2,
“position”: [
220,
0
],
“id”: “556459fb-2792-46b5-8362-f84385b28a3c”,
“name”: “HTTP Request”,
“retryOnFail”: false
}
],
“connections”: {},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “83a565609511b92182dfcbcb631693fed3fe4ec4547a77f7b02762519259a46e”
}
}

Note: IP4, on port 443 any IP is allowed but IPv6 networking is disabled