Project

General

Profile

Actions

Bug #21678

open

Forum emails resending

Added by Laurie Hurson 13 days ago. Updated 10 days ago.

Status:
New
Priority name:
Normal
Assignee:
-
Category name:
-
Target version:
-
Start date:
2024-12-20
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Hi All,

A forum post/email in the the TLC forum sent during the downtime on Tuesday randomly resent today at 1:08 pm. I don' think anything needs to be fixed, just wanted to note this.

Tuesday 12/17: https://commons.gc.cuny.edu/groups/teaching-and-learning-center/forum/topic/grading-social-happening-now/

Friday 12/20: https://commons.gc.cuny.edu/groups/teaching-and-learning-center/forum/topic/grading-social-happening-now-2/

After it resent today, I manually posted a follow up to alert users that the event was not occurring today.

Actions #1

Updated by Laurie Hurson 13 days ago

  • Description updated (diff)
Actions #2

Updated by Raymond Hoh 13 days ago

When a forum post is created by email, it is sent to our email parser provider, SparkPost. SparkPost then parses the email and sends the data back to the Commons website. When the Commons is down, SparkPost does the following: https://support.sparkpost.com/docs/tech-resources/webhook-data-streams#webhook-batch-retry-logic

  • The webhook service will reattempt to post batches for which it receives a non 2xx response code.
  • A timeout for any particular batch posting attempt will occur after 10 seconds if the endpoint does not successfully accept a given batch.
  • The retry logic for the posting of batches gradually increases in a logarithmic fashion and will cease retrying altogether after 8 hours. This means you can potentially lose event data if your webhook consumer is completely down for 8 hours or longer. 12 total attempts will be made to POST the webhook batch to the webhook endpoint (the initial attempt + 11 retries).

It's possible that SparkPost attempted to send Luke's forum topic back for processing because the first time might have taken more than 10 seconds to post. This likely explains the second topic being posted, but the three-day delay is a little odd. I'm going to try and look into SparkPost's event logs to see if this can be explained.

Actions #3

Updated by Raymond Hoh 10 days ago

It looks like SparkPost's Relay Webhooks API, which we use so SparkPost processes the emails and sends the parsed response back to the Commons, lacks some endpoints to search and query for event status compared to their regular Webhooks API. Meaning I cannot query for this information with their documented API. I've reached out to SparkPost support to see if they can provide any additional insight regarding their Relay Webhooks API. Will see what they say.

Actions

Also available in: Atom PDF