question

Alexey avatar image
Alexey asked Alexey commented

What's going on if first webhook delivery has failed? What's the guaranteed time of webhook delivery?

What's going on if first webhook delivery has failed? What's the guaranteed time of webhook delivery?

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

tursus-software avatar image
tursus-software answered Alexey commented

At this time there isn't any retry logic on the Clover webhook sending side.

Webhooks are critical to our apps and we created a standalone service that's redundant over multiple servers and cloud services and can automatically capture and retry any failed webhooks.

We are rolling this out as a standalone product called Zen Webhooks:

http://www.zenwebhooks.com/

We hope it might be useful to others that faced the same challenges we did.

2 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Alexey avatar image Alexey commented ·

Thanks! And what's the period of retrying?

0 Likes 0 ·
tursus-software avatar image tursus-software commented ·

First time it fails it tries again in 10 seconds. It will continue to try (but slowly backing off ie 1 min, 5 mins etc) for several days at max 4 hour increments. Currently you cannot set a max retry - it's leaning on the side of "we must always get every webhook" vs "if a webhook has aged a certain time we don't want it".

So in the case of a situation when you need to have a planned outage there's nothing you need to ever do. But then if you have some issue you can pause the webhooks, track down the problem, then unpause.

0 Likes 0 ·

Welcome to the
Clover Developer Community