<?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-1114 SFTP smart service fails to connect to the destination server despite having the correct credentials</title><link>https://community.appian.com/support/w/kb/336/kb-1114-sftp-smart-service-fails-to-connect-to-the-destination-server-despite-having-the-correct-credentials</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1114 SFTP smart service fails to connect to the destination server despite having the correct credentials</title><link>https://community.appian.com/support/w/kb/336/kb-1114-sftp-smart-service-fails-to-connect-to-the-destination-server-despite-having-the-correct-credentials</link><pubDate>Fri, 24 Feb 2017 13:24:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:66182ba0-da11-4625-ab65-bb682b41a67b</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/336/kb-1114-sftp-smart-service-fails-to-connect-to-the-destination-server-despite-having-the-correct-credentials#comments</comments><description>Current Revision posted to Appian Knowledge Base by Nick Vigilante on 2/24/2017 1:24:47 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The SFTP plug-in fails to connect to the server despite having the right credentials. You can connect to the file server from outside Appian using the same credentials. The following messages are seen in the logs&lt;/p&gt;
&lt;pre&gt;ERROR [stderr] (Appian Work Item : UnattendedJavaActivityRequest) java.net.UnknownHostException: ###Incorrect connection string#

INFO  [stdout] (Appian Work Item : UnattendedJavaActivityRequest) com.appiancorp.suiteapi.process.exceptions.SmartServiceException: userMsg[error.sftp_conn=Error establishing SFTP connection. Confirm your hostname, username and password. See application server log for more details.]
&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;If the connection string in the java.net.UnknownHostException part of the log message is not correct, this is likely caused by at least one &amp;#39;@&amp;#39; character in the password of the credentials.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;Reset the password of the account on the file server to exclude the &amp;#39;@&amp;#39; character. Update the credentials on the Appian side and attempt to connect again.&lt;/p&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;/div&gt;
&lt;p&gt;Last Reviewed: February 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: plug-ins&lt;/div&gt;
</description></item></channel></rss>