java.net.SocketTimeoutException: Read timed out

opengts | mentoras28 | 1 year ago
  1. 0

    Email problem

    opengts | 1 year ago | mentoras28
    java.net.SocketTimeoutException: Read timed out
  2. 0

    Im unable to trigger email in jenkins when build pass/fail.. I see read time out error ERROR: Could not send email as a part of the post-build publishers. 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.openServer(SMTPTransport.java:1912) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638) at javax.mail.Service.connect(Service.java:317) at javax.mail.Service.connect(Service.java:176) at javax.mail.Service.connect(Service.java:125) at javax.mail.Transport.send0(Transport.java:194) at javax.mail.Transport.send(Transport.java:124) at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:306) at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:281) at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:233) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) at hudson.model.Build$BuildExecution.cleanUp(Build.java:192) at hudson.model.Run.execute(Run.java:1805) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) 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) ... 18 more Some error occured trying to send the email...check the Jenkins log Finished: SUCCESS

    Jenkins JIRA | 2 years ago | vikranth reddy
    java.net.SocketTimeoutException: Read timed out
  3. 0

    Following issue JEMH-668. I had install the 1.1-Snapshots. But JEMH has giving a error for the issuetype enven the default issue in the emh.properties has been ignore. == E-mail example ================================== @priority = Medium @reporter = jalexandre @assignee = jalexandre @fixVersions = In production @affectsVersions = In production @application=C² @components = Other @summary = Issue create automic by E-mail @sommaire = Issue a été créé automatiquement par courriel @watchers=jalexandre,jparadis,bharvey,fmarcotte Une erreur est survenue, lors de l'envoie des fichiers via FW. Tu es un génie quand tu veux. Il ne faut exagérer mais je suis d'accord avec vous. - On a mis des watchers - Envoie en mode plain text (Note: format HTML fonctionne aussi) ================================================================= === Error Message =============================================== 2012-04-25 11:06:15,053 WARN [JEMH] QuartzWorker-1 ServiceRunner JIRA MAIL Handler JIRA MAIL Handler[10021]: Cannot handle message as Issue Type is null or invalid. 2012-04-25 11:06:25,600 ERROR [JEMH] QuartzWorker-1 ServiceRunner JIRA MAIL Handler JIRA MAIL Handler[10021]: Exception: 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.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:183) at com.atlassian.jira.service.services.mail.MailFetcherService$ErrorEmailForwarderImpl.sendMail(MailFetcherService.java:540) at com.atlassian.jira.service.services.mail.MailFetcherService$ErrorEmailForwarderImpl.forwardEmail(MailFetcherService.java:502) at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:363) at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:259) at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:344) at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:250) 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.openServer(SMTPTransport.java:1912) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638) at javax.mail.Service.connect(Service.java:295) at javax.mail.Service.connect(Service.java:176) at javax.mail.Service.connect(Service.java:125) at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:154) ... 11 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:2131) ... 17 more =================================================================

    JIRA | 5 years ago | Johngy Alexandre
    java.net.SocketTimeoutException: Read timed out
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Following issue JEMH-668. I had install the 1.1-Snapshots. But JEMH has giving a error for the issuetype enven the default issue in the emh.properties has been ignore. == E-mail example ================================== @priority = Medium @reporter = jalexandre @assignee = jalexandre @fixVersions = In production @affectsVersions = In production @application=C² @components = Other @summary = Issue create automic by E-mail @sommaire = Issue a été créé automatiquement par courriel @watchers=jalexandre,jparadis,bharvey,fmarcotte Une erreur est survenue, lors de l'envoie des fichiers via FW. Tu es un génie quand tu veux. Il ne faut exagérer mais je suis d'accord avec vous. - On a mis des watchers - Envoie en mode plain text (Note: format HTML fonctionne aussi) ================================================================= === Error Message =============================================== 2012-04-25 11:06:15,053 WARN [JEMH] QuartzWorker-1 ServiceRunner JIRA MAIL Handler JIRA MAIL Handler[10021]: Cannot handle message as Issue Type is null or invalid. 2012-04-25 11:06:25,600 ERROR [JEMH] QuartzWorker-1 ServiceRunner JIRA MAIL Handler JIRA MAIL Handler[10021]: Exception: 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.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:183) at com.atlassian.jira.service.services.mail.MailFetcherService$ErrorEmailForwarderImpl.sendMail(MailFetcherService.java:540) at com.atlassian.jira.service.services.mail.MailFetcherService$ErrorEmailForwarderImpl.forwardEmail(MailFetcherService.java:502) at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:363) at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:259) at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:344) at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:250) 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.openServer(SMTPTransport.java:1912) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638) at javax.mail.Service.connect(Service.java:295) at javax.mail.Service.connect(Service.java:176) at javax.mail.Service.connect(Service.java:125) at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:154) ... 11 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:2131) ... 17 more =================================================================

    JIRA | 5 years ago | Johngy Alexandre
    java.net.SocketTimeoutException: Read timed out
  6. 0

    JavaMail: How to use different SOCKS5 for different threads?

    Coderanch | 5 years ago | Alan Wake
    java.net.SocketTimeoutException: Read timed out Exception reading response javax.mail.MessagingException: Exception reading response; nested exception is: java.net.SocketTimeoutException: Read timed out

  1. Aria Pahlavan 4 times, last 2 weeks ago
  2. poroszd 4 times, last 3 weeks ago
  3. mauritius 24 times, last 1 month ago
  4. aldrinleal 1 times, last 1 month ago
  5. Nikolay Rybak 1 times, last 1 month 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.read(SocketInputStream.java:129)
    2 frames
  3. JavaMail API (compat)
    TraceInputStream.read
    1. com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:124)
    1 frame
  4. Java RT
    BufferedInputStream.read
    1. java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
    2. java.io.BufferedInputStream.read(BufferedInputStream.java:237)
    2 frames
  5. JavaMail API (compat)
    SMTPTransport.protocolConnect
    1. com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:92)
    2. com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2285)
    3. com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2032)
    4. com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:697)
    4 frames
  6. JavaMail API
    Transport.send
    1. javax.mail.Service.connect(Service.java:386)
    2. javax.mail.Service.connect(Service.java:245)
    3. javax.mail.Service.connect(Service.java:194)
    4. javax.mail.Transport.send0(Transport.java:253)
    5. javax.mail.Transport.send(Transport.java:124)
    5 frames
  7. org.opengts.util
    SendMailArgs.send
    1. org.opengts.util.SendMailArgs.send(SendMailArgs.java:209)
    1 frame
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  9. org.opengts.util
    SendMail.send
    1. org.opengts.util.MethodAction.invoke(MethodAction.java:353)
    2. org.opengts.util.MethodAction.invoke(MethodAction.java:336)
    3. org.opengts.util.SendMail$SendMailRunnable.run(SendMail.java:386)
    4. org.opengts.util.SendMail.send(SendMail.java:343)
    5. org.opengts.util.SendMail.send(SendMail.java:285)
    5 frames
  10. org.opengts.tools
    CheckInstall.main
    1. org.opengts.tools.CheckInstall.main(CheckInstall.java:1468)
    1 frame