Queue mode - wrong url in notifications etc

Describe the problem/error/question

Since moving to queue mode with 2 workers, the URL they send for the server when its either part of an error workflow notification or like a telegram wait for a response message is wrong.

Instead of being https:///whatever they are sending http: and the port on the end of the url so it does not work.

And when editing the url to be correct it just gives invalid token when trying to respond to the telegram wait for response.

I have tried putting the N8N_EDITOR_BASE_URL as the full https address, makes no difference.

Also N8N_HOST

Before using queue mode, it worked correctly.

What am I missing to get this to behave when running on a worker?

What is the error message (if any)?

Invalid url

Information on your n8n setup

  • n8n version: 2.0.2
  • Database (default: SQLite): postrgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app):docker
  • Operating system:ubuntu

Try setting the below on both the main and the worker env vars:

- WEBHOOK_URL=https://your.domain.com
- N8N_HOST=your.domain.com
- N8N_PORT=5678
- N8N_PROTOCOL=https
- N8N_SECURE_COOKIE=true
1 Like

Thank you for that!

It seemed to be the webhook one that I was missing which fixed it :slight_smile:

1 Like

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