3

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 :(

10
  • Not sure this would help fix it, but to isolate, I'd recommend trying it on another project, or version. Commented Jul 25, 2014 at 1:44
  • Just tried it. Definitely works for other projects :/ Commented Jul 25, 2014 at 16:07
  • Good, so it has something to do with the project then. Did you check the Admin Console to see if there's any errors/quota/billing issue? Anything at all? Commented Jul 25, 2014 at 19:20
  • I don't see any errors in the logs. The quota page says everything is "Okay". Just upped the billing to allow for $10/day, although I haven't spent any $ today. I don't see anything wrong :/ Commented Jul 25, 2014 at 19:28
  • What if you try changing it to a different version and upload. Does it work then? Commented Jul 25, 2014 at 19:38

2 Answers 2

3

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

Sign up to request clarification or add additional context in comments.

Comments

2
+25

Try

appcfg.py rollback <app-directory>

As described here

Then redeploy

6 Comments

Didn't work :( Also tried changing the version number to a previous version, rolling back, then deploying. Didn't work either :/
As a test I'd create a new application, try deploying to the new application id.
Just tried deploying to a different application id. It also failed to deploy with the same error
I would roll back to the last version of the code I successfully deployed, if it will deploy to the new app id there's something in the revision, would need more details on what was revised.
Looks like I'm able to deploy if I include less files XD
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.