cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot connect to SFTP server

babruvahana
Contributor
0 Kudos

Hi All,

Scenario: File to SFTP

Authentication : Key Based

Error Log:

************

Message could not be forwarded to the JCA adapter. Reason: java.lang.Exception: Cannot connect to SFTP server. SFTP server: SFTP-SAP-PI-QA@XXXXXX.com:22; server version=. Kex=diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256. Ciphers=aes256-cbc,aes192-cbc,aes128-cbc,3des-cbc,aes256-ctr,aes192-ctr,aes128-ctr,3des-ctr,blowfish-cbc,arcfour256,arcfour128,arcfour,none. MAC=hmac-sha1,hmac-sha2-224,hmac-sha2-256,hmac-sha2-384,hmac-sha2-512,hmac-md5,hmac-sha1-96,hmac-md5-96. Compression=zlib,zlib@openssh.com,none. FIPS 140-2 compliant=false

************

We have regenerated the keys and shared with the external partner to resolve the issue. But no luck, same goes with password based authentication as well.

No issue with the firewall as well, port is open. Telnet is successful.

Can anyone check and help me out to relove this issue?

P.S: We are using Advancto SFTP adapter.

Thanks in advance!

Regards,

Pavan

Accepted Solutions (1)

Accepted Solutions (1)

former_member366655
Active Participant

Hi Pavan,

Did you try accessing the SFTP Server through some standalone application like WINSCP?

Regards,

Vivek Jain

babruvahana
Contributor
0 Kudos

Yes, we have tried with FileZilla and its fine.

Answers (1)

Answers (1)

holakac
Explorer

Hello,

can you try to track the problem with XPI inspector? Check - https://wiki.scn.sap.com/wiki/display/XI/Tracing+PI+issues+with+XPI+Inspector+tool

For B2B and SFTP adapters and modules issues:

SAP KBA 2172012 - XPI Inspector log locations for B2B adapters and modules

babruvahana
Contributor

Hi Jan,

Applogies for the delay in response.

Was occupied with other implementations.

XPI inspector helped me to debug the issue.

Issue was from the server side.

Regards,

Pavan