-
-
Notifications
You must be signed in to change notification settings - Fork 730
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
No error message if writing to s3 backend fails #119
Comments
Hi, thanks for reporting this issue, I'll try myself later today, meantime can you please post the full logs? |
🤦 It does, sorry for the incorrect issue report.
I think I missed it because it was debug level. Thanks for this awesome tool! |
well, the logs can be improved, if you disable the debug level they are not clear, I'll address this minor usability issue, thank you for reporting it |
This is a bug, if the upload of a small file (less than upload part size) to S3/GCS fails without uploading any bytes no error is returned to the SFTP client |
Hi, I was able to replicate a similar error locally using |
Hi @drakkan , From time to time (due to that it's difficult to obtain the real cause), some uploads to S3 fails, but the client (according to our users) receives an OK as response. Our logs show:
|
Hi, based on these logs:
I'll do some more checking later, thank you EDIT: If the client closes the transfer but not the connection it will receive a zero exit status (success) for the connection size the error returned by |
Maybe this patch could help here |
Thanks a lot @drakkan (efficient and fast 👍 ). I will test it when it will be merged. |
I had an issue where permissions on the s3 bucket did not allow writes (but did allow proper ListBucket/GetObject). The upload was accepted without issue by sftpgo (as expected, because it writes to the local directory temporarily), but does not appear to give an error message when the write to the s3 backend fails.
The text was updated successfully, but these errors were encountered: