n8n-helm-chart icon indicating copy to clipboard operation
n8n-helm-chart copied to clipboard

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

Open egandro opened this issue 10 months ago • 2 comments

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 avatar Apr 20 '24 15:04 egandro

I am not sure if this is somehow related to my fix here: https://github.com/8gears/n8n-helm-chart/pull/59

egandro avatar Apr 20 '24 15:04 egandro

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

maozza avatar May 17 '24 04:05 maozza