❗Service stops scraping after a while - no crash, no logs - Hobby Plan
hayk-21
PROOP

18 days ago

Hey everyone

I'm running a long-running Python + Playwright scraper on Railway (Hobby plan).
It works fine for some time and then suddenly stops completely - no scraping, no logs, no visible shutdown, no crash.

The last log line looks like this:

[2025-11-17 00:38:16] Trying ID 1640992 with proxy #2

After that - nothing. The container stays “Running”, but:

  • No network requests are made

  • No logs appear at all

  • The scraper loop does not continue

When I run the exact same code locally, it works for hours without issues.

Details

  • Python + Async Playwright

  • Web scraping ~1 request every 5–10 seconds

  • Proxies rotating

  • CPU/RAM usage was nowhere near limits

  • No errors printed or thrown

  • No restart event from Railway

Questions

Does Hobby plan pause long-running background tasks or limit runtime?
Could the scraper be automatically throttled or frozen for inactivity?
Would upgrading to Pro prevent this behavior?
Any recommended configuration for long-running Playwright containers on Railway?

I’d really appreciate any guidance - thank you!

Solved$5 Bounty

1 Replies

Railway
BOT

18 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!


Status changed to Solved hayk-21 17 days ago


Loading...