Giter VIP home page Giter VIP logo

Comments (3)

jmewes avatar jmewes commented on August 14, 2024 1

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.

jmewes avatar jmewes commented on August 14, 2024 1

We have reworked our retry policy and have included it in the API documentation:

https://developer.epages.com/beyond-docs/#list_webhook_subscription_failures

Selection_221

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.

ozscheyge avatar ozscheyge commented on August 14, 2024

It is now documented under https://developer.epages.com/beyond-docs/#webhook_subscriptions_introduction

from epages-docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.