Bots start on Railway but don’t run loops or signals

abdo007261
FREE

15 days ago

Hi everyone,

I’m deploying my Telegram bots to Railway, and I can start them using:

The repo is here: https://github.com/abdo007261/test2.git

The problem is:

  • The bots do start (no crash).

  • But they don’t actually work — they should be running loops to send signals and handle tasks, but nothing happens after starting.

On my local machine, everything works fine. But on Railway, the bots just stay idle.

What I’ve tried:

  • Added a requirements.txt.

  • Set the Railway start command to python launch_all_bots.py.

  • Checked that environment variables (API_ID, API_HASH, BOT_TOKEN, etc.) are set.

Still, the bots don’t run as expected.

Could someone please help me figure out why the bots are idle and not executing their loops on Railway?

Thanks in advance

$10 Bounty

2 Replies

Railway
BOT

15 days ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


15 days ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody 15 days ago


abdo007261
FREE

15 days ago

Hello, I have a question. It’s okay to use any API in my bots, right? Like, is there a possibility that the problem is the bots not working because they can’t use the APIs, since they all depend on outside APIs?


Bots start on Railway but don’t run loops or signals - Railway Help Station