Bug Description
Webhook url environment variable is set, but resumeUrl is using localhost instead of webhook url's hostname.
To Reproduce
- Self-host N8N behind proxy and set WEBHOOK_URL environment variable
- Verify that webhook urls are correct
- Create a Wait block. The generated
$execution.resumeUrl is localhost, instead of the webhook URL
Expected behavior
I would expect the webhook-waiting url to use the webhook url hostname.
Debug Info
Verified that our webhooks have the proper host, indicating the webhook env var is set.

Used a simple flow to extract resumeUrl

Operating System
Docker n8nio/n8n:1.108.2-arm64
n8n Version
1.108.2
Node.js Version
22.17.0
Database
SQLite (default)
Execution mode
main (default)
Hosting
self hosted
Bug Description
Webhook url environment variable is set, but resumeUrl is using localhost instead of webhook url's hostname.
To Reproduce
$execution.resumeUrlis localhost, instead of the webhook URLExpected behavior
I would expect the
webhook-waitingurl to use the webhook url hostname.Debug Info
Verified that our webhooks have the proper host, indicating the webhook env var is set.

Used a simple flow to extract

resumeUrlOperating System
Docker n8nio/n8n:1.108.2-arm64
n8n Version
1.108.2
Node.js Version
22.17.0
Database
SQLite (default)
Execution mode
main (default)
Hosting
self hosted