Prisma1: Retry failed webhook deliveries

Created on 5 Sep 2017  路  2Comments  路  Source: prisma/prisma1

Currently, if a webhook delivery in a server side subscription fails, the system is not attempting a redelivery.

The upside would be that transient errors (network, hitting a dying server, ...) would be handled gracefully. The downside is that delivering a webhook multiple times is something that might have unintentional side effects if the webhook fails but side effects were already triggered anyways before the remote blew up.

Personally, I'd consider the latter to be bad design on the webhook receiver side and would always assume the implementation to be idempotent or robust enough to handle these cases.

Thoughts?

kinfeature

Most helpful comment

I think webhook should have an options to try failured on http codes: retryHttpCodes: [0, 500, 503, 504]. And another options for connection timeout.

All 2 comments

I think webhook should have an options to try failured on http codes: retryHttpCodes: [0, 500, 503, 504]. And another options for connection timeout.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

notrab picture notrab  路  3Comments

thomaswright picture thomaswright  路  3Comments

sorenbs picture sorenbs  路  3Comments

marktani picture marktani  路  3Comments

hoodsy picture hoodsy  路  3Comments