6 months 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
1⃣ Does Hobby plan pause long-running background tasks or limit runtime?
2⃣ Could the scraper be automatically throttled or frozen for inactivity?
3⃣ Would upgrading to Pro prevent this behavior?
4⃣ Any recommended configuration for long-running Playwright containers on Railway?
I’d really appreciate any guidance - thank you!
1 Replies
6 months ago
Hey there! We've found the following might help you get unblocked faster:
- 📚 Deployments
- 🧵 Container stops right after starting (Hobby Plan)
- 🧵 Cutoff between frontend and backend
If you find the answer from one of these, please let us know by solving the thread!
Status changed to Solved hayk-21 • 6 months ago