Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS SFTP: EOF while reading packet with version 0.32.0 #750

Closed
pimenas opened this issue Dec 13, 2021 · 0 comments
Closed

AWS SFTP: EOF while reading packet with version 0.32.0 #750

pimenas opened this issue Dec 13, 2021 · 0 comments

Comments

@pimenas
Copy link

pimenas commented Dec 13, 2021

Hello,

After upgrading to 0.32.0 we get the following exception when trying to upload to AWS SFTP service:

EOF while reading packet
net.schmizz.sshj.sftp.SFTPException: EOF while reading packet
	at net.schmizz.sshj.sftp.PacketReader.readIntoBuffer(PacketReader.java:55)
	at net.schmizz.sshj.sftp.PacketReader.getPacketLength(PacketReader.java:60)
	at net.schmizz.sshj.sftp.PacketReader.readPacket(PacketReader.java:76)
	at net.schmizz.sshj.sft
p.PacketReader.run(PacketReader.java:88)

With other sftp servers e.g. OpenSSH this doesn't happen. With 0.31.0 no error happens as well.

Attached a debug log of when this issue is reproduced
test.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant