Showing results for 
Search instead for 
Did you mean: 

SFTP Sender Adapter + Exception received: com.jcraft.jsch.JSchException: Session.connect: Read timed out

0 Kudos

Hi Experts,

We have couple of SFTP interfaces with banks where we get file using SFTP sender adapter and it is not frequent but we do get following error notifications every now and then.

Exception received: com.jcraft.jsch.JSchException: Session.connect: Read timed out

Any idea on what is the issue. Network team suggests that connection is not properly closed.

Following are the parameters which I am using in SFTP sender adapter.


Port: 22

timeout (ms): 30000

Fingerprint: xxxx

Authentication Method: Password

User Name: xyz

Password: xxxx

FileName: zasdf

Directory: /abc/

Poll Interval: 1800

Under Processing Tab

Process Empty file: Create no message

Interval (msec) modification check: 100

Processing Sequence: Ascending by date

Stop processing after faulty file - checked

Please suggest towards the resolution.


Nitin Patil

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Dear Nitin,

This issue occures when:

1. Connection reset is happening to the serve once in a while.

2. SFTP server was down.

3. There is an inconsistency between Software Components PIB2BSFTP and PIB2BPGP. These two Software Components have to be on the same SPs and latest PLs.

Best regards,


0 Kudos


You can try to set the timeout value in the affected SFTP channel to 0 and test the scenario again.



Active Contributor
0 Kudos

Hello Nitin,

Its because of connection issue while PI is trying to connect to SFTP and connection is getting closed.

Check the connectivity to SFTP with the help of basis and also firewall.