SFTP Client: Timeout when trying to expand the window size

asked 2020-05-14 00:37:21 -0500

Ronald M gravatar image

The following error happens when sending files from S3 to a SFTP server:

REMOTE_UPLOAD_03 - Error happened when writing to file 'net.schmizz.sshj.connection.ConnectionException: Timeout when trying to expand the window size'. Reason: {}

The problem happens intermittently. We initially thought it was because of the file size - but there are other files that went through successfully.

Not sure if this is related but the logs are showing this warning:

[runner:] [thread:Amazon S3 Runner - 0] [stage:] WARN  S3AbortableInputStream - Not all bytes were read from the S3ObjectInputStream, aborting HTTP connection. This is likely an error and may result in sub-optimal behavior. Request only the bytes you need via a ranged GET or drain the input stream after use.

We're using SDC 3.9.1

edit retag flag offensive close merge delete