java.net.ConnectException: Connection refused 2016-08-30 09:20:00.087304500 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2118) 2016-08-30 09:20:00.087307500 at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:712)

Atlassian JIRA | Aulia Fajri [Atlassian] | 3 months ago
  1. 0

    h3. Summary Cloning parent issue with many sub-tasks will failed. h3. How to replicate it # Clone an issue with many sub-task in it (In my case, there are more than 1000 sub-tasks) # What I found in logs: #- {noformat} 2016-08-30 09:20:00.087303500 at java.lang.Thread.run(Thread.java:745) 2016-08-30 09:20:00.087303500 Caused by: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp, 25; timeout 10000; 2016-08-30 09:20:00.087304500 nested exception is: 2016-08-30 09:20:00.087304500 java.net.ConnectException: Connection refused 2016-08-30 09:20:00.087304500 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2118) 2016-08-30 09:20:00.087307500 at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:712) 2016-08-30 09:20:00.087308500 at javax.mail.Service.connect(Service.java:366) 2016-08-30 09:20:00.087308500 at javax.mail.Service.connect(Service.java:195) 2016-08-30 09:20:00.087308500 at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:174) 2016-08-30 09:20:00.087308500 ... 24 more 2016-08-30 09:20:00.087311500 Caused by: java.net.ConnectException: Connection refused 2016-08-30 09:20:00.087312500 at java.net.PlainSocketImpl.socketConnect(Native Method) 2016-08-30 09:20:00.087316500 at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) 2016-08-30 09:20:00.087317500 at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) 2016-08-30 09:20:00.087317500 at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) 2016-08-30 09:20:00.087317500 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) 2016-08-30 09:20:00.087318500 at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:329) 2016-08-30 09:20:00.087321500 at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:238) 2016-08-30 09:20:00.087321500 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2084) 2016-08-30 09:20:00.087321500 ... 29 more 2016-08-30 09:20:00.088827500 2016-08-30 09:20:00,088 Sending mailitem To='a.boumelhem@necbbank.com' Subject='(T24IMPL-3593) CLONE - Create a Collateral of type Pledge of Car (both right and collateral), and link it to the limit' From='null' FromName='System Administrator (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.18422.1472548183000@Atlassian.JIRA>' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@4af199' MessageId='null' ExcludeSubjectPrefix=false' ERROR anonymous Mail Queue Service [c.a.mail.queue.MailQueueImpl] Error occurred in sending e-mail: To='a.boumelhem@necbbank.com' Subject='(T24IMPL-3593) CLONE - Create a Collateral of type Pledge of Car (both right and collateral), and link it to the limit' From='null' FromName='System Administrator (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.18422.1472548183000@Atlassian.JIRA>' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@4af199' MessageId='null' ExcludeSubjectPrefix=false' 2016-08-30 09:20:00.088839500 com.atlassian.mail.MailException: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp, 25; timeout 10000; 2016-08-30 09:20:00.088844500 nested exception is: 2016-08-30 09:20:00.088844500 java.net.ConnectException: Connection refused 2016-08-30 09:20:00.088844500 at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:214) 2016-08-30 09:20:00.088845500 at com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:44) 2016-08-30 09:20:00.088851500 at com.atlassian.mail.queue.MailQueueImpl.sendBufferUnderLock(MailQueueImpl.java:103) 2016-08-30 09:20:00.088851500 at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:56) 2016-08-30 09:20:00.088851500 at com.atlassian.jira.mail.JiraMailQueue.lambda$sendBuffer$0(JiraMailQueue.java:47) 2016-08-30 09:20:00.088852500 at com.atlassian.jira.util.velocity.DefaultVelocityRequestContextFactory.runWithStaticBaseUrl(DefaultVelocityRequestContextFactory.java:123) 2016-08-30 09:20:00.088855500 at com.atlassian.jira.util.DefaultBaseUrl.runWithStaticBaseUrl(DefaultBaseUrl.java:50) 2016-08-30 09:20:00.088856500 at com.atlassian.jira.mail.JiraMailQueue.sendBuffer(JiraMailQueue.java:46) 2016-08-30 09:20:00.088856500 at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:21) 2016-08-30 09:20:00.088860500 at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) 2016-08-30 09:20:00.088860500 at com.atlassian.jira.service.ServiceRunner.runService(ServiceRunner.java:63) 2016-08-30 09:20:00.088861500 at com.atlassian.jira.service.ServiceRunner.runServiceId(ServiceRunner.java:44) 2016-08-30 09:20:00.088861500 at com.atlassian.jira.service.ServiceRunner.runJob(ServiceRunner.java:32) 2016-08-30 09:20:00.088861500 at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:153) 2016-08-30 09:20:00.088864500 at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:118) 2016-08-30 09:20:00.088865500 at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:97) 2016-08-30 09:20:00.088865500 at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(CaesiumSchedulerService.java:443) 2016-08-30 09:20:00.088866500 at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeLocalJob(CaesiumSchedulerService.java:410) 2016-08-30 09:20:00.088869500 at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(CaesiumSchedulerService.java:388) 2016-08-30 09:20:00.088869500 at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:285) 2016-08-30 09:20:00.088870500 at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:282) 2016-08-30 09:20:00.088874500 at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeJob(SchedulerQueueWorker.java:65) 2016-08-30 09:20:00.088874500 at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeNextJob(SchedulerQueueWorker.java:59) 2016-08-30 09:20:00.088875500 at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.run(SchedulerQueueWorker.java:34) 2016-08-30 09:20:00.088878500 at java.lang.Thread.run(Thread.java:745) 2016-08-30 09:20:00.088878500 Caused by: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp, 25; timeout 10000; 2016-08-30 09:20:00.088879500 nested exception is: 2016-08-30 09:20:00.088879500 java.net.ConnectException: Connection refused 2016-08-30 09:20:00.088879500 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2118) 2016-08-30 09:20:00.088895500 at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:712) 2016-08-30 09:20:00.088895500 at javax.mail.Service.connect(Service.java:366) 2016-08-30 09:20:00.088895500 at javax.mail.Service.connect(Service.java:195) 2016-08-30 09:20:00.088896500 at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:174) 2016-08-30 09:20:00.088896500 ... 24 more 2016-08-30 09:20:00.088899500 Caused by: java.net.ConnectException: Connection refused 2016-08-30 09:20:00.088903500 at java.net.PlainSocketImpl.socketConnect(Native Method) 2016-08-30 09:20:00.088903500 at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) 2016-08-30 09:20:00.088904500 at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) 2016-08-30 09:20:00.088904500 at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) 2016-08-30 09:20:00.088905500 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) 2016-08-30 09:20:00.088910500 at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:329) 2016-08-30 09:20:00.088910500 at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:238) 2016-08-30 09:20:00.088910500 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2084) 2016-08-30 09:20:00.088911500 ... 29 more {noformat} h3. Actual Result The clone will never be finished h3. Expected Result The clone will be completed h3. Workaround Clone the sub-task one by one

    Atlassian JIRA | 3 months ago | Aulia Fajri [Atlassian]
    java.net.ConnectException: Connection refused 2016-08-30 09:20:00.087304500 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2118) 2016-08-30 09:20:00.087307500 at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:712)
  2. 0

    Re: Prob: Sending mail externally

    james-server-user | 1 decade ago | Serge Knystautas
    java.net.ConnectException: Connection refused: connect at > > > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:867) at > > > com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:156)
  3. 0

    Re: Prob: Sending mail externally

    james-server-user | 1 decade ago | Kunal Mehta
    java.net.ConnectException: Connection refused: connect at > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:867) at > com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:156)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to receive the email message from my Account (devteam@matsystem.com)

    Oracle Community | 9 years ago | 843834
    java.net.ConnectException: Connection timed out: connect at com.sun.mail.imap.IMAPStore.protocolConnect (IMAPStore.java:298)
  6. 0

    error in groupware (404;filestorageexception;Prüfe StackTrace) [Archive] - Official Open-Xchange Forum

    open-xchange.com | 3 months ago
    java.net.ConnectException: Connection refused at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTra nsport.java:1282) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SM TPTransport.java:370)

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

      Connection refused 2016-08-30 09:20:00.087304500 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2118) 2016-08-30 09:20:00.087307500 at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:712)

      at javax.mail.Service.connect()
    2. JavaMail API
      Service.connect
      1. javax.mail.Service.connect(Service.java:366)
      2. javax.mail.Service.connect(Service.java:195)
      2 frames
    3. com.atlassian.mail
      SMTPMailServerImpl.sendWithMessageId
      1. com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:174)
      1 frame