N8N:
- Self-hosted
- docker
- 0.227.1
Issue:
Production webhooks work fine. When I try to send a test webhook to the ‘webhook-test’ endpoint, I get a successfully response
HTTP/1.1 200 OK
Server: nginx/1.20.1
Date: Wed, 17 May 2023 20:52:59 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 34
Connection: close
ETag: W/"22-6OS7cK0FzqnV2NeDHdOSGS1bVUs"
Vary: Accept-Encoding
{"message":"Workflow was started"}
But nothing happens in the UI - the message “Waiting for Trigger” and spinning wheel shows on the orange button on the bottom.
docker-compose file:
GNU nano 2.9.8 docker-compose.yml
version: ‘3’
services:
n8n:
image: n8nio/n8n
restart: always
ports:
- “127.0.0.1:5678:5678”
environment:
- N8N_BASIC_AUTH_ACTIVE=true
- N8N_BASIC_AUTH_USER=xxxx
- N8N_BASIC_AUTH_PASSWORD=xxx
- N8N_HOST=workflows.mydomain.com
- N8N_PORT=5678
- N8N_PROTOCOL=https
- DB_SQLITE_VACUUM_ON_STARTUP=true
- N8N_TEMPLATES_ENABLED=false
- EXECUTIONS_DATA_PRUNE=true
- EXECUTIONS_DATA_MAX_AGE=720
- NODE_FUNCTION_ALLOW_BUILTIN=*
- WEBHOOK_URL=https://workflows.mydomain.com
- N8N_EDITOR_BASE_URL=https://workflows.mydomain.com
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./n8n-data:/root/.n8n