Error in atlassian-jira-outgoing-mail.log

Hi,

We are getting sometimes error in the above log file and the mail goes to the error queue.

Regards

Deepak Bhatia

==========================================================================

2013-02-08 09:40:13,709 ERROR [jiraissue@nechclst.in] Sending mailitem To='Amit.Chaudhary@aricent.com' Subject='(GEPONVM-196) Bug#1171: Both cards get rebooted when re-fo is carried out' From='gepon@nechclst.in' FromName='Abhinav (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='Amit.Chaudhary@aricent.com' Subject='(GEPONVM-196) Bug#1171: Both cards get rebooted when re-fo is carried out' From='gepon@nechclst.in' FromName='Abhinav (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<4224146.12345.1357796266649.JavaMail.root@localhost.localdomain>' 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:193)
        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:2210)
        at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2093)
        at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1900)
        at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1122)
        at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:166)
        ... 8 more
Caused by: java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:129)
        at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:110)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
        at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:89)
        at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2188)

1 answer

1 accepted

3 votes
Accepted answer

We had a similar problem some time ago. Due to this problem some people did not receive notifications. I increased the SMTP timeout on Outgoing Mail configuration page.

Thanks Kerem, The problem we are facing is that same mail is recieved multiple times by the user. I can see that mail goes to the error queue which is giving problem. Thanks Deepak

It seems my previous sentence written in a hurry and I wrote what I did not mean :-) What I meant, because of the timeout problem, mails dropped into error queue that's why recipients received multiple mails. I hope increasing the timeout helped..

Like 1 person likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,299 views 12 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you