Skip to content

ResumeURL not pulling in WEBHOOK_URL env var #20042

@dajinchu

Description

@dajinchu

Bug Description

Webhook url environment variable is set, but resumeUrl is using localhost instead of webhook url's hostname.

To Reproduce

  1. Self-host N8N behind proxy and set WEBHOOK_URL environment variable
  2. Verify that webhook urls are correct
  3. 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.
Image

Used a simple flow to extract resumeUrl
Image

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    in linearIssue or PR has been created in Linear for internal review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions