a month ago
Service: web
Problem: Build fails 4+ times at "scheduling build" stage; Railpack never starts
Deployment IDs: 31fe4188-4971-4518-9791-05b428960666, ac6aaa62-da77-45a3-964a-65c1dfeaa82a
Pattern: Metal builder allocation fails before any build output
Code/config are valid (Python Flask app with valid requirements.txt and Procfile)
1 Replies
Status changed to Awaiting Railway Response Railway • 28 days ago
Status changed to Open mykal • 28 days ago
a month ago
Because it fails at "scheduling build" before Railpack prints anything, this is almost certainly not an issue with your Python Flask code, requirements.txt, or Procfile. That stage happens before Railway actually initiates the image build.
Since multiple deployments are dying there with zero build output, your service is likely stuck on a bad/unavailable builder node, or experiencing a temporary infrastructure glitch with the Metal build environment.
A few things you can try right now to bypass this:
- Trigger a manual redeploy from the exact same commit. If Railway has cordoned off the bad builder node, a retry may land on a healthy one.
- Go into your Service Settings and temporarily turn off the "Metal Build Environment" toggle if it's available, then redeploy.
- If you use a railway.json file, explicitly force the Railpack provider so the build configuration isn't ambiguous.
Ultimately, a trying a fresh redeploy or toggling off Metal usually acts as a solid immediate workaround!