502 occurs when the Nginx proxy in front of your application container is not able to communicate with your application code to send it requests. This is often due to mis-configuration of your app.yaml <https://cloud.google.com/appengine/docs/flexible/nodejs/configuring-your-app-with-app-yaml> , package.json <https://cloud.google.com/appengine/docs/flexible/nodejs/runtime#application_startup>, or incorrect coding <https://cloud.google.com/appengine/docs/flexible/nodejs/runtime#https_and_forwarding_proxies> that is preventing your application from accepting request.
I would recommend taking a look at the Getting Started <https://cloud.google.com/appengine/docs/flexible/nodejs/quickstart>samples to properly deploy a working App Engine application. Once you have a template app that can accept requests and respond to them, you can then begin to alter it for your use-case. - Note that Google Groups is for general product discussions and not for technical support. If you require further technical support for coding an application for App Engine it is recommended to post your full detailed question <https://stackoverflow.com/help/how-to-ask> to Stack Overflow <https://cloud.google.com/support/docs/stackexchange> using the supported Cloud tags. -- 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 [email protected]. To post to this group, send email to [email protected]. 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/a49a5c55-f8c9-48ad-8995-79e857c50856%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
