简体   繁体   中英

Python google app engine flexible

i create simple hello world app using this tutorial https://cloud.google.com/appengine/docs/flexible/python/hello-world and im trying deploy app using console

gcloud config set project [myId]
gcloud config set account xxxx@gmail.com
cloud preview app deploy app.yaml

in the end console write error

Error Response: [13] Timed out when starting VMs. It's possible that the application code is unhealthy. (0/2 ready, 2 still deploying).

This error means that your application failed to start up correctly ("It's possible that the application code is unhealthy.").

Managed VMs rely on your application responding to "health checks" in order to determine when to send traffic to that version of your application. These "health checks" are an HTTP endpoint that the Managed VM infrastructure will check frequently for an "all good" response.

The getting-started tutorial contains working code, so it's possible that you introduced a typo or error in the file structure. Check http://console.developers.google.com/ and navigate to the "Logging" section to check your application logs for clues as to what the issue might be.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM