Updated to 2.8.3 and now no "https://" in webhook URL

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:

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:
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

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?

remove these:

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:

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