502 server error app engine flexible

1,391 views
Skip to first unread message

Tejas Upmanyu

unread,
Jun 7, 2017, 9:18:06 AM6/7/17
to Google App Engine
Hello,

I have deployed my swift vapor app in app engine flexible environment project id - vaporapp-170005. I have attached the screenshot  for the same. Please help me with the issue, its really annoying.

Tejas Upmanyu
Screen Shot 2017-06-07 at 11.48.24.png

Jordan (Cloud Platform Support)

unread,
Jun 7, 2017, 11:50:26 AM6/7/17
to Google App Engine
I see that you have set your project to be deleted, and this may be the reason why it will not server. You can follow the Restore a Project steps to attempt to recover your project from deletion. Note that if it has been more than seven days you may not be able to perform the recovery. 

Tejas Upmanyu

unread,
Jun 7, 2017, 2:54:40 PM6/7/17
to Google App Engine


On Wednesday, June 7, 2017 at 9:20:26 PM UTC+5:30, Jordan (Cloud Platform Support) wrote:
I see that you have set your project to be deleted, and this may be the reason why it will not server. You can follow the Restore a Project steps to attempt to recover your project from deletion. Note that if it has been more than seven days you may not be able to perform the recovery. 


I was trying to make the project again, hoping that it might fix. But i wasn't very successful at that. Again, I have deployed my swift 3 vapor app in app engine flexible environment project id - vaporapp-170017. I have attached the screenshot  for the same. I won't delete it this time, Please tell me a fix for this. 🙏🏻
Screen Shot 2017-06-08 at 00.22.13.png

Jordan (Cloud Platform Support)

unread,
Jun 7, 2017, 3:14:28 PM6/7/17
to Google App Engine
It looks like your application is not responding to the nginx health checks, and this is causing nginx to throw 502 bad gateway

I suggest you first follow a Vapor on App Engine tutorial to get a working Vapor configuration running on App Engine. Once you have Vapor setup and running you can then add your application to the working configuration. 

Note that Google Groups is meant for general product discussions and not for technical support. If you require further technical aid with deploying Vapor on App Engine, it is recommended to post your questions on Stack Overflow using the supported Google Cloud tags. 

Tejas Upmanyu

unread,
Jun 8, 2017, 1:57:40 AM6/8/17
to Google App Engine
Thanks man !
Reply all
Reply to author
Forward
0 new messages