Hi all,

we use jscape secure inet factory for sftp connection implementation for activities like poll ,put,get ,list,delete activities.

But twice a week SFTP poll activity fails to get the files.

The following errors were seen when the issue happened!

Unable to connect to the server "SFTP_SEVRVER" after 5 attempts. Error is: null

Caused by: com.jscape.inet.sftp.SftpException
at com.jscape.inet.sftp.SftpConfiguration.createClien t(Unknown Source)
at com.jscape.inet.sftp.Sftp.connect(Unknown Source)
at com.jscape.inet.sftp.Sftp.connect(Unknown Source)
at com.approuter.module.ftp.protocol.SftpConnectionIm pl.<init>(SftpConnectionImpl.java:91)
... 13 more
Caused by: java.io.IOException
at com.jscape.inet.util.TimedSocket.a(Unknown Source)
at com.jscape.inet.util.TimedSocket.getSocket(Unknown Source)
at com.jscape.inet.util.TimedSocket.getSocket(Unknown Source)
at com.jscape.inet.util.ConnectionParameters.d(Unknow n Source)
at com.jscape.inet.util.ConnectionParameters.createSo cket(Unknown Source)
at com.jscape.inet.ssh.transport.TransportClient.<ini t>(Unknown Source)
at com.jscape.inet.ssh.SshConfiguration.createConnect ionClient(Unknown Source)
at com.jscape.inet.ssh.SshStandaloneConnector.openCon nection(Unknown Source)
... 17 more


Caused by: com.jscape.inet.sftp.SftpException: Read timed out
at com.jscape.inet.sftp.SftpConfiguration.createClien t(Unknown Source)
at com.jscape.inet.sftp.Sftp.connect(Unknown Source)
at com.jscape.inet.sftp.Sftp.connect(Unknown Source)
at com.approuter.module.ftp.protocol.SftpConnectionIm pl.<init>(SftpConnectionImpl.java:91)
... 13 more
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream. java:140)
at java.net.SocketInputStream.read(SocketInputStream. java:193)
at com.jscape.inet.ssh.util.ReadUtil.read(Unknown Source)
at com.jscape.inet.ssh.util.ReadUtil.readLine(Unknown Source)
at com.jscape.inet.ssh.transport.ProtocolVersion.read From(Unknown Source)
at com.jscape.inet.ssh.transport.Transport.initProtoc ol(Unknown Source)
at com.jscape.inet.ssh.transport.TransportClient.<ini t>(Unknown Source)
at com.jscape.inet.ssh.transport.TransportClient.<ini t>(Unknown Source)
at com.jscape.inet.ssh.SshConfiguration.createConnect ionClient(Unknown Source)
at com.jscape.inet.ssh.SshStandaloneConnector.openCon nection(Unknown Source)
... 17 more


Please let us know why this issue is happening INTERMITTENTLY and how to prevent it ?

Thanks in advance