on 07-20-2020 5:23 PM
Hi Experts,
We are trying connect to external SFTP server from SAP CPI. external partner whitelisted CPI IP address range.We have selected proxy type "internet". But still, we are getting below error.
org.apache.camel.component.file.GenericFileOperationFailedException: Cannot connect to sftp://XXXXX@XX.XXXX.com:22, cause: com.jcraft.jsch.JSchException: timeout: socket is not established.
Please let me know if any suggestions to resolve the issue.
Hi Venkat,
From CPI perspective adding Host key entries are sufficient. Please contact your network team and Admin from SFTP end and if its accessible from outside network. Since is CPI is over internet if there are any specific restriction on SFTP server side that is maintained.
In addition you could check if its password based is only there or Certificate based authentication is allowed.
thanks and regards,
Praveen T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi gv.anjankumar,
Have you added the know host entry on SAP-CPI tenant.
https://launchpad.support.sap.com/#/notes/0002700759
Please find the SAP note for more details.
thanks and regards,
Praveen T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi gv.anjankumar
Did you added the known host entry.
thanks and regrads,
Praveen t
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Venkat,
Please try to test connectivity from monitoring tail to make sure you are able to connect to SFTP server.
Alo increase the time out to see if target SFTP is taking more time to respond.
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Sriprasad for your response.
I tested the connectivity using "Test connectivity", getting the same error. Also tried by increasing timeout, this time its giving below error:
org.apache.camel.component.file.GenericFileOperationFailedException: Cannot connect to sftp://XXXX@XX.XXXX.com:22, cause: com.jcraft.jsch.JSchException: ProxySOCKS5: server returns 2
Note: Got the same "Socket is not established" error when tried to connect from SAP PO. But after enabling the firewall at our end, its started working in PO.
Are we missing any additional settings that needs to be done in CPI.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.