Open mfriendz opened 9 years ago
Hi @mfriendz,
Which version of SSHJ did you use to reproduce this? I've added a test (https://github.com/hierynomus/sshj/blob/master/src/test/java/com/hierynomus/sshj/sftp/SFTPClientTest.java) which tries this with Apache Mina, and there it at least does not occur.
@mfriendz I know this is a somewhat older issue, but would you be able to generate more detailed logging?
Prefer to set these loggers in logback.xml
<logger name="net.schmizz.sshj" level="debug"/>
<logger name="net.schmizz.sshj.transport" level="trace" />
Encountered an issue that looks the same while running version 0.16.0. The issue is reproducible and more detailed logging is attached as requested. sshjAssertion.txt
Thx @jkbaird I will have a look.
Just to get this straight, you were running a parallell process against 2 different SSH servers? (OpenSSH 5.3 and Adtran 4.31)
Yes. That's correct. Connecting to two different servers in parallel process.
I believe that I'm also having this problem (connections dying with net.schmizz.sshj.transport.TransportException: Broken transport; encountered EOF
even if I call close()
).
I'm connecting to a single SFTP server, but with 4 different connections (each one downloading a different file).
This happened to me with version 0.15.0. I'm upgrading today to 0.17.2, so I'll say something if the problem goes away.
I've been using SSHJ v0.20.0 to connect using sftp to freeFTPd and I'm getting the same Exception. I've realized that it doesn't work if try to upload any file to FTP server (reading files works fine). Even if I comment the close/disconnect instruction. Please give anyone can give me some approach how to solve this. Thanks in advance.
Running into the same problem, while everything seems to work (v0.24.0). Are there any plans to fix this issue?
closing SFTPCient connection to a PSFTP server (www.psftp.de) dont seem to work as expected:
If you only disconnect() without close() everything works fine... This seems to be a PSFTP server issue only??