Skip to Content
0
Jun 15, 2016 at 07:59 PM

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

2789 Views

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: java.net.SocketTimeoutException: 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.


Server: abc.com

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.

Regards,

Nitin Patil