GoogleCloudPlatform / appengine-gcs-client

App Engine-Cloud Storage custom client library
Apache License 2.0
124 stars 112 forks source link

Examples in GcsExampleServlet causes AppEngine standard app to crash #86

Open ndtreviv opened 4 years ago

ndtreviv commented 4 years ago

I'm trying to work out how to get and post large files (in this case 58MB) through AppEngine (Java, Standard Environment) through to GCS. Apparently, I can do this up to a limit of 2GB using GCS, and this took me to your example Servlet code, which I swiped and tested on appspot.

However, when I try to get the file from GCS the response is a 500 error and the AppEngine logs simply state:

The process handling this request unexpectedly died. This is likely to cause a new process to be used for the next request to your application. (Error code 203)

with no further information.

Similarly, when I try to POST content I get:

<html>

<head>
    <meta http-equiv="content-type" content="text/html;charset=utf-8">
    <title>413 Request Entity Too Large</title>
</head>

<body text=#000000 bgcolor=#ffffff>
    <h1>Error: Request Entity Too Large</h1>
    <h2>Your client issued a request that was too large.
    </h2>
    <h2></h2>
</body>

</html>