# Space doesn't start

**URL:** <https://discuss.huggingface.co/t/space-doesnt-start/63669>\
**Category:** Spaces\
**Created:** [November 27, 2023, 8:20am UTC](https://discuss.huggingface.co/t/space-doesnt-start/63669 "2023-11-27T08:20:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![asofter](https://avatars.discourse-cdn.com/v4/letter/a/ecccb3/32.png) [@asofter](https://discuss.huggingface.co/u/asofter)\
**Post date:** [November 27, 2023, 8:20am UTC](https://discuss.huggingface.co/t/space-doesnt-start/63669/1 "2023-11-27T08:20:47Z")

</div>

Hey everyone,

I can’t load my new Space and one previous I redeployed. Tried to do restart, factory load, run with Docker and with Gradio. Once it loaded and started working but then with my next commit failed again.

```auto
OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like laiyer/deberta-v3-base-injection-onnx is not the path to a directory containing a file named config.json.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.

```

And this error

```auto
requests.exceptions.ConnectionError: (MaxRetryError('HTTPSConnectionPool(host=\'huggingface.co\', port=443): Max retries exceeded with url: /laiyer/deberta-v3-base-injection-onnx/resolve/main/config.json (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7fe0cd3e90f0>: Failed to resolve \'huggingface.co\' ([Errno -3] Temporary failure in name resolution)"))'), '(Request ID: c0a3edd4-8f32-4c8b-92d6-506f025e16af)')

```

Thank you!

---

<div class="post-metadata">

**Author:** ![FashionStash](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/fashionstash/32/38869_2.png) [@FashionStash](https://discuss.huggingface.co/u/FashionStash)\
**Post date:** [November 27, 2023, 9:09am UTC](https://discuss.huggingface.co/t/space-doesnt-start/63669/2 "2023-11-27T09:09:07Z")

</div>

Hello there. So… I’m not the only one who experience that huge connection issue. But he way, before experiencing that issue, I was stuck between an infinite queue on free api inference. Each time I attempted a new inference, it just increased from 1 the queue. Even if I closed my connection (or even the page) to run my private space test in a new webbrowser tab.  
To fix it, it seems duplicate the space which experiencing errors and waiting the build of the newer one is the key. But I clearly think that it is a connection glitch on build/inference-api of [huggingface.co](http://huggingface.co).

Edit : also I have a another space that won’t run, it is stuck at building page step. Think the error is the same : Connection issue from the Docker container to external adress (note : external or local such a model referenced on [Huggingface.co](http://Huggingface.co)).

---

<div class="post-metadata">

**Author:** ![Xenos14](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/xenos14/32/21547_2.png) [@Xenos14](https://discuss.huggingface.co/u/Xenos14)\
**Post date:** [November 27, 2023, 9:18am UTC](https://discuss.huggingface.co/t/space-doesnt-start/63669/3 "2023-11-27T09:18:50Z")

</div>

Yes - mine is reporting an “unable to resolve host” on the first outcall (to get SD) - and after a handful of failed retries, the build crashes (crash is probably due to lack of error handling in the script, though).

---

<div class="post-metadata">

**Author:** ![Anne31415](https://avatars.discourse-cdn.com/v4/letter/a/b3f665/32.png) [@Anne31415](https://discuss.huggingface.co/u/Anne31415)\
**Post date:** [November 27, 2023, 9:24am UTC](https://discuss.huggingface.co/t/space-doesnt-start/63669/4 "2023-11-27T09:24:48Z")

</div>

My spaces aren’t building too, yesterday they did, now even after several factory rebuilds, restarts etc. they stuck in rebuilding.  
Its error is the following: Launch timed out, space was not healthy after 30 min. Thats it.  
Mine is a Streamlit though.

---

<div class="post-metadata">

**Author:** ![SimonPix33](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/simonpix33/32/21513_2.png) [@SimonPix33](https://discuss.huggingface.co/u/SimonPix33)\
**Post date:** [November 27, 2023, 9:51am UTC](https://discuss.huggingface.co/t/space-doesnt-start/63669/5 "2023-11-27T09:51:49Z")

</div>

Have you reported it to support?

[api-enterprise@huggingface.co](mailto:api-enterprise@huggingface.co)

---

<div class="post-metadata">

**Author:** ![asofter](https://avatars.discourse-cdn.com/v4/letter/a/ecccb3/32.png) [@asofter](https://discuss.huggingface.co/u/asofter)\
**Post date:** [November 27, 2023, 9:56am UTC](https://discuss.huggingface.co/t/space-doesnt-start/63669/6 "2023-11-27T09:56:21Z")

</div>

One Space after around 20 Factory Build restarts, started working.

---

<div class="post-metadata">

**Author:** ![FashionStash](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/fashionstash/32/38869_2.png) [@FashionStash](https://discuss.huggingface.co/u/FashionStash)\
**Post date:** [November 27, 2023, 11:07am UTC](https://discuss.huggingface.co/t/space-doesnt-start/63669/7 "2023-11-27T11:07:21Z")

</div>

Now for my part, it is reworking as expected. It seems it was a [huggingface.co](http://huggingface.co) build servers issues. Try to pause your space and unpause it (resume), from the Settings tab in the Space!
