plane icon indicating copy to clipboard operation
plane copied to clipboard

[bug]: Can*t create webhook for local

Open MBeggiato opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current behavior

When I try to add a new webhook, I get the following error:

grafik

The webhook I try to use comes form n8n. When using curl from the host of my plane instance, it is working:

root@plane:~/plane-selfhost# curl https://[url]/webhook-test/300e18c7-3fb5-4ed0-9abb-f746634e79e5 {"message":"Workflow was started"} root@plane:~/plane-selfhost#

In the API logs I can see the following when trying to add the webhook from inside plane: api-1 | WARNING 2024-04-29 14:42:03,955 log 25 140250880707384 Bad Request: /api/workspaces/todo/webhooks/ api-1 | 172.20.0.11:60544 - "POST /api/workspaces/todo/webhooks/ HTTP/1.0" 400

Can someone tell me where I can find more details?

Steps to reproduce

  1. Go to the workspace settings
  2. Select Webhooks
  3. Click "Add webhook"
  4. Paste webhook url I get from n8n.

Environment

Production

Browser

None

Variant

Self-hosted

Version

v0.18.0

MBeggiato avatar Apr 29 '24 15:04 MBeggiato