-
Notifications
You must be signed in to change notification settings - Fork 268
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
MissingHeaderBodySeparatorDefect when uploading items to OSS #622
Comments
Hi @mflong23 what version of python SDK are you using? you mentioned that the code was working before - Can you the share the version of SDK you used that time ? |
Originally I was using 2.122.0. Then I checked my previous code that was
using 2.121.0. I changed reinstalled my SDK as 2.121.0 but it still wasn't
working
…On Wed, Feb 21, 2024 at 9:18 AM Jyoti Saini ***@***.***> wrote:
Hi @mflong23 <https://github.com/mflong23> what version of python SDK are
you using? you mentioned that the code was working before - Can you the
share the version of SDK you used that time ?
—
Reply to this email directly, view it on GitHub
<#622 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BAWBOHSV577Y66ITBJUZGITYUYT4TAVCNFSM6AAAAABDQAMWNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJXGM3DONBTG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @mflong23 what is the size of the objects that you are uploading ? We have had a known issue when you try to upload a bigger size files and service returned 413 response because the request entity was larger than limits defined by server and then subsequent calls failed with MissingHeaderBodySeparatorDefect. I would suggest using upload manager and see if you still run in to the issue. |
I was uploading small images (<10kB). I was using UploadManager originally,
which gave me the error, so I switched to object_storage_client.put_object,
which still gave me the error. I ended up using s5cmd instead.
…On Wed, Feb 21, 2024 at 11:10 PM Jyoti Saini ***@***.***> wrote:
Hi @mflong23 <https://github.com/mflong23> what is the size of the
objects that you are uploading ? We have had a known issue when you try to
upload a bigger size files and service returned 413 response because the
request entity was larger than limits defined by server and then subsequent
calls failed with MissingHeaderBodySeparatorDefect. I would suggest using
upload manager and see if you still run in to the issue.
—
Reply to this email directly, view it on GitHub
<#622 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BAWBOHVWNHX32AUVNIWSOJTYU3VPXAVCNFSM6AAAAABDQAMWNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJYHAZTINBRGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Happens with oci cli (latest version as well as ol7 provided rpm) has well.
Full trace output: |
When uploading files to OSS, I randomly (~1000 items in) experience this error after I run
Here's the traceback:
Even after adding
try...except
, I can't catch the exception and my code hangs.put_object
worked fine for me two weeks ago when I uploaded hundreds of thousands of items.The text was updated successfully, but these errors were encountered: