Email listener throwing MessagingException
Hi All,
Need your help on below issue:
Email listener is throwing below exception in our PROD environment. I tried setting debugging on
"Logging level for logger com.pega.pegarules.integration.engine.internal.services.email.EmailListener"
Let me know if you have faced this before.
Exception observed in logs
Hi All,
Need your help on below issue:
Email listener is throwing below exception in our PROD environment. I tried setting debugging on
"Logging level for logger com.pega.pegarules.integration.engine.internal.services.email.EmailListener"
Let me know if you have faced this before.
Exception observed in logs
Caught javax.mail.MessagingException when attempting to get new messages javax.mail.MessagingException: Read timed out; nested exception is: java.net.SocketTimeoutException: Read timed out at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:726) at javax.mail.Service.connect(Service.java:364) at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.openMailFolder(EmailListener.java:3284) at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.emailReceive(EmailListener.java:3421) at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.oneIteration(EmailListener.java:2805) at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.run_(EmailListener.java:2676) at com.pega.pegarules.integration.engine.internal.services.listener.ServiceListenerBaseImpl.run(ServiceListenerBaseImpl.java:454) at java.lang.Thread.run(Thread.java:745) Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) at java.net.SocketInputStream.read(SocketInputStream.java:170) at java.net.SocketInputStream.read(SocketInputStream.java:141) at java.net.ManagedSocketInputStreamAPSIHighPerformanceNew.read(ManagedSocketInputStreamAPSIHighPerformanceNew.java:98) at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) at sun.security.ssl.InputRecord.read(InputRecord.java:503) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387) at com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:543) at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:348) at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:215) at com.sun.mail.iap.Protocol.<init>(Protocol.java:117) at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:121) at com.sun.mail.imap.IMAPStore.newIMAPProtocol(IMAPStore.java:746) at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:689)