Contra - A professional network for the jobs and skills of the futureTroubleshooting n8n Webhooks: URLs, Proxies, and Payload Limits
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
n8n webhook not working? Check which URL you're calling, and what n8n thinks its own address is.
Test URL vs production URL • The test URL listens for 120 seconds after you select "Listen for test event", and the data shows on the canvas. • The production URL only works once the workflow is published, and its runs don't show on the canvas: open the Executions tab. Getting a 404 "webhook is not registered"? Check the URL you called against those two rules first.
The URL says localhost:5678 n8n builds the webhook URL from N8N_PROTOCOL, N8N_HOST and N8N_PORT, and their defaults are http, localhost and 5678. Behind Docker and a reverse proxy, set N8N_WEBHOOK_URL to your public HTTPS address. It replaces WEBHOOK_URL, deprecated from n8n 2.35.0 (it still works, with a warning in the logs). Before 2.30.0, use WEBHOOK_URL.
What my self-hosted n8n stack sets • N8N_WEBHOOK_URL: the public HTTPS address, ending with a slash. • N8N_PROXY_HOPS=1: one proxy (nginx) in front, so n8n trusts one forwarded hop. • client_max_body_size 16m in nginx, to match n8n's 16 MiB payload limit. nginx's default is 1 MB: a bigger upload gets a 413 before n8n even sees it. • proxy_read_timeout 300s for long webhook calls (nginx's default is 60s).
Which one got you: the test URL, the localhost address, or the proxy?
Post image
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started