Skip to main content
jarunb0001
July 8, 2024
Question

SFTP Send File - 'Connection refused' Error

  • July 8, 2024
  • 1 reply
  • 0 views

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!

 

1 reply

July 8, 2024
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).