cancel
Showing results for 
Search instead for 
Did you mean: 

"com.jcraft.jsch.JSchException: Auth fail" - intermittent error in SFTP adapter

suwandi_cahyadi
Contributor

Hi,

Currently we have intermittent error for some SFTP channels with error message "com.jcraft.jsch.JSchException: Auth fail". This happens only to some third party SFTP server and occuring intermittently. I found a SAP note 2122397 explaining this error but seems for a different cause because mine is happening intermittently and it just work perfectly sometime.

What could possibly the issue for this to happen intermittently? And how to fix?

Thank you.

0 Kudos

Hi suwandi.cahyadi,

Were you able to find the cause of the issue?

Please share solution used to resolve it.

Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

azael_navarro
Active Participant
0 Kudos

Hi suwandi.cahyadi,

Let me help you, and if this solve your doubt, help me to mark this commentary as "answered" to close the thread and others can solve their issues with your doubt:

1. This can be due to an incorrect User/Password or User/Private Key combination: REFERENCE LINK

2. enabled the compression even you can follow multiple tips to solve it REFERENCE LINK

3. last tip: You can think of using tSystem component and fire commands to connect to ftp server REFERENCE LINK

Extra tip 1: Review step by step for SFTP configuration: REFERENCE LINK

Extra tip 2: this is not PI, but try to follow another configuration to see if you find some configuration in CPI (Cloud version) in order for comparision proposal: REFERENCE LINK

Extra tip 3: test-error method help to find root cause, even in external legacies, not all the issues are in PI...

Please, even let us know which option solve your issue...

Success!