Skip to main content
rohitk0006
January 25, 2024
Question

SFTP Send File - 'Auth fail' Error

  • January 25, 2024
  • 5 replies
  • 0 views

Hello,

We had recently updated the SFTP Functions plugin to v3.0.2. After the update, the SFTP Send File smart service is failing with the error "Auth fail". Third-party credentials are setup and have not changed. The plugin has access to the third party credentials. The FT_Config CDT has got updated (due to the plugin update) and has the below structure:

Smart Service Inputs:

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)

            privateKeyFile: cons!SFTP_PRIVATE_KEY   (document)

           )

           Remote File Path: /filePath

           Document To Send: Document

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

5 replies

February 24, 2025

Any answer to this issue, I'm having the same issue and not able to get the exact cause.

stefanhelzle0001
February 24, 2025

Please check the tomcat std out log file for any details.

I saw a few similar conversations recently, with the issue that the minimal SSL version in the plugin was raised, while the server insisted on an old one. This must be updated on the server level.

February 24, 2025

Hello Stefan,

Thanks for the reply, in tomcat log it says : Auth failed for methods 'publicKey'. The same set-up works fine in lower environment and the failure is only in prod environment.

No sure where could be the exact problem.