Issue with webhook and Oauth redirect URL since v1

Hi there,

I see now a new issue : n8n keeps giving me URLs with port https://domain:5678 while I am using a proxy don’t want this port. I think I didn’t have this problem before 1.X

Here are my env variables

export GENERIC_TIMEZONE="Europe/Paris"
export N8N_PAYLOAD_SIZE_MAX=500
export N8N_HOST="srv1.mydomain.io"
export N8N_PORT=443
export N8N_PROTOCOL="https"
export DB_SQLITE_VACUUM_ON_STARTUP=true
export EXECUTIONS_DATA_MAX_AGE=720
export EXECUTIONS_DATA_PRUNE=true
export WEBHOOK_TUNNEL_URL="https://srv1.mydomain.io/"

Any idea ?

Information on your n8n setup

  • n8n version: 1.4.1
  • Database (default: SQLite): SQlite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): ?
  • Running n8n via (Docker, npm, n8n cloud, desktop app): npm
  • Operating system: Ubuntu server

Hi @Valerian_Lebert, I am sorry you’re having trouble. You’d probably need to replace the deprecated WEBHOOK_TUNNEL_URL environment variable with WEBHOOK_URL to fix this. Check out the details in our v1 migration guide:

Hope this helps!

2 Likes

Hi @MutedJam

Thank you very much this solved my issue

The correct environment is as following (i changed the port to 5678 to 443 trying to solve the issue but it was wrong) :

export GENERIC_TIMEZONE="Europe/Paris"
export N8N_PAYLOAD_SIZE_MAX=500
export N8N_HOST="srv1.mydomain.io"
export N8N_PORT=5678 # this the port of the n8n service, not the proxy
export N8N_PROTOCOL="https"
export DB_SQLITE_VACUUM_ON_STARTUP=true
export EXECUTIONS_DATA_MAX_AGE=720
export WEBHOOK_URL="https://srv1.mydomain.io/"
3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.