Project

General

Profile

Bug #8992

Multiple RBE error reports

Added by Matt Gold over 1 year ago. Updated over 1 year ago.

Status:
Assigned
Priority name:
Normal
Assignee:
Start date:
2017-12-11
Due date:
% Done:

0%

Estimated time:

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.


Related issues

Related to CUNY Academic Commons - Bug #9191: multiple RBE messagesRejected2018-02-08

History

#1 Updated by Matt Gold over 1 year ago

Wait! I'm sorry. this was for NYCDH.

#2 Updated by Matt Gold over 1 year ago

  • Project changed from CUNY Academic Commons to NYCDH Community Site
  • Category name deleted (Reply By Email)

#3 Updated by Raymond Hoh over 1 year ago

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?

#4 Updated by Matt Gold over 1 year ago

Has this happened a lot or just recently?

Just recently, as far as I know

#5 Updated by Raymond Hoh over 1 year ago

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.

#6 Updated by Matt Gold over 1 year ago

thanks, no worries, and will do!

#7 Updated by Raymond Hoh over 1 year ago

  • Related to Bug #9191: multiple RBE messages added

Also available in: Atom PDF