Skip to content

Resolve 413 Payload Too Large #786

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

Closed
wants to merge 3 commits into from
Closed

Resolve 413 Payload Too Large #786

wants to merge 3 commits into from

Conversation

msvticket
Copy link

If we get a http status 413 on a bulk request we try halfing target_bulk_bytes, which is also changed from constant to attribute.

solving issue #785

@msvticket
Copy link
Author

I have submitted the CLA (twice) but I have still not got the mail I'm supposed to get.

As for the integration tests I don't think the remaining failures are related to my changes. If they are I need some pointers as to how they could be.

If any additional tests are needed for the change I've made I'll try to fix that, but I'd like my suggested fix to reviewed first so I don't do it in vain.

@untergeek
Copy link
Contributor

Isn't the simplest way forward on this to just change the batch size to be smaller batches instead of changing a bunch of code?

Batch size is configurable to send smaller batches, which would also effectively address this, would it not?

@msvticket
Copy link
Author

msvticket commented Jun 19, 2018

Yeah, but wasn't there a point in the current setting? And of course there could be lower settings in the wild than what AWS uses.

@msvticket
Copy link
Author

Anyway, just lowering the number to something safely lower than 10MB would be fine with me, but preferably somebody else should do it since signing the CLA doesn't work now.

@msvticket
Copy link
Author

Now the CLA form worked, so CLA is signed.

@kares
Copy link
Contributor

kares commented Nov 25, 2021

Thanks for the PR, this one has fallen a bit into dust.

Since a better functionality is already available (since 10.8.6) where payload is split into batches using the uncompressed size (#972).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants