Project

General

Profile

Actions

Bug #8992

open

Multiple RBE error reports

Added by Matt Gold almost 7 years ago. Updated almost 7 years 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 messagesRejectedRaymond Hoh2018-02-08

Actions
Actions #1

Updated by Matt Gold almost 7 years ago

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

Actions #2

Updated by Matt Gold almost 7 years ago

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

Updated by Raymond Hoh almost 7 years 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?

Actions #4

Updated by Matt Gold almost 7 years ago

Has this happened a lot or just recently?

Just recently, as far as I know

Actions #5

Updated by Raymond Hoh almost 7 years 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.

Actions #6

Updated by Matt Gold almost 7 years ago

thanks, no worries, and will do!

Actions #7

Updated by Raymond Hoh almost 7 years ago

  • Related to Bug #9191: multiple RBE messages added
Actions

Also available in: Atom PDF