SFTP Send File - 'Connection refused' Error

Hello,

SFTP Send File smart service is failing with the error Connection refused. Third-party credentials are setup and have not changed. The plugin has access to the third party credentials.



We are passing the values to the smart service as below:

            File Transfer Configurations: 'type!{plugins.ps.appiancorp.com/.../}FT_Config'(

            serverHostName: cons!SFTP_HOST_NAME, (text)

            serverPort: cons!SFTP_SERVER_PORT_NUMBER, (integer)

            scsExternalSystemKey: cons!SFTP_EXTERNAL_SYSTEM_KEY, (text)

            usePerUserCredentials: false(), (boolean)

           )

           Remote File Path: /filePath/fileName.pdf

           Document To Send: Document

Can you please let me know what is causing the error? Thank you in advance!

 

  Discussion posts and replies are publicly visible

  • 0
    Certified Associate Developer
    AFAIK, this error can come in multiple scenarios:
    • Port Number is changed
    • Your Appian server's IP address is blacklisted by the FTP server (some FTP servers blacklist client IP address if the client does multiple failed auth requests in a short period)
    • connection is being blocked by a Firewall 
    Check FTP server logs for more details. Also, try to connect the FTP server using FTP clients (FileZila, WinSCP, etc).