Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have isolated the webhooks - production is working / test isnt / Chart: 0.23.1 #86

Open
egandro opened this issue Apr 20, 2024 · 2 comments

Comments

@egandro
Copy link
Contributor

egandro commented Apr 20, 2024

I am using separated workers

scaling:
  enabled: true
  worker:
    count: 2
    concurrency: 2
   webhook:
     enabled: true
     count: 1

Not working*

curl https://n8n.mycluster/webhook-test/test1
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /webhook-test/test1</pre>
</body>
</html>

Working*

curl https://n8n.mycluster/webhook/test1
{"message":"Workflow executed successfully"}

** Also working **

  • when I disable the webhook support
@egandro
Copy link
Contributor Author

egandro commented Apr 20, 2024

I am not sure if this is somehow related to my fix here: #59

@maozza
Copy link

maozza commented May 17, 2024

unlike /webhook/ the /webhook-test/ route should be pointed to the main n8n pods and not to the webhook pods. editing the ingress and removing the following fix the issue

      - backend:
          service:
            name: n8n-webhooks
            port:
              number: 80
        path: /webhook-test/
        pathType: Prefix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants