SAP Knowledge Base Article - Public

2391595 - Connector fails with error "Problem connecting to SFTP Server"

Symptom

Connector run fails with following error:

com.plateausystems.connector.api.ConnectorException: com.plateausystems.connector.api.ConnectorException: Problem connecting to SFTP Server. Please check your FTP Connection Settings. Note: "com.jcraft.jsch.JSchException: Auth fail" doesn't always indicate issue with authentication. It could be caused for other reasons such as the connection timing out.

Environment

SAP SuccessFactors Learning - All Supported Versions

Reproducing the Issue

  1. Go to LMS admin side.
  2. System Admin > Connectors > select error in question. For this example it is Scheduled Offering Connector
  3. Click View Errors anc check the timestamp reported by customer. 

Cause

There is authentication failure problem connecting to SFTP Server which may be caused by incorrect credentials set in Connectors configuration for SFTP.

Resolution

  1. Test FTP Connection, Navigate to System Admin > Connectors > User Connector SF >  Click Test FTP Connection

    Check whether any errors appears when you click on "Test FTP Connection" to confirm that the issue is related to user credentials of SFTP.
    FTP connection test:
    Username and Password test:

  2. Check the user and password set in the Connector configuration for SFTP, go to System Admin > Configuration > Connectors > View

    2016-11-16_8-13-10.png

If the customer has configured encrypted passwords instead of original password in the connector configuration , then customer might face this Auth fail issue while connector run.
 
Connector encrypted passwrod :  connector.ftp.password=764cc151b436aba66b186f18af8bbb6f

Please note : The connector FTP password will be in encrypted form in the connector configurations once you click Apply Changes button. So after taking connector configuration backup , Please don't use the encrypted password. Use the original FTP password provided by the SF. This will fix the issue.

Keywords

Auth fail, Problem connecting to SFTP Server, SFTP, connector.ftp.password, connection timing out , KBA , LOD-SF-LMS-CON , Connectors , Problem

Product

SAP SuccessFactors Learning all versions