javax.mail.MessagingException: Could not convert socket to TLS; nested exception is: java.net.SocketException: Connection reset

An app trying to send emails out to an SMTP server on TLS was receiving the following java error

 

javax.mail.MessagingException: Could not convert socket to TLS; nested exception is: java.net.SocketException: Connection reset

 

Issue was due to a fortigate Firewall block , make sure its whitelisted and the policy is the correct order ( Above the main outbound rule ) 

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...