{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreif4ekpvb7r5j2kq5njpqatnfyrs6mmcx3eu64mcuesnbo73nkxxt4",
    "uri": "at://did:plc:pgryn3ephfd2xgft23qokfzt/app.bsky.feed.post/3mgkqchh7zrg2"
  },
  "path": "/t/space-stuck-at-starting-runtime-init-failed-curl-6-could-not-resolve-host-huggingface-co/174077#post_1",
  "publishedAt": "2026-03-08T13:03:52.000Z",
  "site": "https://discuss.huggingface.co",
  "textContent": "Hello,\n\nMy Hugging Face Space suddenly stopped working after running normally for about **2 months**.\n\nNow it gets stuck at **Starting / Restarting** , and eventually shows a runtime initialization error.\n\nThe key error message is:\n\n\n    Initialization step 'init' failed with exit code: 6\n\n    curl: (6) Could not resolve host: huggingface.co\n    Warning: Problem : timeout. Will retry in 1 seconds.\n\n\nThis suggests a **DNS resolution failure inside the Space container**.\n\n### What I have already tried\n\nI performed several tests to rule out issues with my code:\n\n  1. **Factory restart**\n\n  2. **Restart Space multiple times**\n\n  3. **Duplicate the Space** (new Space shows the same problem)\n\n  4. **Downgrade Python version (3.12 → 3.10)**\n\n  5. **Create a minimal Gradio test Space** (no model, just a textbox)\n\n\n\n\nEven the **minimal Gradio Space stays stuck at`Starting`**, which suggests the problem is not related to my application code.\n\n### Additional symptoms\n\nBefore the runtime failure appeared, the Space UI sometimes briefly showed:\n\n\n    Could not get API info. Connection errored out.\n\n\nAlso, API calls to the Space started becoming extremely slow before the Space eventually stopped starting.\n\n### Space info\n\nSpace configuration:\n\n\n    sdk: gradio\n    sdk_version: 6.4.0\n    python_version: 3.10 / 3.12 (both tested)\n\n\nThe Space loads a model from Hugging Face Hub:\n\n\n    Qwen/Qwen3-TTS-12Hz-0.6B-Base\n\n\nBut based on the logs, the failure occurs **before the model loading step** , during initialization.\n\n### Question\n\nIs there currently an issue with **Spaces DNS resolution or networking**?\n\nSince even a minimal Space fails to start and the error indicates DNS failure for `huggingface.co`, it seems likely to be a platform-side issue.\n\nAny help or confirmation would be greatly appreciated.\n\nThanks!",
  "title": "Space stuck at \"Starting\" / Runtime init failed: curl (6) Could not resolve host: huggingface.co"
}