I am trying to test Redash Webhooks and I have set up an alert from a query that just counts some fields and if is greater than 0, alerts (this condition is always true).
The alert has the notifications send to my personal email, and a mock Webhook. At first I just wanted to see if it works and visualize the payload, so I am using the https://webhook.site to do so.
When I run the query, I receive an email however I do not receive anything in the webhook.site. I do not have access to the logs nor the Redash installation to verify if there is something wrong.
I would like to know if there is anything that could be possibly preventing this alert to send to the Webhook?
Thanks for posting here and sorry for the late response. Without the server logs it’s not possible to isolate the exact cause in your situation. I added an item to my list to see if I can reproduce this from what you describe. If I detect a bug I’ll open it against our repository.
Thanks a lot for the reply. Since you have answered I can try to contact the responsible team for the Redash deployment if they could check again for some logs when the alert occurs. Meanwhile, is there any other information I could provide you that might help? The app version, for example…?
Your version of Redash is very old. Before my time, in fact. So I can’t give much guidance.
The SSL error is not a problem with connecting to Redis. It’s actually a bad SSL handshake with the webhook service you’re connected to. i.e. it’s not a problem with Redash but with the other server.
As I said in the post I was trying to send a webhook to the https://webhook.site , but that was mainly because I have no idea what the payload of a Redash webhook is, and I could not find it in the internet. Send to this site would be an easier way to figure it out.
Our final goal is to send the webhook to New Relic, our main monitoring tool. But to configure a webhook there, we need to know the payload.
Do you have some way to provide us what the Redash webhook payload looks like?
You could modify the source to log the contents of the payload and then find it in your server logs. This would not require a successful network request.
The problem is that apparently our version of Redash does not support the new format of Let’s Encrypt. But either way, I managed to receive the payload using requestbin.com, that accepts requests http.
For newer versions of Redash, the payload or headers of webhooks can be configured?
The alert destinations system is completely pluggable in Redash. If you want to change the headers for your specific target you can fork the webhook destination code, adjust it to your satisfaction, and mount like any other query runner or alert destination
1 Like
Login or sign up disabled while the site is in read only mode