SAP Knowledge Base Article - Public

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

Symptom

Connector run fails with the 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.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

SAP SuccessFactors Learning

Reproducing the Issue

  1. Learning admin side >
  2. System Admin > Connectors > Select the connector in question >
  3. Click View Errors and check the timestamp. 

Cause

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

Resolution

  1. Test FTP Connection > System Admin > Connectors > Access the desired connector >  Click Test FTP Connection >

    Check whether any error appears when you click "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 the SFTP > System Admin > Configuration > CONNECTORS > View.



If the encrypted password was configured instead of the original password, in the CONNECTOR configuration, then it is possible to face the auth fail issue while running the connector.
 
Connector encrypted password:  connector.ftp.password=764cc151b436aba66b186f18af8bbb6f

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

Keywords

auth, fail, problem, connection, connecting, sftp, server, connector.ftp.password, timing, time, out, connector , KBA , LOD-SF-LMS-CON , Connectors , LOD-SF-LMS , Learning Management System , Problem

Product

SAP SuccessFactors Learning all versions