Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-44549

Duplicate Notifications when Read Time Out occurs

    XMLWordPrintable

Details

    Description

      While the mail queue is being processed, the mail server takes too long to confirm whether the message was received or not and JIRA times out waiting to send the QUIT command:

      w0L4XNhI1Et/ZR76PIuXRLQB0tKTAQOPdJHPayYrYT5jGhF/uS3gFI4Tzk20724NfS6pzk7PwsP3
      ddVX50D2Mfe5IbrOPFesDrzfCTs0YavMwC5b8asdTFZssAgrck9hWZQ46VcKuLEuTAupSX8cFz4P
      Fgn+3VryGnm6ib4uHh/DiMm9gYF5cUEVSp06nW+asdr7P2pICseXwfgnBpei1Oix8sBY9a8AAwDk
      nvfbckn7YgAAAABJRU5ErkJggg==
      ------=_Part_48999_821863420.1437662438155--
      .
      2015-07-25 10:41:14,933 DEBUG [jira] Sending mailitem To='user@provider.com' Subject='(ISSUE-KEY) Issue Summary' From='user2@provider.com' FromName='User' Cc='null' Bcc='null' ReplyTo='a@b.com' InReplyTo='<JIRA.58400.3417595357000@Atlassian.JIRA>' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@1fcb561f' MessageId='null' ServiceRunner    Mail Queue Service DEBUG SMTP: exception reading response: java.net.SocketTimeoutException: Read timed out
      2015-07-25 10:41:14,933 DEBUG [jira] Sending mailitem To='user@provider.com' Subject='(ISSUE-KEY) Issue Summary' From='user2@provider.com' FromName='User' Cc='null' Bcc='null' ReplyTo='a@b.com' InReplyTo='<JIRA.58400.3417595357000@Atlassian.JIRA>' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@1fcb561f' MessageId='null' ServiceRunner    Mail Queue Service DEBUG SMTP: MessagingException while sending
      2015-07-25 10:41:14,933 DEBUG [jira] Sending mailitem To='user@provider.com' Subject='(ISSUE-KEY) Issue Summary' From='user2@provider.com' FromName='User' Cc='null' Bcc='null' ReplyTo='a@b.com' InReplyTo='<JIRA.58400.3417595357000@Atlassian.JIRA>' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@1fcb561f' MessageId='null' ServiceRunner    Mail Queue Service javax.mail.MessagingException: Exception reading response;
        nested exception is:
      	java.net.SocketTimeoutException: Read timed out
      

      After this error, JIRA will queue the notification to be sent again, generating duplicate notifications at times.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pcora Pedro Cora
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: