cancel
Showing results for 
Search instead for 
Did you mean: 

Alerts messages as Exception received-error for SFTP adapter

sahithi_moparthi
Contributor
0 Kudos


Hi All,

Our Scenario is SFTP to IDOC.The file is being picked up from target folder by SFTP and created IDOC at the target side.

But we are receiving the Alert messages with the below exception.We could not see any failed messages in our PI system.

 

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

Could you please let us know why we are receiving this error,eventhough there is no failure in PI.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I can confirm what Praveen writes.

We also had the problem once. The especially happens, if you have multiple SFTP-Sender channels polling to one SFTP-Server.

In this case, you should try to schedule the channels so they don't poll all at the same time.

sahithi_moparthi
Contributor
0 Kudos

Hi All,

Thanks for your reply!!!

But here we have only one SFTP sender channel and 3 SFTP receiver channels which are connecting to the same server.

In this case also do we need to ask the third party vendor to allow more coonections ?

Former Member
0 Kudos

Hi Sahithi,

What's the connection mode that you are using in your channels? Hope you are using the same credentials in all the channels. It's better to use Connection mode as "Permanently" as it will use an existing connection rather than making a new connection every time.

Refer the following links for more inputs.

http://help.sap.com/saphelp_nwpi711/helpdata/en/44/655453b48a4ddfe10000000a1553f7/frameset.htm

http://scn.sap.com/thread/1870806

Let me know if this solves your issue.

Regards

Charan

sahithi_moparthi
Contributor
0 Kudos


Hi,

Can anyone help on the above query?

Still we are receiving the alert emails continously,but could not see any error messages in PI  for inbound scenario.But incase of outbound the messages are failing with the same error and available in PI.

Could you please let us know how to resolve this issue.We can able to connect to SFTP server using Winscp and could not see any issue from their side.

former_member184720
Active Contributor
0 Kudos

use XPI inspector and capture additional information about the error. Unfortunately channel does not provide much details about the issue.

former_member182412
Active Contributor
0 Kudos

Hi Sahithi,

It seems like your SFTP server has some limit for number of concurrent connections from PI, You can speak to your SFTP server vendor to allow more connections.

Regards,

Praveen.