SAP Knowledge Base Article - Public

2391595 - LMS - User Connector - SF run failing caused by Auth fail and Problem connecting to SFTP Server

Symptom

Connector run fails with following error: 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

SuccessFactors Learning,

Learning Managment System

Reproducing the Issue

Go to LMS admin side.

System Admin > Connectors > User Connector SF

2016-11-16_7-51-49.png

Click View Errors anc check the timestamp reported by customer. See "Caused by" field.

2016-11-16_7-57-42.png

 

 

 

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, user connector - SF, Problem connecting to SFTP Server, SFTP , KBA , LOD-SF-LMS-CON , Connectors , Problem

Product

SAP SuccessFactors Learning all versions