Outgoing mail: Read timed out results in duplicate notifications

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 6.3.9
    • Affects Version/s: 5.0, 5.2.4
    • Component/s: Email notifications
    • Environment:

      Standalone Linux JRE 1.6.0_26-b03 (included with JIRA)
      Email server is Exchange 2010 SP2

    • 5

      Emails end up in error queue. Users receives multiple endless notifications until error queue is purged. Email is sent but JIRA does not believe it was. Outbound mail log shows:

      2012-03-23 14:24:33,050 ERROR [FHP-MAIL-BLD] Sending mailitem To='xxx@company.com' Subject='(HLP-18617) Account disabled' From='null' FromName='XXX (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/html' Encoding='UTF-8' Multipart='null' MessageId='null' ServiceRunner    Mail Queue Service Error occurred in sending e-mail: To='xxx@company.com' Subject='(HLP-18617) Account disabled' From='null' FromName='XXX (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/html' Encoding='UTF-8' Multipart='null' MessageId='null'
      com.atlassian.mail.MailException: javax.mail.MessagingException: Exception reading response;
        nested exception is:
              java.net.SocketTimeoutException: Read timed out
              at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:183)
              at com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:38)
              at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:66)
              at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:28)
              at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
              at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47)
              at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
              at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72)
              at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      Caused by: javax.mail.MessagingException: Exception reading response;
        nested exception is:
              java.net.SocketTimeoutException: Read timed out
              at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2153)
              at com.sun.mail.smtp.SMTPTransport.close(SMTPTransport.java:1186)
              at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:162)
              ... 8 more
      Caused by: java.net.SocketTimeoutException: Read timed out
              at java.net.SocketInputStream.socketRead0(Native Method)
              at java.net.SocketInputStream.read(Unknown Source)
              at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:110)
              at java.io.BufferedInputStream.fill(Unknown Source)
              at java.io.BufferedInputStream.read(Unknown Source)
              at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:89)
              at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2131)
              ... 10 more
      

            Assignee:
            Jose Jaime Sanchez (Inactive)
            Reporter:
            Kevin Kuphal
            Votes:
            20 Vote for this issue
            Watchers:
            55 Start watching this issue

              Created:
              Updated:
              Resolved: