Support Article
Read timed out error message on Listener
SA-25484
Summary
Email listener fails sporadically with an error message.
Error Messages
**Date and time**,458 [ EMAIL-Thread-17] [ STANDARD] [ ] [ ESC:01.01.01] ( services.email.EmailListener) ERROR
EMAIL.ESCApprovalListener.Listener ESCListenerUser - Caught javax.mail.MessagingException when attempting to get new messages
javax.mail.MessagingException: * BYE JavaMail Exception: java.net.SocketTimeoutException: Read timed out;
nested exception is:
com.sun.mail.iap.ConnectionException: * BYE JavaMail Exception: java.net.SocketTimeoutException: Read timed out
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:722)
at javax.mail.Service.connect(Service.java:364)
.
.
.
Steps to Reproduce
There is no specific use case to replicate the issue.
Root Cause
Email server took longer time to respond to a connect call from PRPC sporadically.
Resolution
Perform the following local-change:
Increase read time out using DSS below (default was 60 seconds):
- Owing ruleset: Pega-IntSvcs
- Setting Purpose: email/timeout
- Value: 120000
Published July 25, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.