getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
38.53k stars 4.12k forks source link

Webhook not work #36245

Closed ckrgithub closed 2 years ago

ckrgithub commented 2 years ago

Environment

Saas (https://sentry.io/)

Version

No response

Steps to Reproduce

Internal Integration: image image

WebHooks: image

Alert Rules: image image

Expected Result

The issue alerts can be triggered

Actual Result

The issue alert cannot be triggered

getsentry-release commented 2 years ago

Routing to @getsentry/ecosystem for triage. ⏲️

ckrgithub commented 2 years ago

@getsentry-release I don't understand. Now I'm running into webhook not working

ceorourke commented 2 years ago

Hi @ckrgithub - it looks like you're using both the webhooks plugin and internal integrations, but have set the internal integration as your alert rule action, so you don't need the webhooks plugin (your 3rd picture). From your images it seems that the alert did trigger from a new issue, but I'm guessing you didn't receive the webhook in your service?

We have an example application here you can take a look at, and here are the issue alert webhook docs. As long as you're able to receive webhooks from us this will work. You may want to do a simple test of using https://webhook.site/ as the destination to verify your internal integration and alert rule are set up properly, and then if that's working but your URL isn't, the problem would be your service.

ckrgithub commented 2 years ago

@ceorourke I tested it. There is nothing wrong with my service webhook url: https://open.feishu.cn/open-apis/bot/v2/hook/c2691562-26b5-4308-8d8a-bf69bd68eef2 image

ceorourke commented 2 years ago

Hi @ckrgithub how did the webhook.site test go? When the alert fired, did it show up there? You may need to ensure your service is reachable by us too, here are our IP ranges.

ckrgithub commented 2 years ago

@ceorourke The webhook.site is working.My Sevice needs to be developed for third-party platforms. Thanks!