Question

5
Replies
5311
Views
divyasripadarthy Member since 2013 13 posts
Cognizant Technology Solutions
Posted: May 24, 2016
Last activity: January 19, 2017
Closed
Solved

java.net.SocketTimeoutException: Read timed out

Hi Team,

I am getting the following exception in production environment for all available email listeners in our application.

ERROR EMAIL.FTCPListener.Listener  - Unexpected

javax.mail.MessagingException: Connect failed;

  nested exception is:

  java.net.SocketTimeoutException: Read timed out

  at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:161)

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

  at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.emailConnect(EmailListener.java:1631)

  at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.oneIteration(EmailListener.java:1188)

  at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.run_(EmailListener.java:1153)

  at com.pega.pegarules.integration.engine.internal.services.listener.ServiceListenerBaseImpl.run(ServiceListenerBaseImpl.java:442)

  at java.lang.Thread.run(Thread.java:722)

Caused by: java.net.SocketTimeoutException: Read timed out

  at java.net.SocketInputStream.socketRead0(Native Method)

  at java.net.SocketInputStream.read(SocketInputStream.java:150)

  at java.net.SocketInputStream.read(SocketInputStream.java:121)

  at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)

  at java.io.BufferedInputStream.read(BufferedInputStream.java:254)

  at java.io.DataInputStream.readLine(DataInputStream.java:513)

  at com.sun.mail.pop3.Protocol.simpleCommand(Protocol.java:360)

  at com.sun.mail.pop3.Protocol.login(Protocol.java:149)

  at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:219)

  at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:157)

  ... 6 more

Can someone help me to resolve this exception.

Regards,

Divya Sri Padarthy.

Data Integration
Moderation Team has archived post
Share this page LinkedIn