Mail Handler creating duplicated comments

XMLWordPrintable

    • Severity 2 - Major

      Summary

      Mail handlers are creating duplicated comments. It seems like what happens is:

      • JIRA processes email for more than 60s.
      • while JIRA is still processing email, the connection drops (http 499 on nginx).
      • JIRA finishes adding comment but cannot respond.
      • The mail handler retries reading the mail box and the process repeats.

      Environment

      Steps to Reproduce

      1. Send an email with attachments to a mail handler with the default timeout (1 min)

      Expected Results

      The mail handler should process this email and add a comment to the issue

      Actual Results

      The connection to the mail server closes before the handler is done processing the email. Therefore that email is not removed from the mail server and at the next run the handler will process the same email again, creating duplicated comments.

      Notes

      Similar to this other bug, https://jira.atlassian.com/browse/JRACLOUD-67475

      Workaround

      Increase the delay configuration in the mail handler

            Assignee:
            Unassigned
            Reporter:
            Gabriel Muller (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: