fake-sftp-server-rule icon indicating copy to clipboard operation
fake-sftp-server-rule copied to clipboard

Getting Software caused connection abort: socket write error

Open dinnupega opened this issue 5 years ago • 1 comments
trafficstars

Hi I am trying to integrate this fake-sftp-server-rule with my JUnits.

I started fake-sftp-server-rule and trying to make a connection with my client but I am facing below error.

com.jcraft.jsch.JSchException: java.net.SocketException: Software caused connection abort: socket write error

at com.jcraft.jsch.ChannelSftp.start(ChannelSftp.java:315)
at com.jcraft.jsch.Channel.connect(Channel.java:152)
at com.jcraft.jsch.Channel.connect(Channel.java:145)

fakesftpserver.txt

Attached the sample code snippet, Can you please help me connecting to sftp server and make uploads and download.

Thanks in advance, Dinesh

dinnupega avatar Jul 31 '20 09:07 dinnupega

The test that you provided runs successfully on my machine. Can you show me the full stack trace of your error.

stefanbirkner avatar Feb 19 '21 23:02 stefanbirkner