Hi All,
We have, since 2014, installed JIRA 6.1.7 and works well for 5 years without any problems. It's installed on a Windows 2008 R2 SP1 platform.
Since last April 10th, no notifications by mail are sent. They stay in the queue. No modifications are made in JIRA's settings nor network at work.
The SMTP server declared in outgoing mail server works well because we have another non atlassian applications which continues to send notifications by this server.
We also have a confluence server on the same machine which has the same problem : no more mail notifications.
When i try to send an email test (whatever the SMTP server I put), I have the following error (connection refused in fact) :
An error has occurred with sending the test email:
com.atlassian.mail.MailException: javax.mail.MessagingException: Could not connect to SMTP host: mail1.sfrbusinessteam.fr, port: 25;
nested exception is:
java.net.ConnectException: Connection refused: connect
at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:201)
at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:149)
at com.atlassian.jira.plugins.mail.webwork.SendTestMail.doExecute(SendTestMail.java:107)
at webwork.action.ActionSupport.execute(ActionSupport.java:165)
at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:87)
at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39)
at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31)
at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16)
at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35)
at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:225)
at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:154)
at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:152)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at ...
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.mail.MessagingException: Could not connect to SMTP host: mail1.sfrbusinessteam.fr, port: 25;
nested exception is:
java.net.ConnectException: Connection refused: connect
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1972)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:642)
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 com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:172)
... 174 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:319)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:233)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1938)
... 179 more
In debug mode I've got this :
2019-04-17 12:34:15,583 Sending mailitem To='y@tpm.fr' Subject='(PRO-899) LBG 15.2 Une erreur se produit lorsque l'on fait un filtre sur carnet global' From='null' FromName='[JIRA] Philippe' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.56222.1555071522000@TPM-1>' MimeType='text/html' Encoding='UTF-8' Multipart='null' MessageId='null' DEBUG ServiceRunner Mail Queue Service [com.atlassian.mail.outgoing] Getting session
2019-04-17 12:34:15,583 Sending mailitem To='y@tpm.fr' Subject='(PRO-899) LBG 15.2 Une erreur se produit lorsque l'on fait un filtre sur carnet global' From='null' FromName='[JIRA] ' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.56222.1555071522000@TPM-1>' MimeType='text/html' Encoding='UTF-8' Multipart='null' MessageId='null' DEBUG ServiceRunner Mail Queue Service [com.atlassian.mail.outgoing] Debug messages from JavaMail session initialization will not appear in this log. These messages are sent to standard out.
DEBUG: JavaMail version 1.4.5
DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
2019-04-17 12:34:15,587 Sending mailitem To='y@tpm.fr' Subject='(PRO-899) LBG 15.2 Une erreur se produit lorsque l'on fait un filtre sur carnet global' From='null' FromName='[JIRA]' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.56222.1555071522000@TPM-1>' MimeType='text/html' Encoding='UTF-8' Multipart='null' MessageId='null' DEBUG ServiceRunner Mail Queue Service [com.atlassian.mail.outgoing] Session providers: [[javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc]]]
2019-04-17 12:34:15,587 Sending mailitem To='y@tpm.fr' Subject='(PRO-899) LBG 15.2 Une erreur se produit lorsque l'on fait un filtre sur carnet global' From='null' FromName='[JIRA] Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.56222.1555071522000@TPM-1>' MimeType='text/html' Encoding='UTF-8' Multipart='null' MessageId='null' DEBUG ServiceRunner Mail Queue Service [com.atlassian.mail.outgoing] Session addressMap: [{rfc822=smtp}]
2019-04-17 12:34:15,589 Sending mailitem To='y@tpm.fr' Subject='(PRO-899) LBG 15.2 Une erreur se produit lorsque l'on fait un filtre sur carnet global' From='null' FromName='[JIRA] ' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.56222.1555071522000@TPM-1>' MimeType='text/html' Encoding='UTF-8' Multipart='null' MessageId='null' DEBUG ServiceRunner Mail Queue Service [com.atlassian.mail.outgoing] Getting transport for protocol [smtp]
2019-04-17 12:34:15,590 Sending mailitem To='y@tpm.fr' Subject='(PRO-899) LBG 15.2 Une erreur se produit lorsque l'on fait un filtre sur carnet global' From='null' FromName='[JIRA] ' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.56222.1555071522000@TPM-1>' MimeType='text/html' Encoding='UTF-8' Multipart='null' MessageId='null' DEBUG ServiceRunner Mail Queue Service [com.atlassian.mail.outgoing] DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
2019-04-17 12:34:15,590 Sending mailitem To='y@tpm.fr' Subject='(PRO-899) LBG 15.2 Une erreur se produit lorsque l'on fait un filtre sur carnet global' From='null' FromName='[JIRA] ' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.56222.1555071522000@TPM-1>' MimeType='text/html' Encoding='UTF-8' Multipart='null' MessageId='null' DEBUG ServiceRunner Mail Queue Service [com.atlassian.mail.outgoing] Got transport: [smtp:]. Connecting
2019-04-17 12:34:15,590 Sending mailitem To='y@tpm.fr' Subject='(PRO-899) LBG 15.2 Une erreur se produit lorsque l'on fait un filtre sur carnet global' From='null' FromName='[JIRA] ' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.56222.1555071522000@TPM-1>' MimeType='text/html' Encoding='UTF-8' Multipart='null' MessageId='null' DEBUG ServiceRunner Mail Queue Service [com.atlassian.mail.outgoing] DEBUG SMTP: useEhlo true, useAuth true
2019-04-17 12:34:15,591 Sending mailitem To='y@tpm.fr' Subject='(PRO-899) LBG 15.2 Une erreur se produit lorsque l'on fait un filtre sur carnet global' From='null' FromName='[JIRA] ' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.56222.1555071522000@TPM-1>' MimeType='text/html' Encoding='UTF-8' Multipart='null' MessageId='null' DEBUG ServiceRunner Mail Queue Service [com.atlassian.mail.outgoing] DEBUG SMTP: useEhlo true, useAuth true
2019-04-17 12:34:15,591 Sending mailitem To='y@tpm.fr' Subject='(PRO-899) LBG 15.2 Une erreur se produit lorsque l'on fait un filtre sur carnet global' From='null' FromName='[JIRA] ' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.56222.1555071522000@TPM-1>' MimeType='text/html' Encoding='UTF-8' Multipart='null' MessageId='null' DEBUG ServiceRunner Mail Queue Service [com.atlassian.mail.outgoing] DEBUG SMTP: trying to connect to host "mail1.sfrbusinessteam.fr", port 25, isSSL false
2019-04-17 12:34:16,588 Sending mailitem To='y@tpm.fr' Subject='(PRO-899) LBG 15.2 Une erreur se produit lorsque l'on fait un filtre sur carnet global' From='null' FromName='[JIRA] ' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.56222.1555071522000@TPM-1>' MimeType='text/html' Encoding='UTF-8' Multipart='null' MessageId='null' ERROR ServiceRunner Mail Queue Service [atlassian.mail.queue.MailQueueImpl] Error occurred in sending e-mail: To='y@tpm.fr' Subject='(PRO-899) LBG 15.2 Une erreur se produit lorsque l'on fait un filtre sur carnet global' From='null' FromName='[JIRA] ' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.56222.1555071522000@TPM-1>' MimeType='text/html' Encoding='UTF-8' Multipart='null' MessageId='null'
com.atlassian.mail.MailException: javax.mail.MessagingException: Could not connect to SMTP host: mail1.sfrbusinessteam.fr, port: 25;
nested exception is:
java.net.ConnectException: Connection refused: connect
at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:201)
at com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:44)
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:48)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Caused by: javax.mail.MessagingException: Could not connect to SMTP host: mail1.sfrbusinessteam.fr, port: 25;
nested exception is:
java.net.ConnectException: Connection refused: connect
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1972)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:642)
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 com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:172)
... 7 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:319)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:233)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1938)
... 12 more
2019-04-17 12:34:16,590 Sending mailitem To='xxx@group.fr' Subject='(PRO-899) LBG 15.2 Une erreur se produit lorsque l'on fait un filtre sur carnet global' From='null' FromName='[JIRA] ' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.56222.1555071522000@TPM-1>' MimeType='text/html' Encoding='UTF-8' Multipart='null' MessageId='null' DEBUG ServiceRunner Mail Queue Service [com.atlassian.mail.outgoing] Getting session
2019-04-17 12:34:16,590 Sending mailitem To='xxx@yyy.fr' Subject='(PRO-899) LBG 15.2 Une erreur se produit lorsque l'on fait un filtre sur carnet global' From='null' FromName='[JIRA] ' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.56222.1555071522000@TPM-1>' MimeType='text/html' Encoding='UTF-8' Multipart='null' MessageId='null' DEBUG ServiceRunner Mail Queue Service [com.atlassian.mail.outgoing] Debug messages from JavaMail session initialization will not appear in this log. These messages are sent to standard out.
I saw the probleme appeared when KB4493472 or KB890830 were installed as Windows Update. Maybe it's linked.
Do you have an opinion on this problem ?
Thanks in advance.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.