-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
fix: MissingContentLength in boto3 version 1.36.1 #4398
Comments
Downgrading to boto3==1.35.95 seem to be fixing the problem, at least as a temporary solution |
Hi @alireza-fa, thanks for reaching out. This is related to the recent announcement of new default checksum behavior starting in
Are you able to reproduce this behavior using AWS S3, or with default integrity options set to |
Hi @RyanFitzSimmonsAK , thank you for your response! I appreciate your insights regarding the new default checksum behavior. However, I want to clarify that I am not using the official AWS S3 service; instead, I am utilizing a compatible service. You raised a valid point that this issue may affect many users, and with the recent changes from AWS, it might take some time for compatible services to update accordingly. Unfortunately, I cannot reproduce the behavior using AWS S3, as I am working with a different service. If you have any further suggestions or insights, I would be grateful to hear them! Thank you again for your help! |
Should bypass this issue on uploads boto/boto3#4398 ``` An error occurred (MissingContentLength) when calling the PutObject operation: Unknown ```
I can confirm that we are also facing same issue.
After upgrading
When downgraded We are using DigitalOcean Spaces S3 compatible buckets. |
Pin boto3 version to 1.35.99. version 1.36.0 of boto3 is affected by boto/boto3#4398.
Pin boto3 version to 1.35.99. version 1.36.0 of boto3 is affected by boto/boto3#4398. Signed-off-by: Francesco Canovai <[email protected]>
Pin boto3 version to 1.35.99. version 1.36.0 of boto3 is affected by boto/boto3#4398. Signed-off-by: Francesco Canovai <[email protected]>
Should bypass this issue on uploads boto/boto3#4398 ``` An error occurred (MissingContentLength) when calling the PutObject operation: Unknown ```
Pin boto3 version to 1.35.99. version 1.36.0 of boto3 is affected by boto/boto3#4398. Closes #139 Signed-off-by: Francesco Canovai <[email protected]>
Pin boto version to 1.35.99. Version 1.36+ of boto3 are affected by boto/boto3#4398. Signed-off-by: Francesco Canovai <[email protected]>
Pin boto3 version to 1.35.99. version 1.36.0 of boto3 is affected by boto/boto3#4398. Closes #139 Signed-off-by: Francesco Canovai <[email protected]>
Pin boto version to 1.35.99. Version 1.36+ of boto3 are affected by boto/boto3#4398. Signed-off-by: Francesco Canovai <[email protected]>
This is also an issue with pyiceberg/s3fs |
Pin boto3 version to 1.35.99. version 1.36.0 of boto3 is affected by boto/boto3#4398. Closes #139 Signed-off-by: Francesco Canovai <[email protected]>
Same issue also occurs for us with OCI s3-compatible storage (using boto3 directly, not through another library) |
Should bypass this issue on uploads boto/boto3#4398 ``` An error occurred (MissingContentLength) when calling the PutObject operation: Unknown ```
* Update charm-ceph-radosgw from branch 'master' to 41d4c74ec9697d93c4b683a401517c4aba29bebd - Tests: pin boto3 For boto/boto3#4398 Also lint updates Signed-off-by: Peter Sabaini <[email protected]> Change-Id: Ieb248434b482f513060ca8b453e2068d51fde9cf
For boto/boto3#4398 Also lint updates Signed-off-by: Peter Sabaini <[email protected]> Change-Id: Ieb248434b482f513060ca8b453e2068d51fde9cf
For boto/boto3#4398 Also lint updates Signed-off-by: Peter Sabaini <[email protected]> Change-Id: Ieb248434b482f513060ca8b453e2068d51fde9cf Cherry picked from 41d4c74
Pin boto3 version to 1.35.99, version 1.36.0 of boto3 is affected by boto/boto3#4398. Signed-off-by: Jonathan Gonzalez V. <[email protected]>
Describe the bug
Description
I encountered an issue while using
boto3
version1.36.1
in conjunction withdjango-storages
. When attempting to upload files to AWS S3, I received the following error:Steps to Reproduce
boto3
version1.36.1
anddjango-storages
.Environment
boto3
version:1.36.1
django-storages
version: django-storages==1.14.4Regression Issue
Expected Behavior
The file should upload successfully without any errors.
Current Behavior
The upload fails with the
MissingContentLength
error.Reproduction Steps
I found that downgrading
boto3
to version1.34.131
resolves the issue, and file uploads work as expected.Possible Solution
No response
Additional Information/Context
No response
SDK version used
boto3 version: 1.36.1
Environment details (OS name and version, etc.)
ubuntu22.04
boto3
version:1.36.1
-django-storages
version: django-storages==1.14.4 - Django version: django==5.1.2 - Python version: python==3.11The text was updated successfully, but these errors were encountered: