I wrote a very simple python bottle application, which responds to a POST with the data for the given user token. It runs perfectly locally, but when I deploy it as an app, it builds fine, and starts running:
[2021-09-26 19:23:50] Bottle v0.12.19 server starting up (using WSGIRefServer())... [2021-09-26 19:23:50] Listening on http://localhost:6161/ [2021-09-26 19:23:50] Hit Ctrl-C to quit.
But then hangs and fails the health check. I’ve written similar apps/components that run fine opening up listening for a websocket connection. Is there any reason why this wouldn’t work? The runtime logs tab says nothing and the Health Check only says that ’ App is running slower than expected’ is a common cause. Is there any way for me to get more info about why the Health Check fails?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.