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."

Environment

SAP SuccessFactors Learning

Reproducing the Issue

  1. Go to Learning Administration side >
  2. System Administration >
  3. Connectors >
  4. Select the connector in question >
  5. Click on "View Errors" and check the error.

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. Go to Learning Administration > System Administration > Connectors > Access the desired connector > Click on "Test FTP Connection" > Check whether any error appears when you click "Test FTP Connectionto confirm that the issue is related to user credentials of SFTP >
  2. Review the configuration configuration of the SFTP connection in Learning Administration > System Administration > Configuration > CONNECTORS:
    • connector.ftp.server=
      connector.ftp.port=22
      connector.ftp.userID=
      connector.ftp.password=
    • Ensure the properties configured here will enable the connector to connect and fetch the files from the ftp folder specified. Details of each property is as:
      • connector.ftp.server - this is your sftp url.
      • connector.ftp.userID - this is login username for sftp.
      • connector.ftp.password - this is the password for the sftp username.

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.

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

lms, learning, sf, successfactors, 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