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

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..

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

576 views 1 18
Join discussion

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