Thank you for providing more information and context to your inquiry. About 502 errors that you got, there might be a number of reasons for the errors[1]. Often times, this would require review of your logs to understand what may have caused requests to your App Engine applications to return the 502s. For example, as explained in this documentation[2], an App Engine 502 Bad Gateway would be returned if your App Engine Flexible application is running at a higher memory than is configured. App Engine would terminate the application if that is observed.
For better troubleshooting or evaluation of this issue, which may involve reviewing configurations on your Project, I recommend you contact the GCP Support Engineers[3] or if you think this issue is a bug and you are using the appropriate User account but it is failing, then open an issue using this link[4]. [1]https://serverfault.com/questions/951189/seeing-502-on-google-app-engine#answer-961560 [2]https://cloud.google.com/endpoints/docs/openapi/troubleshoot-response-errors#error_message_bad_gateway [3]https://cloud.google.com/support-hub [4]https://developers.google.com/issue-tracker/#public_users -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/95d66dea-0d94-4778-8632-8ff7b0e97bf9%40googlegroups.com.