<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-2052 System emails/process emails are no longer being sent with a "Connection refused" error</title><link>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-2052 System emails/process emails are no longer being sent with a "Connection refused" error</title><link>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error</link><pubDate>Tue, 23 Aug 2022 14:42:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:69a74a20-8918-4832-9371-1958ba0c270a</guid><dc:creator>Maggie Deppe-Walker</dc:creator><comments>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error#comments</comments><description>Current Revision posted to Appian Knowledge Base by Maggie Deppe-Walker on 8/23/2022 2:42:42 PM&lt;br /&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;System emails for account creation are not sent.&lt;/li&gt;
&lt;li&gt;System emails for resetting a password are not sent.&lt;/li&gt;
&lt;li&gt;Process models with &lt;strong&gt;Send Email&lt;/strong&gt; nodes are paused.&lt;/li&gt;
&lt;li&gt;The application server log will contain one of the following errors:&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled" style="overflow:auto;"&gt;
&lt;pre&gt;ERROR com.appiancorp.ra.workpoller.WorkItemListener - The following exception occurred while attempting to complete work item [(WorkId: 14, WorkType: [AbstractMailRequest: from=null, to=&amp;lt;Email&amp;gt;, subject=&amp;lt;Subject&amp;gt;], Response: null, ServerName: NotificationsEmail)] - Exception:
javax.resource.spi.work.WorkCompletedException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
&amp;hellip;
Caused by: javax.ejb.EJBException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
&amp;hellip;
Caused by: javax.net.ConnectException: Connection Refused &lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled" style="overflow:auto;"&gt;
&lt;pre&gt;ERROR com.appiancorp.process.workpoller.WorkItemListener - The following exception occurred &lt;span class="code-keyword"&gt;while&lt;/span&gt; attempting to complete work item [[WorkId: 247, EngineId: notifications-email, Request: MailRequest:&lt;span class="code-keyword"&gt;null&lt;/span&gt; as &lt;span class="code-keyword"&gt;null&lt;/span&gt; by &lt;span class="code-keyword"&gt;null&lt;/span&gt;, Response: &lt;span class="code-keyword"&gt;null&lt;/span&gt;]] - Exception: 
javax.resource.spi.work.WorkCompletedException: java.lang.RuntimeException: Could not prepare email &lt;span class="code-keyword"&gt;for&lt;/span&gt;: CompatibleEmailRecipients{locale=en_US, timeZone=IST, calendarId=gregorian, startPage=https:&lt;span class="code-comment"&gt;//example-startpage.com/suite/tempo, emailAddresses=[a****.com]}
&lt;/span&gt;	at org.springframework.jca.work.SimpleTaskWorkManager$DelegatingWorkAdapter.run(SimpleTaskWorkManager.java:242)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.&lt;span class="code-object"&gt;Thread&lt;/span&gt;.run(&lt;span class="code-object"&gt;Thread&lt;/span&gt;.java:748)
Caused by: java.lang.RuntimeException: Could not prepare email &lt;span class="code-keyword"&gt;for&lt;/span&gt;: CompatibleEmailRecipients{locale=en_US, timeZone=IST, calendarId=gregorian, startPage=https:&lt;span class="code-comment"&gt;//example-startpage.com/suite/tempo, emailAddresses=[a*****.com]}
&lt;/span&gt;...
Caused by: com.appiancorp.process.engine.EmailBodyException: Email body failed to render: MailBody{filename=/ntf/emailHtml/taskException_emailHtml.jsp}
...
Caused by: java.net.SocketException: Unexpected end of file from server&lt;/pre&gt;
&lt;/div&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This issue occurs when the application server is unable to connect to the HTTP endpoint to render the email body. This can occur when there is a mis-configuration in &lt;strong&gt;custom.properties&lt;/strong&gt;&amp;nbsp;or&amp;nbsp;if the HTTP listener has been removed from the application server configuration.&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Confirm that &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/conf/custom.properties&lt;/code&gt; has the correct and expected configurations for &lt;code&gt;MAIL_SERVER_AND_PORT&lt;/code&gt; and &lt;code&gt;MAIL_SCHEME&lt;/code&gt;. See the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Mail_Server_Setup.html#available-custom-properties" rel="noopener noreferrer" target="_blank"&gt;documentation&lt;/a&gt; for more details.&lt;/li&gt;
&lt;li&gt;Confirm that the &lt;strong&gt;standalone.xml&lt;/strong&gt; (JBoss) and &lt;strong&gt;context.xml&lt;/strong&gt; (Tomcat) configurations have declared the appropriate HTTP listener in order to accept HTTP connections.&lt;/li&gt;
&lt;li&gt;Use a networking utility to confirm connectivity to the configured HTTP endpoint.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;July 2022&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, email, application server, infrastructure&lt;/div&gt;
</description></item><item><title>KB-2052 System emails/process emails are no longer being sent with a "Connection refused" error</title><link>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error/revision/10</link><pubDate>Thu, 21 Jul 2022 17:43:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:69a74a20-8918-4832-9371-1958ba0c270a</guid><dc:creator>Maggie Deppe-Walker</dc:creator><comments>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error#comments</comments><description>Revision 10 posted to Appian Knowledge Base by Maggie Deppe-Walker on 7/21/2022 5:43:11 PM&lt;br /&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;System emails for account creation are not sent.&lt;/li&gt;
&lt;li&gt;System emails for resetting a password are not sent.&lt;/li&gt;
&lt;li&gt;Process models with &lt;strong&gt;Send Email&lt;/strong&gt; nodes are paused.&lt;/li&gt;
&lt;li&gt;The application server log will contain one of the following errors:&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled" style="overflow:auto;"&gt;
&lt;pre&gt;ERROR com.appiancorp.ra.workpoller.WorkItemListener - The following exception occurred while attempting to complete work item [(WorkId: 14, WorkType: [AbstractMailRequest: from=null, to=&amp;lt;Email&amp;gt;, subject=&amp;lt;Subject&amp;gt;], Response: null, ServerName: NotificationsEmail)] - Exception:
javax.resource.spi.work.WorkCompletedException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
&amp;hellip;
Caused by: javax.ejb.EJBException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
&amp;hellip;
Caused by: javax.net.ConnectException: Connection Refused &lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled" style="overflow:auto;"&gt;
&lt;pre&gt;&lt;br /&gt;ERROR com.appiancorp.process.workpoller.WorkItemListener - The following exception occurred &lt;span class="code-keyword"&gt;while&lt;/span&gt; attempting to complete work item [[WorkId: 247, EngineId: notifications-email, Request: MailRequest:&lt;span class="code-keyword"&gt;null&lt;/span&gt; as &lt;span class="code-keyword"&gt;null&lt;/span&gt; by &lt;span class="code-keyword"&gt;null&lt;/span&gt;, Response: &lt;span class="code-keyword"&gt;null&lt;/span&gt;]] - Exception: 
javax.resource.spi.work.WorkCompletedException: java.lang.RuntimeException: Could not prepare email &lt;span class="code-keyword"&gt;for&lt;/span&gt;: CompatibleEmailRecipients{locale=en_US, timeZone=IST, calendarId=gregorian, startPage=https:&lt;span class="code-comment"&gt;//example-startpage.com/suite/tempo, emailAddresses=[a****.com]}
&lt;/span&gt;	at org.springframework.jca.work.SimpleTaskWorkManager$DelegatingWorkAdapter.run(SimpleTaskWorkManager.java:242)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.&lt;span class="code-object"&gt;Thread&lt;/span&gt;.run(&lt;span class="code-object"&gt;Thread&lt;/span&gt;.java:748)
Caused by: java.lang.RuntimeException: Could not prepare email &lt;span class="code-keyword"&gt;for&lt;/span&gt;: CompatibleEmailRecipients{locale=en_US, timeZone=IST, calendarId=gregorian, startPage=https:&lt;span class="code-comment"&gt;//example-startpage.com/suite/tempo, emailAddresses=[a*****.com]}
&lt;/span&gt;...
Caused by: com.appiancorp.process.engine.EmailBodyException: Email body failed to render: MailBody{filename=/ntf/emailHtml/taskException_emailHtml.jsp}
...
Caused by: java.net.SocketException: Unexpected end of file from server&lt;/pre&gt;
&lt;/div&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This issue occurs when the application server is unable to connect to the HTTP endpoint to render the email body. This can occur when there is a mis-configuration in &lt;strong&gt;custom.properties&lt;/strong&gt;&amp;nbsp;or&amp;nbsp;if the HTTP listener has been removed from the application server configuration.&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Confirm that &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/conf/custom.properties&lt;/code&gt; has the correct and expected configurations for &lt;code&gt;MAIL_SERVER_AND_PORT&lt;/code&gt; and &lt;code&gt;MAIL_SCHEME&lt;/code&gt;. See the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Mail_Server_Setup.html#available-custom-properties" rel="noopener noreferrer" target="_blank"&gt;documentation&lt;/a&gt; for more details.&lt;/li&gt;
&lt;li&gt;Confirm that the &lt;strong&gt;standalone.xml&lt;/strong&gt; (JBoss) and &lt;strong&gt;context.xml&lt;/strong&gt; (Tomcat) configurations have declared the appropriate HTTP listener in order to accept HTTP connections.&lt;/li&gt;
&lt;li&gt;Use a networking utility to confirm connectivity to the configured HTTP endpoint.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;July 2022&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, email, application server, infrastructure&lt;/div&gt;
</description></item><item><title>KB-2052 System emails/process emails are no longer being sent with a "Connection refused" error</title><link>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error/revision/9</link><pubDate>Thu, 09 Jan 2020 23:53:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:69a74a20-8918-4832-9371-1958ba0c270a</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error#comments</comments><description>Revision 9 posted to Appian Knowledge Base by Parmida Borhani on 1/9/2020 11:53:55 PM&lt;br /&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;System emails for account creation are not sent.&lt;/li&gt;
&lt;li&gt;System emails for resetting a password are not sent.&lt;/li&gt;
&lt;li&gt;Process models with &lt;strong&gt;Send Email&lt;/strong&gt; nodes are paused.&lt;/li&gt;
&lt;li&gt;The application server log will contain the following errors:&lt;br /&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled" style="overflow:auto;"&gt;
&lt;pre&gt;ERROR com.appiancorp.ra.workpoller.WorkItemListener - The following exception occurred while attempting to complete work item [(WorkId: 14, WorkType: [AbstractMailRequest: from=null, to=&amp;lt;Email&amp;gt;, subject=&amp;lt;Subject&amp;gt;], Response: null, ServerName: NotificationsEmail)] - Exception:
javax.resource.spi.work.WorkCompletedException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
&amp;hellip;
Caused by: javax.ejb.EJBException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
&amp;hellip;
Caused by: javax.net.ConnectException: Connection Refused&lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This issue occurs when the application server is unable to connect to the HTTP endpoint to render the email body. This can occur when there is a mis-configuration in &lt;strong&gt;custom.properties&lt;/strong&gt;&amp;nbsp;or&amp;nbsp;if the HTTP listener has been removed from the application server configuration.&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Confirm that &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/conf/custom.properties&lt;/code&gt; has the correct and expected configurations for &lt;code&gt;MAIL_SERVER_AND_PORT&lt;/code&gt; and &lt;code&gt;MAIL_SCHEME&lt;/code&gt;. See the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Mail_Server_Setup.html#available-custom-properties" rel="noopener noreferrer" target="_blank"&gt;documentation&lt;/a&gt; for more details.&lt;/li&gt;
&lt;li&gt;Confirm that the &lt;strong&gt;standalone.xml&lt;/strong&gt; (JBoss) and &lt;strong&gt;context.xml&lt;/strong&gt; (Tomcat) configurations have declared the appropriate HTTP listener in order to accept HTTP connections.&lt;/li&gt;
&lt;li&gt;Use a networking utility to confirm connectivity to the configured HTTP endpoint.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: January 2020&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, email, application server, infrastructure&lt;/div&gt;
</description></item><item><title>KB-2052 System emails/process emails are no longer being sent with a "Connection refused" error</title><link>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error/revision/8</link><pubDate>Thu, 09 Jan 2020 23:53:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:69a74a20-8918-4832-9371-1958ba0c270a</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error#comments</comments><description>Revision 8 posted to Appian Knowledge Base by Parmida Borhani on 1/9/2020 11:53:13 PM&lt;br /&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;System emails for account creation are not sent.&lt;/li&gt;
&lt;li&gt;System emails for resetting a password are not sent.&lt;/li&gt;
&lt;li&gt;Process models with &lt;strong&gt;Send Email&lt;/strong&gt; nodes are paused.&lt;/li&gt;
&lt;li&gt;The application server log will contain the following errors:&lt;br /&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled" style="overflow:auto;"&gt;
&lt;pre&gt;ERROR com.appiancorp.ra.workpoller.WorkItemListener - The following exception occurred while attempting to complete work item [(WorkId: 14, WorkType: [AbstractMailRequest: from=null, to=&amp;lt;Email&amp;gt;, subject=&amp;lt;Subject&amp;gt;], Response: null, ServerName: NotificationsEmail)] - Exception:
javax.resource.spi.work.WorkCompletedException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
&amp;hellip;
Caused by: javax.ejb.EJBException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
&amp;hellip;
Caused by: javax.net.ConnectException: Connection Refused&lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This issue occurs when the application server is unable to connect to the HTTP endpoint to render the email body. This can occur when there is a mis-configuration in &lt;strong&gt;custom.properties&lt;/strong&gt;&amp;nbsp;or&amp;nbsp;if the HTTP listener has been removed from the application server configuration.&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Confirm that &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/conf/custom.properties&lt;/code&gt; has the correct and expected configurations for MAIL_SERVER_AND_PORT and MAIL_SCHEME. See the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Mail_Server_Setup.html#available-custom-properties" rel="noopener noreferrer" target="_blank"&gt;documentation&lt;/a&gt; for more details.&lt;/li&gt;
&lt;li&gt;Confirm that the &lt;strong&gt;standalone.xml&lt;/strong&gt; (JBoss) and &lt;strong&gt;context.xml&lt;/strong&gt; (Tomcat) configurations have declared the appropriate HTTP listener in order to accept HTTP connections.&lt;/li&gt;
&lt;li&gt;Use a networking utility to confirm connectivity to the configured HTTP endpoint.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: January 2020&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, email, application server, infrastructure&lt;/div&gt;
</description></item><item><title>KB-XXXX System emails/process emails are no longer being sent with a "Connection refused" error</title><link>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error/revision/7</link><pubDate>Thu, 09 Jan 2020 23:52:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:69a74a20-8918-4832-9371-1958ba0c270a</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error#comments</comments><description>Revision 7 posted to Appian Knowledge Base by Parmida Borhani on 1/9/2020 11:52:34 PM&lt;br /&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;System emails for account creation are not sent.&lt;/li&gt;
&lt;li&gt;System emails for resetting a password are not sent.&lt;/li&gt;
&lt;li&gt;Process models with &lt;strong&gt;Send Email&lt;/strong&gt; nodes are paused.&lt;/li&gt;
&lt;li&gt;The application server log will contain the following errors:&lt;br /&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled" style="overflow:auto;"&gt;
&lt;pre&gt;ERROR com.appiancorp.ra.workpoller.WorkItemListener - The following exception occurred while attempting to complete work item [(WorkId: 14, WorkType: [AbstractMailRequest: from=null, to=&amp;lt;Email&amp;gt;, subject=&amp;lt;Subject&amp;gt;], Response: null, ServerName: NotificationsEmail)] - Exception:
javax.resource.spi.work.WorkCompletedException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
&amp;hellip;
Caused by: javax.ejb.EJBException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
&amp;hellip;
Caused by: javax.net.ConnectException: Connection Refused&lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This issue occurs when the application server is unable to connect to the HTTP endpoint to render the email body. This can occur when there is a mis-configuration in &lt;strong&gt;custom.properties&lt;/strong&gt;&amp;nbsp;or&amp;nbsp;if the HTTP listener has been removed from the application server configuration.&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Confirm that &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/conf/custom.properties&lt;/code&gt; has the correct and expected configurations for MAIL_SERVER_AND_PORT and MAIL_SCHEME. See the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Mail_Server_Setup.html#available-custom-properties" rel="noopener noreferrer" target="_blank"&gt;documentation&lt;/a&gt; for more details.&lt;/li&gt;
&lt;li&gt;Confirm that the &lt;strong&gt;standalone.xml&lt;/strong&gt; (JBoss) and &lt;strong&gt;context.xml&lt;/strong&gt; (Tomcat) configurations have declared the appropriate HTTP listener in order to accept HTTP connections.&lt;/li&gt;
&lt;li&gt;Use a networking utility to confirm connectivity to the configured HTTP endpoint.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: January 2020&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, email, application server, infrastructure&lt;/div&gt;
</description></item><item><title>KB-XXXX System emails/process emails are no longer being sent with a "Connection refused" error</title><link>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error/revision/6</link><pubDate>Thu, 09 Jan 2020 02:26:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:69a74a20-8918-4832-9371-1958ba0c270a</guid><dc:creator>Tom Ryan</dc:creator><comments>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error#comments</comments><description>Revision 6 posted to Appian Knowledge Base by Tom Ryan on 1/9/2020 2:26:55 AM&lt;br /&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;System emails for account creation are not sent.&lt;/li&gt;
&lt;li&gt;System emails for resetting a password are not sent.&lt;/li&gt;
&lt;li&gt;Process models with &lt;strong&gt;Send Email&lt;/strong&gt; nodes are paused.&lt;/li&gt;
&lt;li&gt;The application server log will contain the following errors:&lt;br /&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled" style="overflow:auto;"&gt;
&lt;pre&gt;ERROR com.appiancorp.ra.workpoller.WorkItemListener - The following exception occurred while attempting to complete work item [(WorkId: 14, WorkType: [AbstractMailRequest: from=null, to=&amp;lt;Email&amp;gt;, subject=&amp;lt;Subject&amp;gt;], Response: null, ServerName: NotificationsEmail)] - Exception:
javax.resource.spi.work.WorkCompletedException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
&amp;hellip;
Caused by: javax.ejb.EJBException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
&amp;hellip;
Caused by: javax.net.ConnectException: Connection Refused&lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This issue occurs when the application server is unable to connect to the HTTP endpoint to render the email body. This can occur when: a) There is a mis-configuration in {{custom.properties}}, or b) the HTTP listener has been removed from the application server configuration.&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Confirm that &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/conf/custom.properties&lt;/code&gt; has the correct and expected configurations for MAIL_SERVER_AND_PORT and MAIL_SCHEME. See &lt;a href="https://docs.appian.com/suite/help/latest/Mail_Server_Setup.html#available-custom-properties" rel="noopener noreferrer" target="_blank"&gt;here&lt;/a&gt; for more details.&lt;/li&gt;
&lt;li&gt;Confirm that the &lt;strong&gt;standalone.xml&lt;/strong&gt; (JBoss) and &lt;strong&gt;Context.xml&lt;/strong&gt; (Tomcat) configurations have declared the appropriate http listener in order to accept http connections.&lt;/li&gt;
&lt;li&gt;Use a networking utility to confirm connectivity to the configured HTTP endpoint.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: January 2020&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, email, application server, infrastructure&lt;/div&gt;
</description></item><item><title>KB-XXXX System emails/process emails are no longer being sent with a "Connection refused" error</title><link>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error/revision/5</link><pubDate>Thu, 09 Jan 2020 00:20:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:69a74a20-8918-4832-9371-1958ba0c270a</guid><dc:creator>Tristan Newmann</dc:creator><comments>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error#comments</comments><description>Revision 5 posted to Appian Knowledge Base by Tristan Newmann on 1/9/2020 12:20:00 AM&lt;br /&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;System emails for account creation are not sent.&lt;/li&gt;
&lt;li&gt;System emails for resetting a password are not sent.&lt;/li&gt;
&lt;li&gt;Process models with &lt;strong&gt;Send Email&lt;/strong&gt; nodes are paused.&lt;/li&gt;
&lt;li&gt;The application server log will contain the following errors:&lt;br /&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled" style="overflow:auto;"&gt;
&lt;pre&gt;ERROR com.appiancorp.ra.workpoller.WorkItemListener - The following exception occurred while attempting to complete work item [(WorkId: 14, WorkType: [AbstractMailRequest: from=null, to=&amp;lt;Email&amp;gt;, subject=&amp;lt;Subject&amp;gt;], Response: null, ServerName: NotificationsEmail)] - Exception:
javax.resource.spi.work.WorkCompletedException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
&amp;hellip;
Caused by: javax.ejb.EJBException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
&amp;hellip;
Caused by: javax.net.ConnectException: Connection Refused&lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This issue occurs when the application server is unable to connect to the HTTP endpoint to render the email body. This can occur when: a) There is a mis-configuration in {{custom.properties}}, or b) the HTTP listener has been removed from the application server configuration.&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Confirm that &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/conf/custom.properties&lt;/code&gt; has the correct and expected configurations for MAIL_SERVER_AND_PORT and MAIL_SCHEME. See &lt;a href="https://docs.appian.com/suite/help/latest/Mail_Server_Setup.html#available-custom-properties" rel="noopener noreferrer" target="_blank"&gt;here&lt;/a&gt; for more details.&lt;/li&gt;
&lt;li&gt;Confirm that the &lt;strong&gt;standalone.xml&lt;/strong&gt; (JBoss) and &lt;strong&gt;Context.xml&lt;/strong&gt; (Tomcat) configurations have declared the appropriate http listener in order to accept http connections.&lt;/li&gt;
&lt;li&gt;Use a networking utility to confirm connectivity to the application server on the expected port.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: January 2020&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, email, application server, infrastructure&lt;/div&gt;
</description></item><item><title>KB-XXXX System emails/process emails are no longer being sent with a "Connection refused" error</title><link>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error/revision/4</link><pubDate>Mon, 06 Jan 2020 23:01:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:69a74a20-8918-4832-9371-1958ba0c270a</guid><dc:creator>Tristan Newmann</dc:creator><comments>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Tristan Newmann on 1/6/2020 11:01:36 PM&lt;br /&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;System emails for account creation are not sent.&lt;/li&gt;
&lt;li&gt;System emails for resetting a password are not sent.&lt;/li&gt;
&lt;li&gt;Process models with &lt;strong&gt;Send Email&lt;/strong&gt; nodes are paused.&lt;/li&gt;
&lt;li&gt;The application server log will contain the following errors:&lt;br /&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled" style="overflow:auto;"&gt;
&lt;pre&gt;ERROR com.appiancorp.ra.workpoller.WorkItemListener - The following exception occurred while attempting to complete work item [(WorkId: 14, WorkType: [AbstractMailRequest: from=null, to=&amp;lt;Email&amp;gt;, subject=&amp;lt;Subject&amp;gt;], Response: null, ServerName: NotificationsEmail)] - Exception:
javax.resource.spi.work.WorkCompletedException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
&amp;hellip;
Caused by: javax.ejb.EJBException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
&amp;hellip;
Caused by: javax.net.ConnectException: Connection Refused&lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The underlying cause of the issue can vary, but is usually associated with web server or application server configurations, or networking configurations.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The application server exposes and invokes an HTTP endpoint in order to generate the email body. When the application server is unable to invoke the endpoint (due to a configuration or networking issue), it will be unable to generate email bodies, and thus unable to send emails.&lt;/span&gt;&lt;span style="font-weight:400;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Confirm that &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/conf/custom.properties&lt;/code&gt; has the correct and expected configurations for MAIL_SERVER_AND_PORT and MAIL_SCHEME. See &lt;a href="https://docs.appian.com/suite/help/latest/Mail_Server_Setup.html#available-custom-properties" rel="noopener noreferrer" target="_blank"&gt;here&lt;/a&gt; for more details.&lt;/li&gt;
&lt;li&gt;Confirm that the &lt;strong&gt;standalone.xml&lt;/strong&gt; (JBoss) and &lt;strong&gt;Context.xml&lt;/strong&gt; (Tomcat) configurations have declared the appropriate http listener in order to accept http connections.&lt;/li&gt;
&lt;li&gt;Use a networking utility to confirm connectivity to the application server on the expected port.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: January 2020&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, email, application server, infrastructure&lt;/div&gt;
</description></item><item><title>KB-XXXX System emails/process emails are no longer being sent with a "Connection refused" error</title><link>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error/revision/3</link><pubDate>Mon, 06 Jan 2020 05:33:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:69a74a20-8918-4832-9371-1958ba0c270a</guid><dc:creator>Tristan Newmann</dc:creator><comments>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Tristan Newmann on 1/6/2020 5:33:20 AM&lt;br /&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;System emails for account creation are not sent.&lt;/li&gt;
&lt;li&gt;System emails for resetting a password are not sent.&lt;/li&gt;
&lt;li&gt;Process models with &lt;strong&gt;Send Email&lt;/strong&gt; nodes are paused.&lt;/li&gt;
&lt;li&gt;The application server log will contain the following errors:&lt;br /&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled" style="overflow:auto;"&gt;
&lt;pre&gt;ERROR com.appiancorp.ra.workpoller.WorkItemListener - The following exception occurred while attempting to complete work item [(WorkId: 14, WorkType: [AbstractMailRequest: from=null, to=&amp;lt;Email&amp;gt;, subject=&amp;lt;Subject&amp;gt;], Response: null, ServerName: NotificationsEmail)] - Exception:
javax.resource.spi.work.WorkCompletedException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
&amp;hellip;
Caused by: javax.ejb.EJBException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
&amp;hellip;
Caused by: javax.net.ConnectException: Connection Refused&lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The underlying cause of the issue can vary, but is usually associated with web server or application server configurations, or networking configurations.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The application server exposes and invokes an HTTP endpoint in order to generate the email body. When the application server is unable to invoke the endpoint (due to a configuration or networking issue), it will be unable to generate email bodies, and thus unable to send emails.&lt;/span&gt;&lt;span style="font-weight:400;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;Use the telnet utility to attempt to access the value declared &lt;strong&gt;custom.properties&lt;/strong&gt; for the MAIL_SERVER_AND_PORT configuration to verify network connectivity&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;Use the netstat utility to ensure that the port is being listened to by the expected OS process associated with the application server&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Confirm that &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/conf/custom.properties&lt;/code&gt; has the correct and expected configurations for MAIL_SERVER_AND_PORT and MAIL_SCHEME.&lt;/li&gt;
&lt;li&gt;Confirm that the &lt;strong&gt;standalone.xml&lt;/strong&gt; (JBoss) and &lt;strong&gt;Context.xml&lt;/strong&gt; (Tomcat) configurations have declared the appropriate http listener in order to accept http connections.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: January 2020&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, email, application server, infrastructure&lt;/div&gt;
</description></item><item><title>KB-XXXX System emails/process emails are no longer being sent with a "Connection refused" error</title><link>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error/revision/2</link><pubDate>Mon, 06 Jan 2020 00:27:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:69a74a20-8918-4832-9371-1958ba0c270a</guid><dc:creator>Tristan Newmann</dc:creator><comments>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Tristan Newmann on 1/6/2020 12:27:22 AM&lt;br /&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;System emails for account creation are not sent.&lt;/li&gt;
&lt;li&gt;System emails for resetting a password are not sent.&lt;/li&gt;
&lt;li&gt;Process models with &lt;strong&gt;Send Email&lt;/strong&gt; nodes are paused.&lt;/li&gt;
&lt;li&gt;The application server log will contain the following errors:&lt;br /&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled" style="overflow:auto;"&gt;
&lt;pre&gt;ERROR com.appiancorp.ra.workpoller.WorkItemListener - The following exception occurred while attempting to complete work item [(WorkId: 14, WorkType: [AbstractMailRequest: from=null, to=&amp;lt;Email&amp;gt;, subject=&amp;lt;Subject&amp;gt;], Response: null, ServerName: NotificationsEmail)] - Exception:
javax.resource.spi.work.WorkCompletedException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
&amp;hellip;
Caused by: javax.ejb.EJBException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
&amp;hellip;
Caused by: javax.net.ConnectException: Connection Refused&lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;In order for the application server to send an email, it exposes a HTTP endpoint that it itself invokes in order to generate the email body that will be used in the sent email. When the app server is unable to invoke the endpoint (due to a configuration or networking issue), it will be unable to generate email bodies, and thus unable to send emails.&lt;/span&gt;&lt;span style="font-weight:400;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The underlying cause of the issue can vary, but is usually associated with web server or application server configurations, or networking configurations.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Troubleshooting&lt;br /&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;Use the telnet utility to attempt to access the value declared custom.properties for the MAIL_SERVER_AND_PORT configuration to verify network connectivity&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;Use the netstat utility to ensure that the port is being listened to by the expected OS process associated with the application server&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Confirm that &amp;lt;APPIAN_HOME&amp;gt;/conf/custom.properties has the correct and expected configurations for MAIL_SERVER_AND_PORT and MAIL_SCHEME.&lt;/li&gt;
&lt;li&gt;Confirm that the standalone.xml and Context.xml configurations have declared the appropriate http/https listener in order to accept http connections.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: January 2020&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, email, application server, infrastructure&lt;/div&gt;
</description></item><item><title>KB-XXXX System emails/process emails are no longer being sent with a "Connection refused" error</title><link>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error/revision/1</link><pubDate>Mon, 06 Jan 2020 00:26:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:69a74a20-8918-4832-9371-1958ba0c270a</guid><dc:creator>Tristan Newmann</dc:creator><comments>https://community.appian.com/support/w/kb/1631/kb-2052-system-emails-process-emails-are-no-longer-being-sent-with-a-connection-refused-error#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Tristan Newmann on 1/6/2020 12:26:32 AM&lt;br /&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;System emails for account creation are not sent.&lt;/li&gt;
&lt;li&gt;System emails for resetting a password are not sent.&lt;/li&gt;
&lt;li&gt;Process models with &lt;strong&gt;Send Email&lt;/strong&gt; nodes are paused.&lt;/li&gt;
&lt;li&gt;The application server log will contain the following errors:&lt;br /&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled" style="overflow:auto;"&gt;
&lt;pre&gt;ERROR com.appiancorp.ra.workpoller.WorkItemListener - The following exception occurred while attempting to complete work item [(WorkId: 14, WorkType: [AbstractMailRequest: from=null, to=&amp;lt;Email&amp;gt;, subject=&amp;lt;Subject&amp;gt;], Response: null, ServerName: NotificationsEmail)] - Exception:
javax.resource.spi.work.WorkCompletedException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
&amp;hellip;
Caused by: javax.ejb.EJBException: com.appiancorp.process.engine.EmailBodyException: Email body failed to render
&amp;hellip;
Caused by: javax.net.ConnectException: Connection Refused&lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;In order for the application server to send an email, it exposes a HTTP endpoint that it itself invokes in order to generate the email body that will be used in the sent email. When the app server is unable to invoke the endpoint (due to a configuration or networking issue), it will be unable to generate email bodies, and thus unable to send emails.&lt;/span&gt;&lt;span style="font-weight:400;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The underlying cause of the issue can vary, but is usually associated with web server or application server configurations, or networking configurations.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Troubleshooting&lt;br /&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;Use the telnet utility to attempt to access the value declared custom.properties for the MAIL_SERVER_AND_PORT configuration to verify network connectivity&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;Use the netstat utility to ensure that the port is being listened to by the expected OS process associated with the application server&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Confirm that &amp;lt;APPIAN_HOME&amp;gt;/conf/custom.properties has the correct and expected configurations for MAIL_SERVER_AND_PORT and MAIL_SCHEME.&lt;/li&gt;
&lt;li&gt;Confirm that the standalone.xml and Context.xml configurations have declared the appropriate http/https listener in order to accept http connections.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, email, application server, infrastructure&lt;/div&gt;
</description></item></channel></rss>