I've created a virtualenv in GAE, and setup the Flask project When I execute "python3 main.py", the default route works fine, but when I execute "gcloud app deploy" and browse the page, 502 Bad Gateway shows.
I try to find the error log by execute "gcloud app logs read" 2017-10-22 08:21:53 default[XXXXXXXXXX] "GET /" 502 2017-10-22 08:21:54 default[XXXXXXXXXX] "GET /favicon.ico" 502 Only these message is shown This is the app.yaml: runtime: python env: flex entrypoint: gunicorn -b :$PORT main:app runtime_config: python_version: 3 -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/d1dee6c3-66be-4dac-b050-e4b729c82deb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.