Error sending email: Connection reset...

Error sending email: Connection reset...

  
Hi,

I'm getting a lot of Error sending email 67135: Connection reset    at java.net.SocketInputStream.read(SocketInputStream.java:168) errors in a production environment.
The platform version is 5.0 for Java stack. At the same time, the scheduler/email processor starts reporting delays in the email dispatching.


Does anyone know the reason for this to happen? Is there some tunning we can do in the server regarding TCP connections, etc.?

Thanks,
Joao


PS: Here's the "complete stack" from service center :

Error sending email 67135: Connection reset    at java.net.SocketInputStream.read(SocketInputStream.java:168)
   at outsystems.hubedition.util.Stream.read(Unknown Source)
   at outsystems.hubedition.smtp.SendMail$SMTPClient.getServerResponse(Unknown Source)
   at outsystems.hubedition.smtp.SendMail$SMTPMail.sendCommand(Unknown Source)
   at outsystems.hubedition.smtp.SendMail$SMTPMail.sendCommand(Unknown Source)
   at outsystems.hubedition.smtp.SendMail$SMTPMail.sendMail(Unknown Source)
   at outsystems.hubedition.smtp.SendMail.send(Unknown Source)
   at outsystems.hubedition.scheduler.EmailJob.sendEmail(Unknown Source)
   at outsystems.hubedition.scheduler.EmailJob.execute(Unknown Source)
   at outsystems.hubedition.scheduler.SchedulerProducerConsumer.execute(Unknown Source)
   at outsystems.hubedition.scheduler.SchedulerProducerConsumer.executeConsumer(Unknown Source)
   at outsystems.hubedition.scheduler.SchedulerProducerConsumer$1.executeImpl(Unknown Source)
   at outsystems.hubedition.util.delegates.Action$Action1.execute(Unknown Source)
   at outsystems.hubedition.util.ParameterizedThread.run(Unknown Source)

java.lang.IllegalStateException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at outsystems.hubedition.util.Stream.read(Unknown Source) at outsystems.hubedition.smtp.SendMail$SMTPClient.getServerResponse(Unknown Source) at outsystems.hubedition.smtp.SendMail$SMTPMail.sendCommand(Unknown Source) at outsystems.hubedition.smtp.SendMail$SMTPMail.sendCommand(Unknown Source) at outsystems.hubedition.smtp.SendMail$SMTPMail.sendMail(Unknown Source) at outsystems.hubedition.smtp.SendMail.send(Unknown Source) at outsystems.hubedition.scheduler.EmailJob.sendEmail(Unknown Source) at outsystems.hubedition.scheduler.EmailJob.execute(Unknown Source) at outsystems.hubedition.scheduler.SchedulerProducerConsumer.execute(Unknown Source) at outsystems.hubedition.scheduler.SchedulerProducerConsumer.executeConsumer(Unknown Source) at outsystems.hubedition.scheduler.SchedulerProducerConsumer$1.executeImpl(Unknown Source) at outsystems.hubedition.util.delegates.Action$Action1.execute(Unknown Source) at outsystems.hubedition.util.ParameterizedThread.run(Unknown Source) at outsystems.hubedition.smtp.SendMail.send(Unknown Source) at outsystems.hubedition.scheduler.EmailJob.sendEmail(Unknown Source) at outsystems.hubedition.scheduler.EmailJob.execute(Unknown Source) at outsystems.hubedition.scheduler.SchedulerProducerConsumer.execute(Unknown Source) at outsystems.hubedition.scheduler.SchedulerProducerConsumer.executeConsumer(Unknown Source) at outsystems.hubedition.scheduler.SchedulerProducerConsumer$1.executeImpl(Unknown Source) at outsystems.hubedition.util.dele...
The SMTP server (or something between it and the Agile Platform) is severing the connection.

Check if you can send emails using telnet using the SMTP server and options you have configured in Service Center.
Thank you Ricardo for your answer.

We have forwarded your request to the sysadmins and we'll get back when we have new info.
Joao Heleno wrote:
Thank you Ricardo for your answer.

We have forwarded your request to the sysadmins and we'll get back when we have new info.
 
Apparently the SMTP has load balancing and one of the servers seems to be unstable. 

Thanks again Ricardo.

Joao H.