Timeout error in Bot deploying with Python

geffrerson7PRO

a year ago

I created a Telegram bot with Python and the Telegram Bot API library that sends Pokemon coordinates to Pokemon Go game users. When I deployed it on Railway, there was a timeout error for my app.
Here is the link to the repository: https://github.com/Geffrerson7/iv100-bot
And here is the link to the logs: https://github.com/Geffrerson7/iv100-bot/issues/2

What should I fix in the project repository?

Best regards.

2 Replies

a year ago

in your config.py file you are loading two variables from the environment, have you supplied those variables in the service variables tab?


geffrerson7PRO

a year ago

in your config.py file you are loading two variables from the environment, have you supplied those variables in the service variables tab?

I set up the environment variables as shown in this image:
https://drive.google.com/file/d/1D8G3ehTVK-CbYWStqKSMPc4ExwMwyyJO/view?usp=sharing