Hey everyone,
I’m currently running into a weird issue with my self-hosted stack and could use some help.
Setup:
- Firecrawl v2 API self-hosted on Ubuntu VPS (Hetzner, Ubuntu 24.04)
- Running via
docker compose
(api
,redis
,postgres
,playwright-service
) - n8n (v1.111.0) installed globally with
pm2
(not via Docker) - Reverse proxy with Caddy (domain: https://n8napp.alphamindhub.com)
Problem: - When I start a crawl via Firecrawl (
POST /v2/crawl
), I pass a webhook like:"webhook": { "url": "https://n8napp.alphamindhub.com/webhook/fc-completed", "events": ["completed","failed"], "headers": { "x-source": "firecrawl" }, "metadata": { "site": "https://www.physyo.de" } }
Firecrawl logs show:
debug [queue-worker:processJob]: Calling webhook with success…
But n8n never receives the request. In the Executions tab I only see test requests (e.g. when I manually POST via PowerShell or curl).
Logs:
Firecrawl side: no errors, just “Calling webhook with success…”.
n8n side (pm2 logs):
pgsql
Code kopieren
Received request for unknown webhook: The requested webhook “POST firecrawl-completed” is not registered.
Also recurring error:
pgsql
Code kopieren
ValidationError: The ‘X-Forwarded-For’ header is set but the Express ‘trust proxy’ setting is false (default).
code: ‘ERR_ERL_UNEXPECTED_X_FORWARDED_FOR’
My workflow is active and production URL is correct. Manually hitting the webhook with Invoke-WebRequest or curl works fine (execution is triggered). It just seems Firecrawl → n8n communication breaks.
Questions:
Is this related to trust proxy / reverse proxy config? (Caddy is handling SSL/TLS).
Does n8n drop/ignore requests if the proxy headers are misconfigured?
Could Firecrawl require a different webhook format (headers, body)?
Any known pitfalls when combining Firecrawl → n8n webhook?
Any pointers would be really appreciated – I’m stuck between the two systems. Firecrawl says “Calling webhook with success…”, but n8n doesn’t register it.
Thanks a lot!
Please share your workflow
Share the output returned by the last node
19 items
success
true
id
a1220a3a-235a-4097-826d-c4dee5f76a87
url
http://91.99.172.36:3002/v2/crawl/a1220a3a-235a-4097-826d-c4dee5f76a87