I just updated to 2.8.3 on self-hosted with Coolify, and now my Webhooks aren’t showing the “https://” as part of the link. Webhooks are still working, but clicking to copy copies them without protocol. Here are my environment variables - nothing changed…
SERVICE_FQDN_N8N=n8n.redacted
SERVICE_FQDN_N8N_5678=n8n.redacted:5678
SERVICE_URL_N8N=https://n8n.redacted
SERVICE_URL_N8N_5678=https://n8n.redacted:5678
N8N_PROTOCOL=https
N8N_HOST=${SERVICE_FQDN_N8N}
WEBHOOK_URL=${SERVICE_URL_N8N}
Describe the problem/error/question
Clicking on a webhook shows test and production URLs without the protocol.
Information on your n8n setup
n8n version: 2.8.3
Database: Postgres
n8n EXECUTIONS_PROCESS setting: regular
Running n8n via: Coolify
Operating system: Ubuntu 24.04
Hi @Patrick_Friedl , welcome !
This is a known issue with the Coolify setup,
Please take here to fix it:
Hello everybody!
First of all thank you for taking the time helping me!
Describe the problem/error/question
I recently switched from a local self hosted to a VPS self hosted with contabo and coolify.
I’m trying to conect my credentials to Google Sheets, but the OAuth Redirect URL is showing the internal coolify http URL, instead of the https.
[Credentials]
I followed Perplexity’s instructions and changed in coolify the Environment Variables.
[EnvironmentVariables]
I redeployed it, but t…
I’m not exactly sure, but looking at your environment variables in the Github issue:
[image]
…and since I also use Coolify,they don’t look the same as mine..
Please update these values in your environment variables:
SERVICE_FQDN_N8N=n8n-xxxxxx.it
SERVICE_FQDN_N8N_5678=n8n-xxxxxx.it:5678
N8N_EDITOR_BASE_URL=${SERVICE_URL_N8N}
WEBHOOK_URL=${SERVICE_URL_N8N}
and in the compose:
- SERVICE_URL_N8N_5678
- 'N8N_EDITOR_BASE_URL=${SERVICE_URL_N8N}'
- 'WEBHOOK_URL=${SERVICE_URL_N…
Let me know if it works.
2 Likes
Crazy - updating the Compose with
- SERVICE_URL_N8N_5678
- 'N8N_EDITOR_BASE_URL=${SERVICE_URL_N8N}'
- 'WEBHOOK_URL=${SERVICE_URL_N8N}'
- 'N8N_HOST=${SERVICE_URL_N8N}'
Did the trick. thanks!
1 Like
OK, having issues still. The test URL is showing https://, but the production URL is not.
I also updated the system to n8n with workers from just n8n with Postgres. I did copy over the encryption key and the postgres settings, and all my workflows are showing up. However, none of my workflows will execute now. I’m getting these errors:
Workflow execution had an error
Error: Cannot read properties of undefined (reading ‘execute’)
Problem executing workflow
There was a problem executing the workflow.
Error: Cannot read properties of undefined (reading ‘execute’)
Help!
this is all u need in the compose:
and in coolify env vars:
SERVICE_URL_N8N=https://n8n.example.com
SERVICE_FQDN_N8N=n8n.example.com
SERVICE_URL_N8N_5678=https://n8n.example.com:5678
SERVICE_FQDN_N8N_5678=n8n.example.com:5678
Not exactly sure what is going on, but the production URL won’t show “https://”
Here are my settings:
Compose:
environment:
- SERVICE_URL_N8N_5678
- 'N8N_EDITOR_BASE_URL=${SERVICE_URL_N8N}'
- 'WEBHOOK_URL=${SERVICE_FQDN_N8N}'
- 'N8N_HOST=${SERVICE_FQDN_N8N}'
- 'N8N_PROTOCOL=${N8N_PROTOCOL:-https}'
Environment Variables:
SERVICE_FQDN_N8N=n8n.redacted
SERVICE_FQDN_N8N_5678=n8n.redacted:5678
SERVICE_URL_N8N=https://n8n.redacted
SERVICE_URL_N8N_5678=https://n8n.redacted:5678
N8N_PROTOCOL=https
N8N_HOST=${SERVICE_URL_N8N}
N8N_EDITOR_BASE_URL=${SERVICE_URL_N8N}
WEBHOOK_URL=${SERVICE_URL_N8N}
any ideas?
OK, did that and now both test and production don’t show “https://”. So frustrating!
Compose:
- SERVICE_URL_N8N_5678
- 'WEBHOOK_URL=${SERVICE_FQDN_N8N}'
Env variables:
SERVICE_FQDN_N8N=https://n8n.redacted
SERVICE_FQDN_N8N_5678=https://n8n.redacted:5678
SERVICE_URL_N8N=https://n8n.redacted
SERVICE_URL_N8N_5678=https://n8n.redacted:5678
WEBHOOK_URL=${SERVICE_URL_N8N}
Why are you adding https to all the variables? Please just follow exactly what I explained here:
this is all u need in the compose:
[image]
and in coolify env vars:
SERVICE_URL_N8N=https://n8n.example.com
SERVICE_FQDN_N8N=n8n.example.com
SERVICE_URL_N8N_5678=https://n8n.example.com:5678
SERVICE_FQDN_N8N_5678=n8n.example.com:5678
I’m also using Coolify, and this setup is what works for me,
Please apply that first, and restart, and if it still doesn’t work, we can investigate further..
Found the solution here: Https suddenly missing from webhook and callback URLs - #4 by krisn0x
I stripped SERVICE_URL_N8N_5678 AND WEBHOOK_URL from compose and used these env vars:
N8N_HOST=n8n.redacted
N8N_PORT=5678
N8N_PROTOCOL=https
N8N_EDITOR_BASE_URL=https://n8n.redacted
WEBHOOK_URL=https://n8n.redacted
2 Likes