koushik_vmware
Enthusiast
Enthusiast

SocketTimeoutException:Read timed out in JavaMail Client - VRO workflow

Hello,

I am getting "JavaMail Exception:java.net.SocketTimeoutException:Read timed out" error message via MailClient class.

I am trying to retrieve the messages from SMTP mail server by looking up the Inbox in a certain interval ( 3 minutes).  To retrieve the message I am using inbuilt workflow "Retrieve messages(via MailClient)"  under Library\Mail folder of my orchestrator client. I am using vRO7.0.

Strange thing is that sometimes it's working fine and sometimes I got the SocketTimeoutException.

Can you please let me know if any customization/modification is required in this workflow. I have already added

setSocketTimeout(5*60*1000) and setConnectionTimeout(5*60*1000)

But it's not working. Can you please help me out ?

Thanks,

Koushik

0 Kudos
1 Reply
koushik_vmware
Enthusiast
Enthusiast

Hello,

Can anyone help me out on this ?

Thanks for your support and assistance.

Thanks,

0 Kudos