Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Python bottle server loads and runs but fails health check
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?