5

I'm getting below error when I try to deploy an Spring Boot app to google cloud.

(gcloud.app.deploy) Error Response: [13] Unexpected Error.

I'm using com.google.cloud.tools:appengine-maven-plugin version 1.3.1, goal deploy. This error message is not useful at all! I appreciate any help with this as I am not much familiar with Google Cloud. Where should I start looking?

[INFO] GCLOUD: d4498962e4fc: Pushed
[INFO] GCLOUD: latest: digest: sha256:1c2516746601c4fe68dac3507fe684380b122ebc1801e8dc234599825d3cfb89 size: 2416 
[INFO] GCLOUD: DONE 
[INFO] GCLOUD: ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[INFO] GCLOUD:
[INFO] GCLOUD: Updating service [default]...
[INFO] GCLOUD: .....................failed.
[INFO] GCLOUD: ERROR: (gcloud.app.deploy) Error Response: [13] Unexpected Error. ()
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]------------------------------------------------------------------------
aug70co
  • 3,965
  • 5
  • 30
  • 44
  • Can you check if the service is actually working? – Dan Cornilescu Sep 05 '17 at 18:22
  • Under App Engine > Services I only see default but when I click on that link (opens a new tab), I see "Error: Server Error The server encountered an error and could not complete your request. Please try again in 30 seconds.". So service is NOT working. – aug70co Sep 05 '17 at 23:19
  • Is there a proper documentation on how to deploy an existing Spring Boot app to Google Cloud (App Engine)? I feel like there's a problem with app engine, yet there's no command to delete it??? Also projects can not be deleted immediately??? I followed this https://codelabs.developers.google.com/codelabs/cloud-app-engine-springboot/index.html?index=..%2F..%2Findex#0 and run into the problem in this ticket – aug70co Sep 06 '17 at 04:49

2 Answers2

3

Turns out, same problem encountered by others.

Result of this ticket must bring a resolution.

aug70co
  • 3,965
  • 5
  • 30
  • 44
-1

Simply rename your main python file (maybe it is app.py) to main.py In the resources section of yaml file increase the number of cpu and the assigning memory if you are with the flex plan.

Farzad Amirjavid
  • 649
  • 5
  • 13