Bug #8992
open
Multiple RBE error reports
Added by Matt Gold almost 7 years ago.
Updated almost 7 years ago.
Description
Hi Ray --
Twice today, I've had a single RBE email rejected, saying it can't be posted. In each case, I've received 2-3 error messages, as if the message had been sent multiple times to the CAC. I'm not sure whether my gmail is trying to send multiple times (which seems unlikely, as I think it reached the system, even if only to result in an error message) or whether RBE is the issue.
Wait! I'm sorry. this was for NYCDH.
- Project changed from CUNY Academic Commons to NYCDH Community Site
- Category name deleted (
Reply By Email)
RBE uses SparkPost on NYCDH.
This problem can occur if the site was down when you were replying via email. When this happens, SparkPost will attempt to repost the item until it is successful.
When SparkPost sends a batch of events, it expects a 200 HTTP response from your endpoint as acknowledgement of receipt. Any other response is interpreted as failure, causing SparkPost to try again later. SparkPost will attempt re-delivery of a failed batch for 8 hours before discarding it.
Perhaps what is happening here is during the repost, the time it takes to post the bbPress reply is too long and SparkPost thinks this is indicative of a failure.
Has this happened a lot or just recently?
Has this happened a lot or just recently?
Just recently, as far as I know
I think what I mention is correct.
I need to refactor parts of the SparkPost integration to ensure our parsing / posting happens asynchronously.
Right now, everything happens synchronously so the posting delay is probably what is causing the problem. According to the logs, the RBE parsing / posting process from SparkPost takes about two seconds.
I'm not sure if two seconds is too long for SparkPost to consider the response a failure, but it might be.
I won't be able to get to this one right away since other parts of RBE require more attention. But, if you keep encountering this issue for new replies-by-email, let me know and I'll bump the priority on this.
thanks, no worries, and will do!
- Related to Bug #9191: multiple RBE messages added
Also available in: Atom
PDF