Unable to access FireCrawl

Describe the problem/error/question

Unable to call api of FireCrawl. I am getting connection error

What is the error message (if any)?

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

{
“errorMessage”: “The connection cannot be established, this usually occurs due to an incorrect host (domain) value”,
“errorDetails”: {
“rawErrorMessage”: [
“getaddrinfo ENOTFOUND api.firecrawl.dev”,
“getaddrinfo ENOTFOUND api.firecrawl.dev”
],
“httpCode”: “ENOTFOUND”
},
“n8nDetails”: {
“nodeName”: “Web crawl”,
“nodeType”: “n8n-nodes-base.httpRequest”,
“nodeVersion”: 4.2,
“itemIndex”: 0,
“time”: “5/3/2025, 11:37:40 am”,
“n8nVersion”: “1.78.1 (Self Hosted)”,
“binaryDataMode”: “default”,
“stackTrace”: [
“NodeApiError: The connection cannot be established, this usually occurs due to an incorrect host (domain) value”,
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js:525:33)“,
" at processTicksAndRejections (node:internal/process/task_queues:95:5)”,
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:633:19)“,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:882:51”,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:1216:20"
]
}
}

Please share your workflow

{
“nodes”: [
{
“parameters”: {
“httpMethod”: “POST”,
“path”: “bcb9acda-744a-46ac-89ee-f3aeb58021c8”,
“options”: {}
},
“type”: “n8n-nodes-base.webhook”,
“typeVersion”: 2,
“position”: [
0,
0
],
“id”: “7088f5c2-59b9-4e11-8054-ef616a6d2470”,
“name”: “Webhook”,
“webhookId”: “bcb9acda-744a-46ac-89ee-f3aeb58021c8”
},
{
“parameters”: {
“method”: “POST”,
“url”: “https://api.firecrawl.dev/v1/crawl”,
“authentication”: “genericCredentialType”,
“genericAuthType”: “httpHeaderAuth”,
“sendBody”: true,
“specifyBody”: “json”,
“jsonBody”: “={\n "url": "{{ $json.body.companyName }}",\n "limit": 20,\n "scrapeOptions": {\n "formats": ["markdown", "html"]\n }\n}”,
“options”: {}
},
“type”: “n8n-nodes-base.httpRequest”,
“typeVersion”: 4.2,
“position”: [
200,
0
],
“id”: “75884d9c-fe32-4fdf-9b53-e6487e194583”,
“name”: “Web crawl”,
“credentials”: {
“httpHeaderAuth”: {
“id”: “0pVJhefw4utKErR7”,
“name”: “Firecrawl”
}
}
}
],
“connections”: {
“Webhook”: {
“main”: [
[
{
“node”: “Web crawl”,
“type”: “main”,
“index”: 0
}
]
]
}
},
“pinData”: {
“Webhook”: [
{
“headers”: {
“x-forwarded-for”: “49.37.235.88”,
“x-forwarded-proto”: “https”,
“x-forwarded-port”: “443”,
“host”: “ai-modelar.dev.unicap.ai”,
“x-amzn-trace-id”: “Root=1-67c7e807-193658df5aee0b99182dabda”,
“content-length”: “54”,
“content-type”: “application/json”,
“user-agent”: “PostmanRuntime/7.43.0”,
“accept”: “/”,
“cache-control”: “no-cache”,
“postman-token”: “2492b29c-614a-4e9c-9053-9d0dba7e0605”,
“accept-encoding”: “gzip, deflate, br”
},
“params”: {},
“query”: {},
“body”: {
“companyName”: “https://www.twinmatrix.net/
},
“webhookUrl”: “https://ai-modelar.dev.unicap.ai/webhook-test/bcb9acda-744a-46ac-89ee-f3aeb58021c8”,
“executionMode”: “test”
}
]
},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “1da2260ef50ca2a5cb1ac88a9465d4c00ac24f0d8d85632cdf64aee82bffd6d2”
}
}

Share the output returned by the last node

{
“errorMessage”: “The connection cannot be established, this usually occurs due to an incorrect host (domain) value”,
“errorDetails”: {
“rawErrorMessage”: [
“getaddrinfo ENOTFOUND api.firecrawl.dev”,
“getaddrinfo ENOTFOUND api.firecrawl.dev”
],
“httpCode”: “ENOTFOUND”
},
“n8nDetails”: {
“nodeName”: “Web crawl”,
“nodeType”: “n8n-nodes-base.httpRequest”,
“nodeVersion”: 4.2,
“itemIndex”: 0,
“time”: “5/3/2025, 11:37:40 am”,
“n8nVersion”: “1.78.1 (Self Hosted)”,
“binaryDataMode”: “default”,
“stackTrace”: [
“NodeApiError: The connection cannot be established, this usually occurs due to an incorrect host (domain) value”,
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js:525:33)“,
" at processTicksAndRejections (node:internal/process/task_queues:95:5)”,
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:633:19)“,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:882:51”,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:1216:20"
]
}
}

Information on your n8n setup

  • n8n version: 1.78.1
  • Database (default: SQLite): PostgreSQL
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Docker running on AWS ECS (Linux/X86_64 OS)

Have you tried to call the api in somewhere else? like terminal or apipost,I mean you should first make sure the api works for you and then find the issue about n8n node.

The API does work. As a matter of fact, it worked in another n8n env. So, I will try to maybe restart my runtime. Read in another post that the issue might be related DNS. So, restarting might work

I think it’s pretty hard to help as it maybe a issue related with your environment

Restarted docker, and still not accessible

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