java.net.SocketTimeoutException: Read timed out

Atlassian JIRA | mgorokhova | 1 year ago
  1. 0

    Hello! Since recently some notifications-letters from JIRA dublicates. 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. In logs I see error: "2015-10-26 11:27:14,814 Sending mailitem To='filippov@stream.ru' Subject='(RUMRAA-5) ????????? ?????????? (???????) ????????? ??????? ??? ???????? ? ?????? ????????' From='null' FromName='???????? ?????? (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@87fe4b2' MessageId='null' ERROR anonymous Mail Queue Service [atlassian.mail.queue.MailQueueImpl] Error occurred in sending e-mail: To='filippov@stream.ru' Subject='(RUMRAA-5) ????????? ?????????? (???????) ????????? ??????? ??? ???????? ? ?????? ????????' From='null' FromName='???????? ?????? (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.20496.1443700203000@Atlassian.JIRA>' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@87fe4b2' 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.sendWithMessageId(SMTPMailServerImpl.java:213) at com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:44) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:66) at com.atlassian.jira.mail.JiraMailQueue$1.apply(JiraMailQueue.java:57) at com.atlassian.jira.mail.JiraMailQueue$1.apply(JiraMailQueue.java:53) at com.atlassian.jira.util.velocity.DefaultVelocityRequestContextFactory.runWithStaticBaseUrl(DefaultVelocityRequestContextFactory.java:127) at com.atlassian.jira.util.DefaultBaseUrl.runWithStaticBaseUrl(DefaultBaseUrl.java:58) at com.atlassian.jira.mail.JiraMailQueue.sendBuffer(JiraMailQueue.java:52) at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:30) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:66) at com.atlassian.jira.service.ServiceRunner.runService(ServiceRunner.java:77) at com.atlassian.jira.service.ServiceRunner.runServiceId(ServiceRunner.java:54) at com.atlassian.jira.service.ServiceRunner.runJob(ServiceRunner.java:37) at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:136) at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:101) at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:80) at com.atlassian.scheduler.quartz1.Quartz1Job.execute(Quartz1Job.java:32) at org.quartz.core.JobRunShell.run(JobRunShell.java:223) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) 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.sendWithMessageId(SMTPMailServerImpl.java:175) ... 18 more Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) at java.net.SocketInputStream.read(SocketInputStream.java:170) at java.net.SocketInputStream.read(SocketInputStream.java:141) at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:110) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read(BufferedInputStream.java:265) at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:89) at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2188) ... 22 more" Could you help me? Thank you!

    Atlassian JIRA | 1 year ago | mgorokhova
    java.net.SocketTimeoutException: Read timed out
  2. 0

    Hello! Since recently some notifications-letters from JIRA dublicates. 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. In logs I see error: "2015-10-26 11:27:14,814 Sending mailitem To='filippov@stream.ru' Subject='(RUMRAA-5) ????????? ?????????? (???????) ????????? ??????? ??? ???????? ? ?????? ????????' From='null' FromName='???????? ?????? (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@87fe4b2' MessageId='null' ERROR anonymous Mail Queue Service [atlassian.mail.queue.MailQueueImpl] Error occurred in sending e-mail: To='filippov@stream.ru' Subject='(RUMRAA-5) ????????? ?????????? (???????) ????????? ??????? ??? ???????? ? ?????? ????????' From='null' FromName='???????? ?????? (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.20496.1443700203000@Atlassian.JIRA>' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@87fe4b2' 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.sendWithMessageId(SMTPMailServerImpl.java:213) at com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:44) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:66) at com.atlassian.jira.mail.JiraMailQueue$1.apply(JiraMailQueue.java:57) at com.atlassian.jira.mail.JiraMailQueue$1.apply(JiraMailQueue.java:53) at com.atlassian.jira.util.velocity.DefaultVelocityRequestContextFactory.runWithStaticBaseUrl(DefaultVelocityRequestContextFactory.java:127) at com.atlassian.jira.util.DefaultBaseUrl.runWithStaticBaseUrl(DefaultBaseUrl.java:58) at com.atlassian.jira.mail.JiraMailQueue.sendBuffer(JiraMailQueue.java:52) at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:30) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:66) at com.atlassian.jira.service.ServiceRunner.runService(ServiceRunner.java:77) at com.atlassian.jira.service.ServiceRunner.runServiceId(ServiceRunner.java:54) at com.atlassian.jira.service.ServiceRunner.runJob(ServiceRunner.java:37) at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:136) at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:101) at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:80) at com.atlassian.scheduler.quartz1.Quartz1Job.execute(Quartz1Job.java:32) at org.quartz.core.JobRunShell.run(JobRunShell.java:223) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) 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.sendWithMessageId(SMTPMailServerImpl.java:175) ... 18 more Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) at java.net.SocketInputStream.read(SocketInputStream.java:170) at java.net.SocketInputStream.read(SocketInputStream.java:141) at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:110) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read(BufferedInputStream.java:265) at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:89) at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2188) ... 22 more" Could you help me? Thank you!

    Atlassian JIRA | 1 year ago | mgorokhova
    java.net.SocketTimeoutException: Read timed out
  3. 0

    Emails end up in error queue and users receives multiple notification mails until error queue is purged. Confluence does not acknowledge despite the emails being sent out to the target email address. The following errors will be thrown in the _atlassian-confluence.log_ file. {code} 2015-07-24 06:02:10,407 ERROR [scheduler_Worker-10] [confluence.mail.template.ConfluenceMailQueueItem] send Unable to send email with subject 'Title' to <email> reason: javax.mail.MessagingException: Exception reading response; nested exception is: java.net.SocketTimeoutException: Read timed out com.atlassian.mail.MailException: javax.mail.MessagingException: Exception reading response; nested exception is: java.net.SocketTimeoutException: Read timed out at com.atlassian.confluence.jmx.JmxSMTPMailServer.doSendWithMessageIdSupport(JmxSMTPMailServer.java:143) at com.atlassian.confluence.jmx.JmxSMTPMailServer.send(JmxSMTPMailServer.java:88) at com.atlassian.confluence.mail.template.ConfluenceMailQueueItem.send(ConfluenceMailQueueItem.java:140) at com.atlassian.confluence.mail.template.ConfluenceMailQueueItem.execute(ConfluenceMailQueueItem.java:210) at com.atlassian.core.task.AbstractErrorQueuedTaskQueue$TaskDecorator.execute(AbstractErrorQueuedTaskQueue.java:100) at com.atlassian.core.task.AbstractTaskQueue.flush(AbstractTaskQueue.java:38) at com.atlassian.core.task.AbstractErrorQueuedTaskQueue.flush(AbstractErrorQueuedTaskQueue.java:30) at com.atlassian.quartz.jobs.TaskQueueFlushJob.doExecute(TaskQueueFlushJob.java:34) at com.atlassian.quartz.jobs.AbstractJob$1.doInHibernate(AbstractJob.java:133) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:370) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:337) at com.atlassian.quartz.jobs.AbstractJob.executeInternal(AbstractJob.java:125) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at com.atlassian.scheduler.quartz1.Quartz1JobFactory$ClassLoaderProtectingWrappedJob.execute(Quartz1JobFactory.java:62) at org.quartz.core.JobRunShell.run(JobRunShell.java:223) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool$1.run(ConfluenceQuartzThreadPool.java:22) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) 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.confluence.jmx.JmxSMTPMailServer.doSendWithMessageIdSupport(JmxSMTPMailServer.java:116) ... 16 more Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) at java.net.SocketInputStream.read(SocketInputStream.java:170) at java.net.SocketInputStream.read(SocketInputStream.java:141) at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:110) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read(BufferedInputStream.java:265) at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:89) at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2188) ... 20 more {code}

    Atlassian JIRA | 1 year ago | Sean Yong [Atlassian]
    java.net.SocketTimeoutException: Read timed out
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Emails end up in error queue and users receives multiple notification mails until error queue is purged. Confluence does not acknowledge despite the emails being sent out to the target email address. The following errors will be thrown in the _atlassian-confluence.log_ file. {code} 2015-07-24 06:02:10,407 ERROR [scheduler_Worker-10] [confluence.mail.template.ConfluenceMailQueueItem] send Unable to send email with subject 'Title' to <email> reason: javax.mail.MessagingException: Exception reading response; nested exception is: java.net.SocketTimeoutException: Read timed out com.atlassian.mail.MailException: javax.mail.MessagingException: Exception reading response; nested exception is: java.net.SocketTimeoutException: Read timed out at com.atlassian.confluence.jmx.JmxSMTPMailServer.doSendWithMessageIdSupport(JmxSMTPMailServer.java:143) at com.atlassian.confluence.jmx.JmxSMTPMailServer.send(JmxSMTPMailServer.java:88) at com.atlassian.confluence.mail.template.ConfluenceMailQueueItem.send(ConfluenceMailQueueItem.java:140) at com.atlassian.confluence.mail.template.ConfluenceMailQueueItem.execute(ConfluenceMailQueueItem.java:210) at com.atlassian.core.task.AbstractErrorQueuedTaskQueue$TaskDecorator.execute(AbstractErrorQueuedTaskQueue.java:100) at com.atlassian.core.task.AbstractTaskQueue.flush(AbstractTaskQueue.java:38) at com.atlassian.core.task.AbstractErrorQueuedTaskQueue.flush(AbstractErrorQueuedTaskQueue.java:30) at com.atlassian.quartz.jobs.TaskQueueFlushJob.doExecute(TaskQueueFlushJob.java:34) at com.atlassian.quartz.jobs.AbstractJob$1.doInHibernate(AbstractJob.java:133) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:370) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:337) at com.atlassian.quartz.jobs.AbstractJob.executeInternal(AbstractJob.java:125) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at com.atlassian.scheduler.quartz1.Quartz1JobFactory$ClassLoaderProtectingWrappedJob.execute(Quartz1JobFactory.java:62) at org.quartz.core.JobRunShell.run(JobRunShell.java:223) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool$1.run(ConfluenceQuartzThreadPool.java:22) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) 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.confluence.jmx.JmxSMTPMailServer.doSendWithMessageIdSupport(JmxSMTPMailServer.java:116) ... 16 more Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) at java.net.SocketInputStream.read(SocketInputStream.java:170) at java.net.SocketInputStream.read(SocketInputStream.java:141) at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:110) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read(BufferedInputStream.java:265) at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:89) at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2188) ... 20 more {code}

    Atlassian JIRA | 1 year ago | Sean Yong [Atlassian]
    java.net.SocketTimeoutException: Read timed out

  1. mauritius 93 times, last 12 hours ago
  2. Aria Pahlavan 4 times, last 2 weeks ago
  3. poroszd 4 times, last 4 weeks ago
  4. aldrinleal 1 times, last 1 month ago
  5. Nikolay Rybak 1 times, last 2 months ago
11 more registered users
70 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketTimeoutException

    Read timed out

    at java.net.SocketInputStream.socketRead0()
  2. Java RT
    SocketInputStream.read
    1. java.net.SocketInputStream.socketRead0(Native Method)
    2. java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
    3. java.net.SocketInputStream.read(SocketInputStream.java:170)
    4. java.net.SocketInputStream.read(SocketInputStream.java:141)
    4 frames
  3. JavaMail API (compat)
    TraceInputStream.read
    1. com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:110)
    1 frame
  4. Java RT
    BufferedInputStream.read
    1. java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
    2. java.io.BufferedInputStream.read(BufferedInputStream.java:265)
    2 frames
  5. JavaMail API (compat)
    SMTPTransport.readServerResponse
    1. com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:89)
    2. com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2188)
    2 frames