Hello,
My Hugging Face Space suddenly stopped working after running normally for about 2 months.
Now it gets stuck at Starting / Restarting, and eventually shows a runtime initialization error.
The key error message is:
Initialization step 'init' failed with exit code: 6
curl: (6) Could not resolve host: huggingface.co
Warning: Problem : timeout. Will retry in 1 seconds.
This suggests a DNS resolution failure inside the Space container.
What I have already tried
I performed several tests to rule out issues with my code:
-
Factory restart
-
Restart Space multiple times
-
Duplicate the Space (new Space shows the same problem)
-
Downgrade Python version (3.12 → 3.10)
-
Create a minimal Gradio test Space (no model, just a textbox)
Even the minimal Gradio Space stays stuck at Starting, which suggests the problem is not related to my application code.
Additional symptoms
Before the runtime failure appeared, the Space UI sometimes briefly showed:
Could not get API info. Connection errored out.
Also, API calls to the Space started becoming extremely slow before the Space eventually stopped starting.
Space info
Space configuration:
sdk: gradio
sdk_version: 6.4.0
python_version: 3.10 / 3.12 (both tested)
The Space loads a model from Hugging Face Hub:
Qwen/Qwen3-TTS-12Hz-0.6B-Base
But based on the logs, the failure occurs before the model loading step, during initialization.
Question
Is there currently an issue with Spaces DNS resolution or networking?
Since 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.
Any help or confirmation would be greatly appreciated.
Thanks!