-
Notifications
You must be signed in to change notification settings - Fork 145
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
"Missing file segements in upload" error when using Fast Put #171
Comments
That error is not coming from this module, so I can't help you there. You'll need to take it up with |
Thanks for the reply. The error is surfacing through the It looks like the Thanks! |
Then I can only guess it's coming from the server because this module has never had an error message like that before. Is this a custom/specialty/uncommon sftp/ssh server? |
It appears that we weren't doing a diligent enough check to ensure the files were uploading correctly. The file size is always correct when uploading the files, even when we get the error, but the start of the file is corrupted. We get a bunch of null characters (which show as e.g. When opening one of the files in Vim, it looks something like this (but with a lot more zero-byte characters)
Unfortunately, it's a third-party SFTP, which we're just integrating with, so we don't know much about it! We do not appear to have an issue when using |
Does the upload work when using |
Hi,
We're frequently seeing a
Missing file segements in upload:0
error when trying to upload a file to a client's SFTP. It's a large file - ~1GB. The upload is successful and complete (we've verified the checksum), so we're unsure why we're seeing this error. We seeing this error about 80% of the time.We found this issue on the library we're using. We also tried using a different library (which still uses this
ssh2-streams
library), but got the same error. We are able to successfully upload a file usingscp
.We enabled debug mode, but nothing really jumped out. We did notice a 2 second pause between the last debug log and when the error was thrown.
Here's a screenshot of when the error was thrown:
We're not sure whether this is a problem with the SFTP server, or an issue at our end.
Any advice would be greatly appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: