-
Notifications
You must be signed in to change notification settings - Fork 648
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
S3 Download of file larger than 8388608 bytes throws EntityStreamSizeException #303
Comments
Note that it should be |
@johanandren thanks, changed that for the client and it works for my purposes, also noticed this can be set to I wonder if other users would like a more granular approch since they might be using the HTTP client for multiple requests with different levels of trust and expecting different size responses. |
I think that discussions belong in the Akka HTTP issue tracker, please open a ticket there about that (you can refer to this issue from that like this: #303) |
I believe there is already a more granular approach to set the size limit per request/response if I understand the docs correct: https://github.com/akka/akka-http/blob/master/akka-http-core/src/main/scala/akka/http/scaladsl/model/HttpEntity.scala#L135. Maybe this ticket can be closed than? |
hi guys, I see this is long closed now but... |
Hi guys, I am having the same issues as @eyalfa recently. In routes, we can use "withSizeLimit(Long.MaxValue)" but is there anything specific to alpakka/s3 ? |
Any objections to simply using |
Hi guys, I'm experiencing the same issue for GCS connector... I believe the fix would be very similar to this, if so I can go ahead and raise a PR to fix this? |
@DanieleSassoli please go ahead and create a PR. Thanks! |
Using the Java DSL attempting to download a file larger then 8388608 bytes returns the following exception.
I have set my
akka.http.[server|client].parsing.max-content-length
setting to a higher setting, although I am wondering if there is a way to use the s3client without a size limit, such as thewithoutSizeLimit
directive.Code used to create the issue.
The text was updated successfully, but these errors were encountered: