I am relatively new to using Google tools for developers. I already built two projects on google cloud and deployed them without major issues. Now I am working on a third one which is a little bit more complex than the other two. Running it locally is fine, then I do "gcloud app deploy" without any error, but when I try to access the webapp from a browser I get a 502 error. I suspect the problem may be related to a Machine Learning model file I am using ("classifier.pkl") which is 255 MB and is the biggest file I used so far on my google cloud projects. Any suggestion on how I can overcome that issue?
Hi Jorge, it could be that the VM instance your application is hosted on is running into memory size issues judging from the information you shared about the complexity of the app and size of machine learning file. The link to the documentation here discusses this issue and steps to investigate it in Cloud Logging, hope this helps!