{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreicwrfyopkqwesd7rvtcpo6tydhwojcpcnuzqvebrfw7q4onwjx7ey",
"uri": "at://did:plc:pgryn3ephfd2xgft23qokfzt/app.bsky.feed.post/3mhc4kfkotk22"
},
"path": "/t/space-stuck-in-broken-runtime-control-state-build-succeeds-but-factory-reboot-returns-503-and-restart-api-fails/174361#post_1",
"publishedAt": "2026-03-17T16:55:11.000Z",
"site": "https://discuss.huggingface.co",
"tags": [
"huggingface.co",
"https://huggingface.co"
],
"textContent": "Hi team,\n\nI am running into a Space runtime issue that looks platform-side rather than application-side.\n\nMy Space appears to be stuck in a broken runtime-control state.\n\nSymptoms:\n\n * Build logs complete successfully.\n * Factory reboot from the Space UI returns 503.\n * Restarting via API also fails with:\n{“error”:“Something went wrong when restarting this Space.”}\n * Changing Secrets or Variables does not trigger a new runtime.\n * The Space UI does not show “Duplicate this Space”.\n\n\n\nBecause of this, I cannot roll out updated code even though the image itself builds successfully.\n\nWhat I tested:\n\n 1. Normal UI restart\n 2. Factory reboot from the UI\n 3. Changing Secrets / Variables to trigger a runtime restart\n 4. Restart via API:\nPOST /api/spaces/<repo_id>/restart\n 5. Direct network access to huggingface.co from my local machine is fine\n\n\n\nObserved behavior:\n\n * Build phase succeeds\n * Runtime restart/control actions fail\n * The Space remains stuck on the old runtime state\n\n\n\nExample API result:\n{“error”:“Something went wrong when restarting this Space.”}\n\nRequest ID from the UI error page:\nRoot=1-69b97e50-53d7be5809cc76cd7ec31f5e\n\nCould you please check whether this Space is stuck on the platform side and help reset or recover its runtime state?\n\nThanks.\n\nAdditional details:\n\n * This affects deployment of new code, not just the currently running app.\n * The issue is reproducible both from the UI and from the API.\n * Local HTTPS access to https://huggingface.co works normally, so this does not look like a local connectivity problem.\n\n",
"title": "Space stuck in broken runtime-control state: build succeeds, but Factory reboot returns 503 and restart API fails"
}