Describe the problem/error/question
Hey guys,
I followed an example for using Crawl4AI together with n8n. Local Docker Desktop install on macOS Sonoma 14.7.4. I am stuck on the HTTP Request module where I cannot authenticate to Crawl4AI. I tried several local addresses and also this yaml entry
- N8N_AUTH_EXCLUDE_ENDPOINTS=api
from this thread
but no luck. Also, when I try to enter Header Auth with
Name: Authorization
the Value changes from “Bearer 3JF8JD3ihdd” to
“__n8n_BLANK_VALUE_e5362baf-c777…” I don’t know if this is to be expected.
I am out of ideas. Any input is highly apprecited! If you need more information please let me now. Thanks a lot for your time!
(I changed to http to ttp to be able to post due to the “5 links for new users” rule)
What is the error message (if any)?
for ttp://192.168.65.1:11235/crawl and
ttp://localhost:11235/crawl:
The service refused the connection - perhaps it is offline
{ “body”: { “urls”: “ttps://ai.pydantic.dev/”, “priority”: “10” }, “headers”: { “Authorization”: “hidden”, “accept”: “application/json,text/html,application/xhtml+xml,application/xml,text/;q=0.9, image/;q=0.8, /;q=0.7” }, “method”: “POST”, “uri”: “http://192.168.65.1:11235/crawl”, “gzip”: true, “rejectUnauthorized”: true, “followRedirect”: true, “resolveWithFullResponse”: true, “followAllRedirects”: true, “timeout”: 300000, “encoding”: null, “json”: false, “useStream”: true }
for ttp://192.168.1.5:11235/crawl:
Authorization failed - please check your credentials
Invalid token
401 - "{\"detail\":\"Invalid token\"}"
Request
{ "body": { "urls": "https://ai.pydantic.dev/", "priority": "10" }, "headers": { "Authorization": "**hidden**", "accept": "application/json,text/html,application/xhtml+xml,application/xml,text/*;q=0.9, image/*;q=0.8, */*;q=0.7" }, "method": "POST", "uri": "ttp://192.168.1.5:11235/crawl", "gzip": true, "rejectUnauthorized": true, "followRedirect": true, "resolveWithFullResponse": true, "followAllRedirects": true, "timeout": 300000, "encoding": null, "json": false, "useStream": true }
Please share your workflow
Share the output returned by the last node
Node type
n8n-nodes-base.httpRequest
Node version
4.2 (Latest)
n8n version
1.83.2 (Self Hosted)
Time
25/03/2025, 13:33:32
Stack trace
NodeApiError: Authorization failed - please check your credentials 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:681:27) at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:913:51 at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:1246:20
Information on your n8n setup
- n8n version: 1.83.2
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker Desktop
- Operating system: macOS