You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
Hi,
my simple Spring Boot app works fine locally, and it worked during months deployed to Google Cloud. But today it fails to deploy about 2 out of 3 attempts (after around 15 minutes stuck in this part)
[INFO] GCLOUD: Updating service [default] (this may take several minutes)...
GCLOUD: ERROR: (gcloud.app.deploy) Error Response: [4] Your deployment has failed to become healthy in the allotted time and therefore was rolled back. If you believe this was an error, try adjusting the 'app_start_timeout_sec' setting in the 'readiness_check' section.
Things I tried:
Creating a new Cloud project
Updating Cloud: gcloud components update
Disable health checks gcloud app update --no-split-health-check
Related:
The times I get it running, app often becomes highly unresponsive, throwing multiple 502 errors, and CPU reaching 100%
Things I suspect could be wrong:
Something about health checks? In the logs I see the app starting, but for some reason no traffic can reach it
I have tried looking in the logs but I don't see anything helpful. Any particular logs I should be looking at?
Should I be worried about dependencies in my Maven file, if I know I can run locally?
My app.yaml:
runtime: java
env: flex
runtime_config: # Optional
jdk: openjdk8
manual_scaling:
instances: 1
Message has been deleted
Daniel Blazquez
unread,
Oct 11, 2018, 1:13:57 PM10/11/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
SOLVED by manually increasing memory allocation [why did not GAE scale this resource?!?]
resources:
cpu: 1
memory_gb: 2
disk_size_gb: 10
Yasser Karout (Cloud Platform Support)
unread,
Oct 15, 2018, 5:05:55 PM10/15/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
Hello,
Initially, you didn’t specify resources section in your app.yaml configuration file, and the scaling was set to manual. So the default values [1] have been used for the instance. Since App Engine scales up basing on the number of instances but not on instance types, it seem that your application suffered from a lack of memory.