Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Increase file upload size config #161

Open
sumitjha4321 opened this issue Mar 17, 2020 · 0 comments
Open

Increase file upload size config #161

sumitjha4321 opened this issue Mar 17, 2020 · 0 comments

Comments

@sumitjha4321
Copy link

sumitjha4321 commented Mar 17, 2020

How do I increase upload file size limit ?
I think this is due to config akka.http.server.parsing.max-content-length = 512 M.

I am using S3Mock for AWS S3 SDK.

Caused by: com.amazonaws.services.s3.model.AmazonS3Exception: Request Entity Too Large (Service: Amazon S3; Status Code: 413; Error Code: 413 Request Entity Too Large; Request ID: null; S3 Extended Request ID: null), S3 Extended Request ID: null
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1695)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1350)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1101)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:758)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:732)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:714)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:674)
	at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:656)
	at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:520)
	at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4705)
	at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4652)
	at com.amazonaws.services.s3.AmazonS3Client.putObject(AmazonS3Client.java:1807)
	at com.amazonaws.services.s3.AmazonS3Client.putObject(AmazonS3Client.java:1658)
	at com.swiggy.projectR.BloomFilterSpec$$anonfun$1.apply$mcV$sp(BloomFilterSpec.scala:47)
	at org.scalatest.SuperEngine.registerNestedBranch(Engine.scala:595)
	at org.scalatest.WordSpecLike$class.org$scalatest$WordSpecLike$$registerBranch(WordSpecLike.scala:189)
	... 22 more
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant