Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

SocketTimeoutException:Read timed out in JavaMail Client - VRO workflow

$
0
0

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


Viewing all articles
Browse latest Browse all 9859

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>