Hi all, I have a datasource that can only support sending data to an HTTP webhook and not HTTPS. I am currently using HTTPS on my N8N Self-Hosted deployment. My existing datasources are all sending to these HTTPS webhooks. Is there a way to specfic the test and prod links in a webhook to use HTTP instead of HTTPS? What are my options to support both?
This is self-hosted N8N running in docker.
n8n
April 10, 2024, 2:37pm
2
It looks like your topic is missing some important information. Could you provide the following if applicable.
n8n version:
Database (default: SQLite):
n8n EXECUTIONS_PROCESS setting (default: own, main):
Running n8n via (Docker, npm, n8n cloud, desktop app):
Operating system:
liam
April 10, 2024, 3:09pm
3
Set these ENV variables and see if that solves your issue
WEBHOOK_URL=http://yourN8nLink.com
Not sure if you’ll need to set this one, but if it doesn’t work with just the first one then try this one too
N8N_SECURE_COOKIE=false
Will this change anything with my existing webooks that are using https?
liam
April 10, 2024, 3:38pm
5
for manual webhooks it shouldn’t but for the built in ones will likely stop working.
Have you tried just writing http instead of https in the webhook? It should redirect depending on your reverse proxy config
Yes I get TLS errors from datasource. Its not able to do SSL/TLS verification so that is why I am trying to send it over http instead.
So this did allow me to use http at the start of my webhook but setting the webhook_url is still redirecting it to https.
barn4k
April 10, 2024, 7:42pm
8
You will need to use reverse proxy/load balancer to redirect HTTP traffic to HTTPS
1 Like
system
Closed
July 9, 2024, 7:43pm
9
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.