502 Bad Gateway with nginx | Google App Engine | Node JS

后端 未结 8 2416
时光取名叫无心
时光取名叫无心 2020-12-15 15:50

I am hosting the web app on Google Cloud Platform with App Engine and I am using ExpressJS and MongoDB, which is hosted on mLab.

Everything worked well until 1/1/201

8条回答
  •  借酒劲吻你
    2020-12-15 16:21

    check out the logs for any deployment errors

    $ gcloud app logs read
    

    I have came across a similar issue with the code provided by this tutorial (https://cloud.google.com/nodejs/getting-started/authenticate-users)

    And found there was a missing dependency. I fixed the missing dependency and the app is deployed and working fine.

    Details into the issue: https://github.com/GoogleCloudPlatform/nodejs-getting-started/issues/106

提交回复
热议问题