Failed to find application object 'app' in 'app' gunicorn

后端 未结 2 890
我在风中等你
我在风中等你 2021-01-22 20:49

I am using a flask microservice with gunicorn to make requests to a service hosted on Google Kubernetes engine. The microservice is dockerised and is hosted as a pod on google k

相关标签:
2条回答
  • 2021-01-22 20:59

    It was most likely a memory issue. I deleted the deployment and pushed it again with more resources allocated to it and it started running without any errors.

    0 讨论(0)
  • 2021-01-22 21:12

    I think the problem might be similar to this one. https://stackoverflow.com/a/50157417/4229159

    The app folder (the one you create in docker) and the app file have the same name. Could you try it again renaming one of them?

    The rest of the files look ok, and it seems only to be a problem of gunicorn

    0 讨论(0)
提交回复
热议问题