I'm able to access https://www.****.com/wp-json/wp/v2/dealers from a browser or Postman but not from an HTTP Request node using get. It just times out. I've tried with authentication and without. My WordPress credentials don't seem to work either. I generated an app password for my user, but it rejects it with:
Couldn’t connect with these settings
ETIMEDOUT
This is a public URI anyway, so it should need authentication, right?
The connection timed out, consider setting the 'Retry on Fail' option in the node settings
Error details
From HTTP Request
Error code
ETIMEDOUT
Full message
connect ETIMEDOUT 64.34.166.70:443
Request
{ "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://www.****.com/wp-json/wp/v2/posts", "gzip": true, "rejectUnauthorized": true, "followRedirect": true, "resolveWithFullResponse": true, "followAllRedirects": true, "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.55.3 (Self Hosted)
Time
9/9/2024, 9:49:22 PM
Stack trace
NodeApiError: The connection timed out, consider setting the 'Retry on Fail' option in the node settings at Object.execute (/app/code/node_modules/n8n-nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts:1892:15) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Workflow.runNode (/app/code/node_modules/n8n-workflow/src/Workflow.ts:1384:8) at /app/code/node_modules/n8n-core/src/WorkflowExecute.ts:1072:27 at /app/code/node_modules/n8n-core/src/WorkflowExecute.ts:1794:11
EDIT:
Could Cloudron possibly have these addresses blacklisted?
https://community.n8n.io/t/http-request-timeout-issue-with-an-api-but-works-fine-on-postman/12572/2
https://docs.n8n.io/manage-cloud/cloud-ip/