Not able to deploy by tegram bot to Heroku

I have done all the steps required for depolyment of bot to Heroku, but still my Heroku https is not working. On seeing the heroku log I get the following error -

2020-07-18T10:57:11.487183+00:00 heroku[router]: at=error code=H14 desc=“No web processes running” method=GET path="/" host=kb04-newsbot.herokuapp.com request_id=7a46b65d-0a6b-443f-ad71-cc5dfb244dec fwd=“49.37.15.156” dyno= connect= service= status=503 bytes= protocol=https

Please help.

hey @LPLC0059 ,
kindly check that you procfile should not have any extension. Then only heroku can understand it as the procfile.

Thank You :slightly_smiling_face:.

No it does not have any extension. Still it’s not working.

can you please upload your code on github or drive and share me its link. I need to debug it once.

I have sent you an invitation for my GitHub repository. Please check.

it was a little mistake in procfile
it needs to be web: gunicorn app:app.

Kindly try deploying it now. I have changed this file in your repository.

It’s still not working. Showing the same error in heroku log. :worried:

hey ,
rename your procfile to Procfile. ( change case )

before doing this , delete that repository from your local system.
Recreate everything and then re deploy your code. It will work fine.

Hey, it’s been successfully deployed this time but still the Telegram bot is not responding to messages.
The new app link is - https://kb-news-bot.herokuapp.com.
What could have I missed?

hey just check the cmd , is it showing some error ? check the full logs.

I got this error while pushing the files to Heroku-

ERROR: google-auth 1.19.2 has requirement setuptools>=40.3.0, but you’ll have setuptools 39.0.1 which is incompatible.

I did the whole thing again and the app is working now. Thank you so much.
But this error still pops up while pushing the codes to heroku-

ERROR: google-auth 1.19.2 has requirement setuptools>=40.3.0, but you’ll have setuptools 39.0.1 which is incompatible.

hey this is just an error of library version, you can correct in heroku directly.
It will not show it.
or you can change your google-auth version to use setuptools 39.0.1.
It will work.

:slightly_smiling_face: No problem.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.