{"id":5466,"date":"2022-01-08T04:02:56","date_gmt":"2022-01-08T04:02:56","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=5466"},"modified":"2022-01-08T04:02:56","modified_gmt":"2022-01-08T04:02:56","slug":"javax-mail-messagingexception-could-not-convert-socket-to-tls-nested-exception-is-java-net-socketexception-connection-reset","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/javax-mail-messagingexception-could-not-convert-socket-to-tls-nested-exception-is-java-net-socketexception-connection-reset","title":{"rendered":"javax.mail.MessagingException: Could not convert socket to TLS; nested exception is: java.net.SocketException: Connection reset"},"content":{"rendered":"<p>An app trying to send emails out to an SMTP server on TLS was receiving the following java error<\/p><p>&nbsp;<\/p><p>javax.mail.MessagingException: Could not convert socket to TLS; nested exception is: java.net.SocketException: Connection reset<\/p><p>&nbsp;<\/p><p>Issue was due to a fortigate Firewall block , make sure its whitelisted and the policy is the correct order ( Above the main outbound rule )\u00a0<\/p>","protected":false},"excerpt":{"rendered":"<p>An app trying to send emails out to an SMTP server on TLS was receiving the following java error&nbsp;javax.mail.MessagingException: Could not convert socket to TLS; nested exception [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3685],"class_list":["post-5466","post","type-post","status-publish","format-standard","hentry","category-research","tag-javax-mail-messagingexception-could-not-convert-socket-to-tls-nested-exception-is-java-net-socketexception-connection-reset"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5466","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=5466"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5466\/revisions"}],"predecessor-version":[{"id":5467,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5466\/revisions\/5467"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=5466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=5466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=5466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}