I deployed my application to the cloud server build using Flask, but now I am getting the 502 errors as a response. Same code is running fine on my local server host. I am taking some file as an input where the largest file is of 80 mb only. I tried with both deploying the files with the code and also storing them on cloud storage and downloading using URL during the runtime. I keep getting the same error at log both the time. I have attached the error screenshots.
Please help in solving this issue, I guess it is because of Nginx timeout ( not sure though ). I followed this link <https://blog.percy.io/tuning-nginx-behind-google-cloud-platform-http-s-load-balancer-305982ddb340> but could not implement it like stated here <https://serverfault.com/questions/844632/configuring-nginx-on-google-app-engine-flexible-environment-with-gunicorn>. Please help! <https://lh3.googleusercontent.com/-GL_vNUGdVcM/WWjocMwAtCI/AAAAAAAAANw/r5zSUYZJ6KkfiKoqw-UrXKDkjjEwBOzBgCLcBGAs/s1600/Screen%2BShot%2B2017-07-14%2Bat%2B9.17.38%2BPM.png> <https://lh3.googleusercontent.com/-o4qUNL_fCAs/WWjoO35-JiI/AAAAAAAAANs/Zt1l1Exd1_wT42Fe92LU-6SmdU9TMr7sQCLcBGAs/s1600/Screen%2BShot%2B2017-07-14%2Bat%2B9.17.16%2BPM.png> <https://lh3.googleusercontent.com/-6om5ZBZ88mg/WWjoDOdJGNI/AAAAAAAAANo/Aclpykp7NjEddC7TaKSjuI5n01Lq8MuQQCLcBGAs/s1600/Screen%2BShot%2B2017-07-14%2Bat%2B9.17.01%2BPM.png> -- 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/17fd3388-33ab-4bec-94d7-4a52bc13eefe%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
