Comments (3)
Draft for public documentation of the retry policy:
Retry policy
If the invocation of the webhook subscription's callbackUri
(subsequently referred to as "delivery") returns with a HTTP status code greater or equal 400, it is regarded as failure. The delivery is retried after a few milliseconds. If this fails again, it is retried once again after about two seconds.
Internally, a failure count for the subscription gets incremented. If and only if the failure count is less than three, the delivery will be retried for an event. New events will keep on to be delivered, though.
After a successful delivery, the failure count gets reset.
Known limitations
It is not possible to replay past events. So, once the retry is given up, the events are gone.
Assuming a subscription which always fails, currently, we always keep on delivering the webhook, just without retry. In future, we might automatically deactivate subscriptions with a too high failure rate.
Known issues
If multiple clients have subscriptions on a particular event in one shop, if one delivery fails, it will immediately start with the retry, before processing the other pending deliveries. Once a retry is executed, it will loop over all the subscriptions and attempt to deliver the webhook. This can lead to skipped deliveries in the case of more than two always failing subscriptions. And to duplicate deliveries in case of preceding successful deliveries.
from epages-docs.
We have reworked our retry policy and have included it in the API documentation:
https://developer.epages.com/beyond-docs/#list_webhook_subscription_failures
TL;DR
We don't do automatic retries. But we provide an endpoint to show previously failed webhook deliveries. And we provide a possibility to retry failed webhook deliveries.
from epages-docs.
It is now documented under https://developer.epages.com/beyond-docs/#webhook_subscriptions_introduction
from epages-docs.
Related Issues (20)
- Add features for FAQ HOT 1
- Include social media icons in DevBlog
- Add a banner "improve this documentation" that leads to here
- Show icons in excerpt on DevBlog index page
- Include glossary feature HOT 3
- How to "Deploy live" manually HOT 5
- Remove API console HOT 1
- List available resources in sidebar HOT 1
- Implement SEO texts
- CONTRIBUTING.md states I should PR against master HOT 4
- Cannot run from Docker locally HOT 2
- several raml routes
- Adapt header for 1&1 provisioning docu HOT 2
- Sorting of text blocks in resources
- Removed
- Establish blog features HOT 3
- Add Google Analytics feature HOT 7
- Distinguish between develop-branch and master-branch
- SOAP documentation in epages-docs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from epages-docs.