Inconsistent HTTP Request Node Connectivity to Serveo.net URL in n8n

Hello,

I am currently utilizing the HTTP Request node to execute GET method calls, targeting a URL hosted on serveo.net.
For Example:https://nodestack-faizan.serveo.net/v1/content/smart-layer/callback

However, the connection’s reliability is inconsistent. Sometimes, the request executes successfully, while other times, I receive the following error:

The connection cannot be established, this usually occurs due to an incorrect host (domain) value.

It appears that n8n is intermittently blocking the serveo.net URL, leading to these unstable responses.

Could you please investigate this issue? Specifically, is there a way to whitelist serveo.net IP addresses within n8n to prevent these connection interruptions?

Thank you.

Information on your n8n setup

  • Using Cloud N8n version (Pro)
  • n8n version: 1.53.2

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:
  • n8n version: 1.53.2
  • Database (default: SQLite): AWS DynamoDB
  • n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
  • Operating system: cloud

Error in details:

{
“errorMessage”: “The connection cannot be established, this usually occurs due to an incorrect host (domain) value”,
“errorDetails”: {
“rawErrorMessage”: [
“getaddrinfo ENOTFOUND nodestack-faizan.serveo.net”,
“getaddrinfo ENOTFOUND nodestack-faizan.serveo.net
],
“httpCode”: “ENOTFOUND”
},
“n8nDetails”: {
“nodeName”: “HTTP Request”,
“nodeType”: “n8n-nodes-base.httpRequest”,
“nodeVersion”: 4.2,
“itemIndex”: 0,
“time”: “23/08/2024, 11:53:35”,
“n8nVersion”: “1.53.2 (Cloud)”,
“binaryDataMode”: “filesystem”,
“stackTrace”: [
“NodeApiError: The connection cannot be established, this usually occurs due to an incorrect host (domain) value”,
" at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js:1650:33)“,
" at processTicksAndRejections (node:internal/process/task_queues:95:5)”,
" at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:728:19)“,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:673:51”,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1086:20"
]
}
}

@n8n @Robm Anybody can answer my question? I’m stuck for a long time.

Welcome to the community @fastian07 !

Tip for sharing workflows

Pasting your n8n workflow


Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.

```
<your workflow>
```

That implies to any JSON output you would like to share with us.


Sorry for the delay in replying.

It doesn’t sound to me as n8n Cloud is blocking the URL.

If I understand it right serveo.net is a proxy server that creates a tunnel to your local machine allowing accessing your application/service via a public domain.

Is there any way to have n8n IPs whitelisted on that server (just in case)? Do you have access to the server logs or can ask Serveo support (if there is any) to see what happens to the requests coming from n8n Cloud? Any possibility of checking the logs on your server (in addition to Serveo’s)?

Moreover, the IP address (owned by DigitalOcean) of your custom domain is blacklisted on some services, see IP Blacklist & Email Blacklist Check.

@ihortom Thanks for your reply. I have checked the logs of serveo.net local machine but couldnt find any logs which mean n8n is not trying to hit this URL somehow.

Do you know if we have option to whitelist the domain in n8n cloud settings?

Regards,
Faizan

Hi @fastian07!

So sorry for your troubles. It looks like the DNS resolution for hostname serveo.net might fail depending on which exact nameserver gets queried. This would seem to affect not only n8n Cloud, but also happens in my local environment.

We’ll investigate further to try to and understand what’s causing this and how we might be able to mitigate it in n8n Cloud. At any rate, we’re not blocking the service on purpose.

Kind regards,

Mike

@mi8n Any update?

@fastian07 This is on our list, but unfortunately haven’t gotten to it yet. Sent you a DM!

I think we’ve found the root cause. It’s likely some DNS requests would’ve gotten blocked due to a security feature in one of our upstream DNS servers.

We have just deployed an update to the DNS configuration and initial results look promising. I’d recommend either restarting or upgrading your instance from the Admin panel, after which it should have all the most recent updates and fixes applied.

Please let me know how it looks, and if it fixes (or not) the problem for you!

2 Likes

@mi8n Thank you very much! its working now.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.