Deploying an auto filter bot (telegram bot) on Koyeb

I have a deployment error, the bot stops after 5 minutes.
The runtime is python3- 3.8.7.

Hey @rollmodels1122 ,

We’re automatically health-checking your application and will shut it down automatically after 15 minutes if it doesn’t answer on the PORT mentioned in the service configuration.
This is explained in our documentation about troubleshooting deployments and unhealthy instances.

If you’re deploying a Telegram bot, which is often implemented as a worker not listening on any port. The platform considers that the startup of your service failed as the health-check fails and tears down the service.

For your worker to work as-is, you need Native Worker Support.

In the meantime, to deploy a worker, you need to have a dummy web server or process answering health-check requests on the configured port.