Bug? Teams webhook can't generate proper url

I’m setting up a teams trigger node.
The webhook for the test is correct. The prod url is http. When I try to enable the workflow I get an error seen in the second shot. It seems like I’m stuck in a loop as I’m being told the pro URL will be corrected once the flow goes live, but I can’t get it to go live.
Currently even a test execute complains about the production url
I tied several environment variables, but I couldn’t figure out the right ones.

I’m running n8n on my Home Assistant platform.


Welcome @wlraider70

try this:

N8N_HOST=xyz.example.com
N8N_EDITOR_BASE_URL=https://xyz.example.com/
WEBHOOK_URL=https://xyz.example.com/

N8N Docs:
N8N_HOST - Host name n8n runs on.
N8N_EDITOR_BASE_URL - Public URL where users can access the editor. Also used for emails sent from n8n and the redirect URL for SAML based authentication.
WEBHOOK_URL - Used to manually provide the Webhook URL when running n8n behind a reverse proxy. See here for more details.

if workers are used you have to set the webhook url there again

1 Like

Thank you.

webhook_url & n8n_host solved it. Other solutions had included protocol that forced https but that broke the install on HA.

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