Question

Python bottle server loads and runs but fails health check

Posted September 26, 2021 66 views
Python

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?

Thanks.

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!