Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Products
  • Jira
  • Questions
  • An error has occurred with sending the test email: com.atlassian.mail.MailException: javax.mail.MessagingException: Exception reading response; nested exception is: java.net.SocketException: Connection reset

An error has occurred with sending the test email: com.atlassian.mail.MailException: javax.mail.MessagingException: Exception reading response; nested exception is: java.net.SocketException: Connection reset

M Shaikh January 31, 2017

JIRA unable to send notification emails to users.

2 answers

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 31, 2017

Your mail server is not responding to the JIRA server for some reason.  Connection reset can have many causes, but it's usually incorrect credentials or a firewall blocking access.  You should be able to read further through the log for more information on the error.

Innovación - Proyectos Compartidos November 20, 2018

Hi Nic Brough

 

I'm having the same fault, but in this case for the test instance that has the same outgoing mail configuration as the production instance. In the production instance  the outgoing mail works.

 

This is the trace when trying to send an email to a user within the domain :

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 20, 2018

Then the mail server is choosing to reject it, although I'd expect a different error for that.  Connection reset still almost certainly means "your network is not connecting"

Innovación - Proyectos Compartidos November 21, 2018

Hello 

 

 Thanks for your information , I solved de problem reconfiguring the IP of the mail server.

 

Milena G

0 votes
Innovación - Proyectos Compartidos November 20, 2018

An error has occurred with sending the test email:

com.atlassian.mail.MailException: javax.mail.MessagingException: Exception reading response;

  nested exception is:

                java.net.SocketException: Connection reset

                at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:225)

                at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:162)

                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:63)

                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

Caused by: javax.mail.MessagingException: Exception reading response;

  nested exception is:

                java.net.SocketException: Connection reset

                at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2445)

                at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2172)

                at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:726)

                at javax.mail.Service.connect(Service.java:366)

                at javax.mail.Service.connect(Service.java:246)

                at javax.mail.Service.connect(Service.java:195)

                at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:185)

                ... 270 more

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events