What is the name of the domain?
What is the error message?
2024-12-24T14:08:33Z ERR error=“Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp 172.18.0.2:5678: connect: connection refused” connIndex=2 event=1 ingressRule=1 originService=http://n8n:5678
What is the issue you’re encountering
Hello everyone, I’m using Cloudflare Zero Trust for an N8N application. My goal is to access the application through Zero Trust with authentication, while using a bypass policy for webhooks. Additionally, I need the webhook domain to be different from the main domain and include random characters in the path, like: mydomain/daksfhkjhoifhsdfjksfklsdfjk for enhanced security. N8N is running on port 5678. I’ve already created two applications in Zero Trust and configured the rules. The application itself is protected by Zero Trust and works fine, but I’m struggling with the webhooks. I followed the instructions from this guide: Access policy to bypass auth requirements for specific subpath, and managed to get the domain mydomain to display the application’s main page. However, when I add a /path to the application URL, the tunnel fails to recognize the application.
What steps have you taken to resolve the issue?
I also tried specifying different URLs and paths, changing domains and subdomains, and adding or removing /path in the N8N configuration. Unfortunately, none of these attempts resolved the issue.
What are the steps to reproduce the issue?
- Create 2 applications pointing to http://n8n:5678
- Create public URL with path like n8n.domain.com/odasjjfksdfsffsdhkjfj
- Put the URL into “webhook url” config in N8N