No alerts for Webhooks disablement in Azure Devops - azure-devops

We have webhooks firing in Azure Devops which push data to a logic app which in turn performs some actions. Sometimes due to too many requests at once or a multitude of other reasons, the logic apps fail. After a certain number of successive failures, the webhooks are disabled automatically. See link
There is no notification of webhooks disablement sent out.
Is there a way to notify when the webhooks are disabled?

Posting just if someone else is searching for fixing this.
We have created a logic app which runs daily and checks the status of the service hooks using the Service hooks API. If disabled due to any reason, it just enables it back and sends an email to support intimating them of this.
Works like a charm!

Related

When using Azure Pipelines, SendGrid notifications can fail due to IP whitelisting. What alternative notification apps can be used?

When using Azure Pipelines, SendGrid notifications can fail due to IP whitelisting. What alternative notification apps can be used?
In my case, I must leave IP Whitelisting turned on in my SendGrid account due to its use in other applications and security requirements within the organization.
I do not have security requirements for the pipeline notifications itself, so another tool is fine. What is the best option: Can you think of a workaround for SendGrid via networking? Is a free gmail account useful for this type of thing, or is there another, better solution?
All I need is emails saying "Pipeline [abc] was activated and [passed/failed]", and I already have the pipeline code to check if it passed/failed and to fire a job, I just need to pick a job type and pick the right one!
Thanks for your time!

Custom messages for Github Slack integration for issue tracking

Is it possible to customize the messages that github will send to the slack webhook? I was able to set it up to where I get notifications whenever an issue is created/deleted/edited, however I would like to only get notifications for specific issues with a certain label and also be able to change the format of the notification.
With this level of customization, you will likely need to write a bit of custom code that:
Receives and authenticates the Github webhook. This means you need to host the code someplace as a web service, for example in Heroku.
Filters down to only the events that matter to you with the custom criteria you listed above.
Formats a custom Slack message in markdown based on the payload of the Github event.
Posts that message to Slack - probably the simplest solution is to use the Slack incoming webhooks.
(Disclosure: I am the co-founder of Fusebit). Fusebit automates such integration scenarios and allows you to focus on the parts that matter to you, which in this case is the custom filtering and custom message formatting code.

Facebook bot not receiving messaging_game_plays webhook events even though webhook is subscribed to those events

I'm testing a facebook instant games app and want my bot to collect messaging_game_plays events to log user data at the end of a play session.
I've set up an app page, app, and uploaded a build that I have moved to the testing stage. I also have a bot with a public webhook that I have successfully verified. The webhook is currently subscribed to messaging_game_plays as well as messages. I have simple echo functionality built into the bot and can spin up the messenger app on my phone, message the page, and receive an echo perfectly.
The problem arises when I go to the games section of my messenger app, play the game, and then exit the game. I expect my bot to receive a messaging_game_plays event per https://developers.facebook.com/docs/messenger-platform/reference/webhook-events/messaging_game_plays/, but I don't receive any indication in the logs of the bot server that anything has called the webhook (even after waiting a significant amount of time).
So my question is/questions are: am I missing something that is required for the messaging_game_plays to be sent to my bot? Is there anything that I need to add to my app-build specifically for this event to trigger? Is launching the game on my phone and exiting the game sufficient for testing this event?
I've searched forums and documentation with no luck but maybe I've missed something along the way. I have checked this question: Facebook Messenger webhook setup, but not triggered, and that helped me successfully trigger messages events which I am getting, I just can't seem to collect messaging_game_plays events.
I am rather new to this process so I may be missing something small, any help would be greatly appreciated!
For reference:
app webhook subscriptions
What does your fbapp-config.json file say? If your bot opt-in parameter is 'opt_in_dev' or 'opt_in_public' you will need to call the subscribeBotAsync method to subscribe your user to the bot before any webhooks will be sent.
Messenger bots will need to be opt-in only from January 19th (see here: https://www.facebook.com/fbgaminghome/blog/important-game-bots-update).
We're making this change to ensure a better player experience.
If you want to transfer player data without requiring the bot to be opted-in, you can use standard JavaScript fetch/XMLHttpRequest with getSignedPlayerInfoAsync to avoid tampering.

Status push notifications via webhooks on sandbox

I am able to post trip requests, get estimates and ask for trip statuses, both in sandbox and live.
However, I am starting implementing status push notifications via webhooks and have hit a problem: I don't receive the notification (on sandbox). I have tried a couple of different URLs and servers to no avail. When pushing the notification ourselves from postman it works.
Do status push notifications via webhooks work on sandbox? If not, is there a way to test them?
According to the Webhooks documentation you should receive notifications every time you update the status of a ride request in sandbox mode.
Sandbox
When making Requests in the sandbox environment, we will also emit
webhook events for simulated trips. The requests.status_changed event
will be emitted every time the status of a simulated Request changes.
The requests.receipt_ready event will be emitted once a Request’s
status changes to completed.
Is you Webhook URL HTTPS enabled?
If this doesn't work you should consult the support team by visiting https://help.uber.com or by emailing support#uber.com.
If you want an easier way to debug, try setting up Ngrok
and then change the webhook URL in your developer dashboard to the link you get from Ngrok. That should allow you to debug the Webhooks issue on your local machine and verify that there is nothing wrong with your deployment setup (lack of HTTPS could definitely be the culprit as Mnemonic Flow said)

Is there a GitHub issue webhook?

So I am unclear on GH docs as to whether their webhook supports issue notification. It sounds like it support webhooks. However when I set up test endpoints nothing comes, even when I test payload.
I am using ultrahook.com as well as requestb.in to catch requests but nothing comes.
Are github webhooks even working? Has anyone got it to work?
The new WebHooks GUI (February 2014) makes it very clear about its Issue event support:
And even if you don't have code yet, you can at least test that your webhook is in place with a new ping event.