Form trigger and webhook nodes use localhost in URL despite properly set environment variables

Following this topic where I managed to fix OAuth2 URLs, I am now facing the same problem with the webform URL of a form trigger node.

I used a command node to run env and also logged into hte container and ran env to make sure all environment variables are properly set:

VUE_APP_URL_BASE_API=https://n8n.MyDomain.com/
N8N_EDITOR_BASE_URL=https://n8n.MyDomain.com/
WEBHOOK_URL=https://n8n.MyDomain.com/
WEBHOOK_BASE_URL=https://n8n.MyDomain.com/
WEBHOOK_TUNNEL_URL=https://n8n.MyDomain.com/

And yet - my nodes (form, webhook) insist on using localhost

Is there another variable I should set?

Information on your n8n setup

  • n8n version: 1.83.2
  • Database (default: SQLite): postgersql
  • n8n EXECUTIONS_PROCESS setting (default: own, main): regular
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker
  • Operating system: raspberry pi os lite

Upgrade to latest version (1.84) fixed this for me.

1 Like