user1161657
user1161657

Reputation: 991

Error while deploying App Engine project

I deploy my go application via appcfg.py --oauth2 --noauth_local_webserver update . Everything was working fine last week, but over the past 3 days and 20+ attempts I keep getting this error:

09:11 PM Application: my-app; version: 0-1-0
09:11 PM Host: appengine.google.com
09:11 PM 
Starting update of app: my-app, version: 0-1-0
09:11 PM Getting current resource limits.
09:11 PM Scanning files on local disk.
09:11 PM Cloning 381 application files.
09:11 PM Compilation starting.
09:11 PM Compilation: 315 files left.
09:14 PM Error 500: --- begin server output ---

<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>500 Server Error</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Server Error</h1>
<h2>The server encountered an error and could not complete your request.<p>Please try again in 30 seconds.</h2>
<h2></h2>
</body></html>
--- end server output ---
09:14 PM Rolling back the update.
Error 500: --- begin server output ---

--- end server output ---

I don't see any errors in the log. I'm well below my quota. I have billing enabled with more than enough money to spare. My project runs locally just fine. I tried pushing an older version of my code and that didn't work either.

I have other App Engine projects that are deploying just fine, just not this one.

Please help! I'm out of ideas :(

Upvotes: 3

Views: 1078

Answers (2)

user1161657
user1161657

Reputation: 991

I had too many files I was trying to deploy. By removing one of my larger third-party libraries, I was able to deploy just fine

Upvotes: 3

willo
willo

Reputation: 979

Try

appcfg.py rollback <app-directory>

As described here

Then redeploy

Upvotes: 2

Related Questions