cancel
Showing results for 
Search instead for 
Did you mean: 

Exception received: com.jcraft.jsch.JSchException: connection is closed by foreign host",

Former Member
0 Kudos

Hi All,

Recently we developed a interface and deployed into PROD. We are using SFTP adapter to connect to the third party. (File to IDoc scenario) We have configured the alerts for this interface. and its working fine.


After two days its started throwing the below error at channel error and alerts are generating for every 10 minutes


"Exception received: com.jcraft.jsch.JSchException: connection is closed by foreign host",


SFTP sender channel details:

timeout: 60000

polling interval: 600 sec

I believe this error will be triggered when the PI system is trying to connect to the third party sever is not successful then these alert will triggered.  Can anyone please tell me, how to overcome this error and reduce these alerts?

Thanks in advance

Thanks

Pavan

Accepted Solutions (0)

Answers (1)

Answers (1)

azharshaikh
Active Contributor
0 Kudos

Hi,

Seems there is connection issue.

1. Please check if the user ID is having full permissions to access the file / dir

2. Port & Firewall is open & is there any change in Host side

3. Check if you have configured all steps correctly as mentioned in following link:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/305eeb5b-81e7-2f10-d8aa-9216de04c...

4. Try to connect to SFTP server using some 3rd party tool like Filezilla and check.

Hope this helps

Regards,

Azhar