Outgoing mail not sent - Read timeout error
Last updated
Last updated
If you're experiencing that some of your emails have not been sent and you see the following error in the Outgoing mail queue - Error queue, check our solution below:
java.util.concurrent.ExecutionException: java.lang.RuntimeException: com.metainf.jeti.core.api.mailserver.outgoing.MailSendingException: com.metainf.jeti.core.api.exception.JetiException: javax.mail.AuthenticationFailedException: ; nested exception is: javax.mail.MessagingException: Exception reading response; nested exception is: java.net.SocketTimeoutException: Read timed out at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at com.metainf.connect.jira.jeti.service.outgoing.OutgoingMailQueue$MailQueueExecutor.afterExecute(OutgoingMailQueue.java:222) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) Caused by: java.lang.RuntimeException: com.metainf.jeti.core.api.mailserver.outgoing.MailSendingException: com.metainf.jeti.core.api.exception.JetiException: javax.mail.AuthenticationFailedException: ; nested exception is: javax.mail.MessagingException: Exception reading response; nested exception is: java.net.SocketTimeoutException: Read timed out
This type of error is present when we're trying to connect to an incoming or -in this case- outgoing mail server but the server is taking longer than the timeout value to respond and send information. This could be due to a slow internet connection, for example, or if he host is offline.
We attempt to connect to the server for a given period (10000 msec by default) after which we disconnect (timeout) if the attempt is unsuccessful. This results in the Read timed out error quoted above.
A read timeout error can always be solved by simply increasing the timeout value configured for the corresponding mail connection.
Navigate to Email This Issue Administration - Outgoing Mail Connections and change the Timeout value to the maximum 60000 ms:
After this change, monitor your outgoing mails and reach out to your system administrator for help if this change in your settings does not help.
Should you need further help, feel free to open a support request with us.