-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Corrupt upload using AWS Java SDK #2075
Comments
could you please share a java example project to reproduce this? |
Sure, here you go. Run with:
Which shows
|
Please run this in weed shell and try again:
|
That worked! Is there a bug that needs to be addressed for the case when authentication is not setup? Or will the AWS java SDK only work when authentication is enabled due to some protocol reason? |
Thanks! I added some code to fail the signed requests if no authentication is setup. |
Describe the bug
Client upload using AWS SDK 1.11.745 fails with data integrity error:
A partial file is uploaded. Upon download the file is obviously corrupt:
Example Java SDK usage:
System Setup
weed master -volumeSizeLimitMB=1000
weed volume -dir=/data -mserver=seaweedfs-master:9333 -max=1000 -port=8080
weed filer -s3 -master=seaweedfs-master:9333 port=8888
weed version
filer.toml
None - using defaults from docker image
Expected behavior
The full file should be uploaded.
Additional context
Uploads using the aws CLI command and the AWS golang API do not have the same issue.
The text was updated successfully, but these errors were encountered: