<?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-1577 "Expected 256, was 257" exception regarding Appian engine security token prevents engine startup</title><link>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1577 "Expected 256, was 257" exception regarding Appian engine security token prevents engine startup</title><link>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup</link><pubDate>Fri, 01 Aug 2025 15:50:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cec23e70-fc97-4da1-903e-af5ea392171a</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup#comments</comments><description>Current Revision posted to Appian Knowledge Base by pauline.delacruz on 8/1/2025 3:50:51 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Appian engines fail to reach RUNNING state, PRIMARY mode, and the following exception is printed in the&amp;nbsp;&lt;strong&gt;service_manager.log&amp;nbsp;&lt;/strong&gt;file (located at&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;):&lt;/p&gt;
&lt;div class="content-scrollable-wrapper content-scrollable-wrapper-scrolled"&gt;
&lt;pre&gt;java.lang.IllegalArgumentException: byte array given isn&amp;#39;t the right length. Expected 256, was 257.&lt;br /&gt; at com.google.common.base.Preconditions.checkArgument(Preconditions.java:146) ~[guava-19.0.jar:?]&lt;br /&gt; at com.appian.komodo.gateway.model.SecurityToken.fromInputStream(SecurityToken.java:49) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule.provideSecurityToken(ConfigurationModule.java:212) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule_ProvideSecurityTokenFactory.get(ConfigurationModule_ProvideSecurityTokenFactory.java:31) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule_ProvideSecurityTokenFactory.get(ConfigurationModule_ProvideSecurityTokenFactory.java:10) ~[core-1.83.0.jar:1.83.0]&lt;/pre&gt;
&lt;/div&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The alpha-numeric string in the Appian engine security token,&amp;nbsp;&lt;strong&gt;appian.sec&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;(located at&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/conf&lt;/code&gt;), is being read as having 257 characters instead of 256 characters. This can happen when the&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file is opened, even when the string contained in the file is not altered.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Complete one of the following steps to resolve this issue:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Generate a new Custom Security Token using the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Engine_Connection_Restrictions.html"&gt;Appian documentation&lt;/a&gt;&amp;nbsp;and replace the existing&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file. Upon saving the file, ensure that the file contains exactly 256 characters.&lt;/li&gt;
&lt;li&gt;Delete the last character of the alpha-numeric string contained in the current&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file. Upon saving the file, ensure that the file contains exactly 256 characters.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&amp;nbsp;&lt;/strong&gt;for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/latest/High_Availability_and_Distributed_Installations.html#engine-security-token"&gt;High Availability and Distributed Installations&lt;/a&gt;, the&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file must be exactly the same across each server to enable authorized connections between the engines and specified application servers.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: July 2025&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>KB-1577 "Expected 256, was 257" exception regarding Appian engine security token prevents engine startup</title><link>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup/revision/10</link><pubDate>Mon, 23 Jul 2018 03:17:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cec23e70-fc97-4da1-903e-af5ea392171a</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup#comments</comments><description>Revision 10 posted to Appian Knowledge Base by Parmida Borhani on 7/23/2018 3:17:38 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Appian engines fail to reach RUNNING state, PRIMARY mode, and the following exception is printed in the&amp;nbsp;&lt;strong&gt;service_manager.log&amp;nbsp;&lt;/strong&gt;file (located at &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;):&lt;/p&gt;
&lt;pre&gt;java.lang.IllegalArgumentException: byte array given isn&amp;#39;t the right length. Expected 256, was 257.&lt;br /&gt; at com.google.common.base.Preconditions.checkArgument(Preconditions.java:146) ~[guava-19.0.jar:?]&lt;br /&gt; at com.appian.komodo.gateway.model.SecurityToken.fromInputStream(SecurityToken.java:49) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule.provideSecurityToken(ConfigurationModule.java:212) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule_ProvideSecurityTokenFactory.get(ConfigurationModule_ProvideSecurityTokenFactory.java:31) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule_ProvideSecurityTokenFactory.get(ConfigurationModule_ProvideSecurityTokenFactory.java:10) ~[core-1.83.0.jar:1.83.0]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The alpha-numeric string in the Appian engine security token,&amp;nbsp;&lt;strong&gt;appian.sec &lt;/strong&gt;(located at &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf&lt;/code&gt;), is being read as having 257 characters instead of 256 characters. This can happen when the&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file is opened, even when the string contained in the file is not altered.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Complete one of the following steps to resolve this issue:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Generate a new Custom Security Token using the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Engine_Connection_Restrictions.html"&gt;Appian documentation&lt;/a&gt;&amp;nbsp;and replace the existing &lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file. Upon saving the file, ensure that the file contains exactly 256 characters.&lt;/li&gt;
&lt;li&gt;Delete the last character of the alpha-numeric string contained in the current&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file. Upon saving the file, ensure that the file contains exactly 256 characters.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&amp;nbsp;&lt;/strong&gt;for &lt;a href="https://docs.appian.com/suite/help/latest/High_Availability_and_Distributed_Installations.html#engine-security-token"&gt;High Availability and Distributed Installations&lt;/a&gt;, the&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file must be exactly the same across each server to enable authorized connections between the engines and specified application servers.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: May 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>KB-1577 "Expected 256, was 257" exception regarding Appian engine security token prevents engine startup</title><link>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup/revision/9</link><pubDate>Tue, 08 May 2018 05:35:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cec23e70-fc97-4da1-903e-af5ea392171a</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup#comments</comments><description>Revision 9 posted to Appian Knowledge Base by Parmida Borhani on 5/8/2018 5:35:01 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Appian engines fail to reach RUNNING state, PRIMARY mode, and the following exception is printed in the&amp;nbsp;&lt;strong&gt;service_manager.log&amp;nbsp;&lt;/strong&gt;file (located at &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;):&lt;/p&gt;
&lt;pre&gt;java.lang.IllegalArgumentException: byte array given isn&amp;#39;t the right length. Expected 256, was 257.&lt;br /&gt; at com.google.common.base.Preconditions.checkArgument(Preconditions.java:146) ~[guava-19.0.jar:?]&lt;br /&gt; at com.appian.komodo.gateway.model.SecurityToken.fromInputStream(SecurityToken.java:49) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule.provideSecurityToken(ConfigurationModule.java:212) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule_ProvideSecurityTokenFactory.get(ConfigurationModule_ProvideSecurityTokenFactory.java:31) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule_ProvideSecurityTokenFactory.get(ConfigurationModule_ProvideSecurityTokenFactory.java:10) ~[core-1.83.0.jar:1.83.0]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The alpha-numeric string in the Appian engine security token,&amp;nbsp;&lt;strong&gt;appian.sec &lt;/strong&gt;(located at &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf&lt;/code&gt;), is being read as having 257 characters instead of 256 characters. This can happen when the&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file is opened, even when the string contained in the file is not altered.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Complete one of the following steps to resolve this issue:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Generate a new Custom Security Token using the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Engine_Connection_Restrictions.html"&gt;Appian documentation&lt;/a&gt;&amp;nbsp;and replace the existing &lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file. Upon saving the file, ensure that the file contains exactly 256 characters.&lt;/li&gt;
&lt;li&gt;Delete the last character of the alpha-numeric string contained in the current&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file. Upon saving the file, ensure that the file contains exactly 256 characters.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&amp;nbsp;&lt;/strong&gt;for &lt;a href="https://docs.appian.com/suite/help/latest/High_Availability_and_Distributed_Installations.html#engine-security-token"&gt;High Availability and Distributed Installations&lt;/a&gt;, the&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file must be exactly the same across each server to enable authorized connections between the engines and specified application servers.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: May 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, service manager&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX "Expected 256, was 257" exception regarding Appian engine security token prevents engine startup</title><link>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup/revision/8</link><pubDate>Fri, 04 May 2018 09:11:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cec23e70-fc97-4da1-903e-af5ea392171a</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup#comments</comments><description>Revision 8 posted to Appian Knowledge Base by Jordan Horwat on 5/4/2018 9:11:08 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Appian engines fail to reach RUNNING state, PRIMARY mode, and the following exception is printed in the&amp;nbsp;&lt;strong&gt;service_manager.log&amp;nbsp;&lt;/strong&gt;file (located at &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;):&lt;/p&gt;
&lt;pre&gt;java.lang.IllegalArgumentException: byte array given isn&amp;#39;t the right length. Expected 256, was 257.&lt;br /&gt; at com.google.common.base.Preconditions.checkArgument(Preconditions.java:146) ~[guava-19.0.jar:?]&lt;br /&gt; at com.appian.komodo.gateway.model.SecurityToken.fromInputStream(SecurityToken.java:49) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule.provideSecurityToken(ConfigurationModule.java:212) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule_ProvideSecurityTokenFactory.get(ConfigurationModule_ProvideSecurityTokenFactory.java:31) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule_ProvideSecurityTokenFactory.get(ConfigurationModule_ProvideSecurityTokenFactory.java:10) ~[core-1.83.0.jar:1.83.0]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The alpha-numeric string in the Appian engine security token,&amp;nbsp;&lt;strong&gt;appian.sec &lt;/strong&gt;(located at &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf&lt;/code&gt;), is being read as having 257 characters instead of 256 characters. This can happen when the&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file is opened, even when the string contained in the file is not altered.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Complete one of the following steps to resolve this issue:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Generate a new Custom Security Token using the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Engine_Connection_Restrictions.html"&gt;Appian documentation&lt;/a&gt;&amp;nbsp;and replace the existing &lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file. Upon saving the file, ensure that the file contains exactly 256 characters.&lt;/li&gt;
&lt;li&gt;Delete the last character of the alpha-numeric string contained in the current&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file. Upon saving the file, ensure that the file contains exactly 256 characters.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&amp;nbsp;&lt;/strong&gt;for &lt;a href="https://docs.appian.com/suite/help/latest/High_Availability_and_Distributed_Installations.html#engine-security-token"&gt;High Availability and Distributed Installations&lt;/a&gt;, the&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file must be exactly the same across each server to enable authorized connections between the engines and specified application servers.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: May 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, service manager&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX</title><link>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup/revision/1</link><pubDate>Thu, 03 May 2018 14:27:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cec23e70-fc97-4da1-903e-af5ea392171a</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Jordan Horwat on 5/3/2018 2:27:23 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Appian engines fail to reach RUNNING state, PRIMARY mode, and the following exception is printed in the&amp;nbsp;&lt;strong&gt;service_manager.log&amp;nbsp;&lt;/strong&gt;file (located at &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;):&lt;/p&gt;
&lt;pre&gt;java.lang.IllegalArgumentException: byte array given isn&amp;#39;t the right length. Expected 256, was 257.&lt;br /&gt; at com.google.common.base.Preconditions.checkArgument(Preconditions.java:146) ~[guava-19.0.jar:?]&lt;br /&gt; at com.appian.komodo.gateway.model.SecurityToken.fromInputStream(SecurityToken.java:49) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule.provideSecurityToken(ConfigurationModule.java:212) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule_ProvideSecurityTokenFactory.get(ConfigurationModule_ProvideSecurityTokenFactory.java:31) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule_ProvideSecurityTokenFactory.get(ConfigurationModule_ProvideSecurityTokenFactory.java:10) ~[core-1.83.0.jar:1.83.0]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The alpha-numeric string in the Appian Engine Security Token,&amp;nbsp;&lt;strong&gt;appian.sec &lt;/strong&gt;(located at &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf&lt;/code&gt;), is being read as having 257 characters instead of 256 characters. This can happen when the&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file is opened, even when the string contained in the file is not altered.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX "Expected 256, was 257" exception regarding Appian Engine Security Token prevents engine startup</title><link>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup/revision/7</link><pubDate>Thu, 03 May 2018 11:08:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cec23e70-fc97-4da1-903e-af5ea392171a</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup#comments</comments><description>Revision 7 posted to Appian Knowledge Base by Jordan Horwat on 5/3/2018 11:08:02 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Appian engines fail to reach RUNNING state, PRIMARY mode, and the following exception is printed in the&amp;nbsp;&lt;strong&gt;service_manager.log&amp;nbsp;&lt;/strong&gt;file (located at &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;):&lt;/p&gt;
&lt;pre&gt;java.lang.IllegalArgumentException: byte array given isn&amp;#39;t the right length. Expected 256, was 257.&lt;br /&gt; at com.google.common.base.Preconditions.checkArgument(Preconditions.java:146) ~[guava-19.0.jar:?]&lt;br /&gt; at com.appian.komodo.gateway.model.SecurityToken.fromInputStream(SecurityToken.java:49) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule.provideSecurityToken(ConfigurationModule.java:212) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule_ProvideSecurityTokenFactory.get(ConfigurationModule_ProvideSecurityTokenFactory.java:31) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule_ProvideSecurityTokenFactory.get(ConfigurationModule_ProvideSecurityTokenFactory.java:10) ~[core-1.83.0.jar:1.83.0]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The alpha-numeric string in the &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Engine_Connection_Restrictions.html"&gt;Appian Engine Security Token&lt;/a&gt;,&amp;nbsp;&lt;strong&gt;appian.sec &lt;/strong&gt;(located at &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf&lt;/code&gt;), is being read as having 257 characters instead of 256 characters. This can happen when the&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file is opened, even when the string contained in the file is not altered.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Complete one of the following steps to resolve this issue:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Generate a new Custom Security Token using the following &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Engine_Connection_Restrictions.html"&gt;Appian documentation&lt;/a&gt;&amp;nbsp;and replace the existing &lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file. Upon saving the file, ensure that the file contains exactly 256 characters.&lt;/li&gt;
&lt;li&gt;Delete the last character of the alpha-numeric string contained in the current&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file. Upon saving the file, ensure that the file contains exactly 256 characters.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&amp;nbsp;&lt;/strong&gt;for &lt;a href="https://docs.appian.com/suite/help/latest/High_Availability_and_Distributed_Installations.html#engine-security-token"&gt;High Availability and Distributed Installations&lt;/a&gt;, the&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file must be exactly the same across each server to enable authorized connections between the engines and specified application servers.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: May 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, service manager&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX "Expected 256, was 257" exception regarding Appian Engine Security Token prevents engine startup</title><link>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup/revision/6</link><pubDate>Thu, 03 May 2018 11:05:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cec23e70-fc97-4da1-903e-af5ea392171a</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup#comments</comments><description>Revision 6 posted to Appian Knowledge Base by Jordan Horwat on 5/3/2018 11:05:05 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Appian engines fail to reach RUNNING state, PRIMARY mode, and the following exception is printed in the&amp;nbsp;&lt;strong&gt;service_manager.log&amp;nbsp;&lt;/strong&gt;file (located at &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;):&lt;/p&gt;
&lt;pre&gt;java.lang.IllegalArgumentException: byte array given isn&amp;#39;t the right length. Expected 256, was 257.&lt;br /&gt; at com.google.common.base.Preconditions.checkArgument(Preconditions.java:146) ~[guava-19.0.jar:?]&lt;br /&gt; at com.appian.komodo.gateway.model.SecurityToken.fromInputStream(SecurityToken.java:49) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule.provideSecurityToken(ConfigurationModule.java:212) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule_ProvideSecurityTokenFactory.get(ConfigurationModule_ProvideSecurityTokenFactory.java:31) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule_ProvideSecurityTokenFactory.get(ConfigurationModule_ProvideSecurityTokenFactory.java:10) ~[core-1.83.0.jar:1.83.0]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The alpha-numeric string in the &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Engine_Connection_Restrictions.html"&gt;Appian Engine Security Token&lt;/a&gt;,&amp;nbsp;&lt;strong&gt;appian.sec &lt;/strong&gt;(located at &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf&lt;/code&gt;), is being read as having 257 characters instead of 256 characters. This can happen when the&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file is opened, even when the string contained in the file is not altered.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;One of the following steps can be taken to resolve the issue:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Generate a new Custom Security Token using the following &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Engine_Connection_Restrictions.html"&gt;Appian documentation&lt;/a&gt;&amp;nbsp;and replace the existing &lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file. Upon saving the file, ensure that the file contains exactly 256 characters.&lt;/li&gt;
&lt;li&gt;Delete the last character of the alpha-numeric string contained in the current&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file. Upon saving the file, ensure that the file contains exactly 256 characters.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&amp;nbsp;&lt;/strong&gt;for &lt;a href="https://docs.appian.com/suite/help/latest/High_Availability_and_Distributed_Installations.html#engine-security-token"&gt;High Availability and Distributed Installations&lt;/a&gt;, the&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file must be exactly the same across each server to enable authorized connections between the engines and specified application servers.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: May 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, service manager&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX "Expected 256, was 257" exception regarding Appian Engine Security Token prevents engine startup</title><link>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup/revision/5</link><pubDate>Thu, 03 May 2018 11:01:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cec23e70-fc97-4da1-903e-af5ea392171a</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup#comments</comments><description>Revision 5 posted to Appian Knowledge Base by Jordan Horwat on 5/3/2018 11:01:22 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Appian engines fail to reach RUNNING state, PRIMARY mode, and the following exception is printed in the&amp;nbsp;&lt;strong&gt;service_manager.log&amp;nbsp;&lt;/strong&gt;file (located at &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;):&lt;/p&gt;
&lt;pre&gt;java.lang.IllegalArgumentException: byte array given isn&amp;#39;t the right length. Expected 256, was 257.&lt;br /&gt; at com.google.common.base.Preconditions.checkArgument(Preconditions.java:146) ~[guava-19.0.jar:?]&lt;br /&gt; at com.appian.komodo.gateway.model.SecurityToken.fromInputStream(SecurityToken.java:49) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule.provideSecurityToken(ConfigurationModule.java:212) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule_ProvideSecurityTokenFactory.get(ConfigurationModule_ProvideSecurityTokenFactory.java:31) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule_ProvideSecurityTokenFactory.get(ConfigurationModule_ProvideSecurityTokenFactory.java:10) ~[core-1.83.0.jar:1.83.0]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The alpha-numeric string in the &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Engine_Connection_Restrictions.html"&gt;Appian Engine Security Token&lt;/a&gt;,&amp;nbsp;&lt;strong&gt;appian.sec &lt;/strong&gt;(located at &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf&lt;/code&gt;), is being read as having 257 characters instead of 256 characters. This can happen when the&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file is opened, even when the string contained in the file is not altered.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;One of the following steps can be taken to resolve the issue:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Generate a new Custom Security Token using the following &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Engine_Connection_Restrictions.html"&gt;Appian documentation&lt;/a&gt;. Upon saving the file, ensure that the file contains exactly 256 characters.&lt;/li&gt;
&lt;li&gt;Delete the last character of the alpha-numeric string contained in the current&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file. Upon saving the file, ensure that the file contains exactly 256 characters.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&amp;nbsp;&lt;/strong&gt;for &lt;a href="https://docs.appian.com/suite/help/latest/High_Availability_and_Distributed_Installations.html#engine-security-token"&gt;High Availability and Distributed Installations&lt;/a&gt;, the&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file must be exactly the same across each server to enable authorized connections between the engines and specified application servers.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: May 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, service manager&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX "Expected 256, was 257" exception regarding the Appian Engine Security Token causes Appian engine startup to fail</title><link>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup/revision/4</link><pubDate>Thu, 03 May 2018 10:54:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cec23e70-fc97-4da1-903e-af5ea392171a</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Jordan Horwat on 5/3/2018 10:54:58 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Appian engines fail to reach RUNNING state, PRIMARY mode, and the following exception is printed in the&amp;nbsp;&lt;strong&gt;service_manager.log&amp;nbsp;&lt;/strong&gt;file (located at &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;):&lt;/p&gt;
&lt;pre&gt;java.lang.IllegalArgumentException: byte array given isn&amp;#39;t the right length. Expected 256, was 257.&lt;br /&gt; at com.google.common.base.Preconditions.checkArgument(Preconditions.java:146) ~[guava-19.0.jar:?]&lt;br /&gt; at com.appian.komodo.gateway.model.SecurityToken.fromInputStream(SecurityToken.java:49) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule.provideSecurityToken(ConfigurationModule.java:212) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule_ProvideSecurityTokenFactory.get(ConfigurationModule_ProvideSecurityTokenFactory.java:31) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule_ProvideSecurityTokenFactory.get(ConfigurationModule_ProvideSecurityTokenFactory.java:10) ~[core-1.83.0.jar:1.83.0]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The alpha-numeric string in the &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Engine_Connection_Restrictions.html"&gt;Appian Engine Security Token&lt;/a&gt;,&amp;nbsp;&lt;strong&gt;appian.sec &lt;/strong&gt;(located at &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf&lt;/code&gt;), is being read as having 257 characters instead of 256 characters. This can happen when the&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file is opened, even when the string contained in the file is not altered.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;One of the following steps can be taken to resolve the issue:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Generate a new Custom Security Token using the following &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Engine_Connection_Restrictions.html"&gt;Appian documentation&lt;/a&gt;. Upon saving the file, ensure that the file contains exactly 256 characters.&lt;/li&gt;
&lt;li&gt;Delete the last character of the alpha-numeric string contained in the current&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file. Upon saving the file, ensure that the file contains exactly 256 characters.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&amp;nbsp;&lt;/strong&gt;for &lt;a href="https://docs.appian.com/suite/help/latest/High_Availability_and_Distributed_Installations.html#engine-security-token"&gt;High Availability and Distributed Installations&lt;/a&gt;, the&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file must be exactly the same across each server to enable authorized connections between the engines and specified application servers.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: May 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, service manager&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX</title><link>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup/revision/3</link><pubDate>Thu, 03 May 2018 10:47:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cec23e70-fc97-4da1-903e-af5ea392171a</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Jordan Horwat on 5/3/2018 10:47:10 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Appian engines fail to reach RUNNING state, PRIMARY mode, and the following exception is printed in the&amp;nbsp;&lt;strong&gt;service_manager.log&amp;nbsp;&lt;/strong&gt;file (located at &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;):&lt;/p&gt;
&lt;pre&gt;java.lang.IllegalArgumentException: byte array given isn&amp;#39;t the right length. Expected 256, was 257.&lt;br /&gt; at com.google.common.base.Preconditions.checkArgument(Preconditions.java:146) ~[guava-19.0.jar:?]&lt;br /&gt; at com.appian.komodo.gateway.model.SecurityToken.fromInputStream(SecurityToken.java:49) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule.provideSecurityToken(ConfigurationModule.java:212) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule_ProvideSecurityTokenFactory.get(ConfigurationModule_ProvideSecurityTokenFactory.java:31) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule_ProvideSecurityTokenFactory.get(ConfigurationModule_ProvideSecurityTokenFactory.java:10) ~[core-1.83.0.jar:1.83.0]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The alpha-numeric string in the &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Engine_Connection_Restrictions.html"&gt;Appian Engine Security Token&lt;/a&gt;,&amp;nbsp;&lt;strong&gt;appian.sec &lt;/strong&gt;(located at &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf&lt;/code&gt;), is being read as having 257 characters instead of 256 characters. This can happen when the&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file is opened, even when the string contained in the file is not altered.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;One of the following steps can be taken to resolve the issue:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Generate a new Custom Security Token using the following &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Engine_Connection_Restrictions.html"&gt;Appian documentation&lt;/a&gt;. Upon saving the file, ensure that the file contains exactly 256 characters.&lt;/li&gt;
&lt;li&gt;Delete the last character of the alpha-numeric string contained in the current&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file. Upon saving the file, ensure that the file contains exactly 256 characters.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&amp;nbsp;&lt;/strong&gt;for &lt;a href="https://docs.appian.com/suite/help/latest/High_Availability_and_Distributed_Installations.html#engine-security-token"&gt;High Availability and Distributed Installations&lt;/a&gt;, the&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file must be exactly the same across each server to enable authorized connections between the engines and specified application servers.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: May 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, service manager&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX</title><link>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup/revision/2</link><pubDate>Thu, 03 May 2018 10:46:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cec23e70-fc97-4da1-903e-af5ea392171a</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/964/kb-1577-expected-256-was-257-exception-regarding-appian-engine-security-token-prevents-engine-startup#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Jordan Horwat on 5/3/2018 10:46:41 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Appian engines fail to reach RUNNING state, PRIMARY mode, and the following exception is printed in the&amp;nbsp;&lt;strong&gt;service_manager.log&amp;nbsp;&lt;/strong&gt;file (located at &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;):&lt;/p&gt;
&lt;pre&gt;java.lang.IllegalArgumentException: byte array given isn&amp;#39;t the right length. Expected 256, was 257.&lt;br /&gt; at com.google.common.base.Preconditions.checkArgument(Preconditions.java:146) ~[guava-19.0.jar:?]&lt;br /&gt; at com.appian.komodo.gateway.model.SecurityToken.fromInputStream(SecurityToken.java:49) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule.provideSecurityToken(ConfigurationModule.java:212) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule_ProvideSecurityTokenFactory.get(ConfigurationModule_ProvideSecurityTokenFactory.java:31) ~[core-1.83.0.jar:1.83.0]&lt;br /&gt; at com.appian.komodo.config.ConfigurationModule_ProvideSecurityTokenFactory.get(ConfigurationModule_ProvideSecurityTokenFactory.java:10) ~[core-1.83.0.jar:1.83.0]&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The alpha-numeric string in the &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Engine_Connection_Restrictions.html"&gt;Appian Engine Security Token&lt;/a&gt;,&amp;nbsp;&lt;strong&gt;appian.sec &lt;/strong&gt;(located at &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf&lt;/code&gt;), is being read as having 257 characters instead of 256 characters. This can happen when the&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file is opened, even when the string contained in the file is not altered.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;One of the following steps can be taken to resolve the issue:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Generate a new Custom Security Token using the following &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Engine_Connection_Restrictions.html"&gt;Appian documentation&lt;/a&gt;. Upon saving the file, ensure that the file contains exactly 256 characters.&lt;/li&gt;
&lt;li&gt;Delete the last character of the alpha-numeric string contained in the current&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file. Upon saving the file, ensure that the file contains exactly 256 characters.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&amp;nbsp;&lt;/strong&gt;for &lt;a href="https://docs.appian.com/suite/help/latest/High_Availability_and_Distributed_Installations.html#engine-security-token"&gt;High Availability and Distributed Installations&lt;/a&gt;, ensure that these changes are reflected across each server. The&amp;nbsp;&lt;strong&gt;appian.sec&amp;nbsp;&lt;/strong&gt;file must be exactly the same across each server to enable authorized connections between the engines and specified application servers.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: May 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, service manager&lt;/div&gt;
</description></item></channel></rss>