user6081689
user6081689

Reputation: 33

App Engine Deployment Failure - Max File Size?

400 Bad Request Max file size is 32000000 bytes. File "WEB-INF/lib/gwt-user.jar" is 32026261 bytes.

I've been deploying this app for years without issues and this file (gwt-user.jar) has been part of this deployment (it has not been updated for 2 years). Anybody have any ideas as to what could have changed?

Upvotes: 0

Views: 852

Answers (1)

marian.vladoi
marian.vladoi

Reputation: 8056

There were no recent changes related to the file size in App Engine. According to the official documentation, the limit of each file to be uploaded is 32 megabytes.

Deployments

An application is limited to 10,000 uploaded files per version. Each file is limited to a maximum size of 32 megabytes. Additionally, if the total size of all files for all versions exceeds the initial free 1 gigabyte, then there will be a $ 0.026 per GB per month charge.

I would suggest to :

  1. Make sure WAR file contains only the essential libraries required for the application to start.
  2. Use BlobStore for deployment of your App Engine app containing other dependencies (split up the necessary libraries) link.

Upvotes: 1

Related Questions