Local docker webhook 404 not found

Describe the bug

While using n8n from my local Docker environment running on a Windows 10, I’m unable to receive a response other than 404 (Not found) from the Webhook trigger node.

I’m invoking the Webhook from Postman and I already checked that the HTTP method match, the workflow is active and tested with both the test and production URL.

To Reproduce
Steps to reproduce the behavior:

  1. Run docker-compose up with the following config:
version: '3.9'

services:
  n8n:
    image: n8nio/n8n:latest
    ports:
      - 5678:5678
    volumes:
      - n8n-data:/home/node/.n8n

volumes:
  n8n-data:
  1. Add a Webhook node
  2. Execute node
  3. Send HTTP request with Postman, curl, or another HTTP client
  4. See 404 error response

Hey @maximegel,

Are you setting any of the environment options? What url is the webhook showing?

Can you please additionally also share the full error response you are getting.

Actually, it works when I use the “respond to webhook” node instead of using the “webhook” trigger node alone.