# Launch timed out, space was not healthy after 30 min (space remains in building status)

**URL:** <https://discuss.huggingface.co/t/launch-timed-out-space-was-not-healthy-after-30-min-space-remains-in-building-status/64295>\
**Category:** 🤗AutoTrain\
**Created:** [December 1, 2023, 11:15pm UTC](https://discuss.huggingface.co/t/launch-timed-out-space-was-not-healthy-after-30-min-space-remains-in-building-status/64295 "2023-12-01T23:15:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MatteoWood](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/matteowood/32/21761_2.png) [@MatteoWood](https://discuss.huggingface.co/u/MatteoWood)\
**Post date:** [December 1, 2023, 11:15pm UTC](https://discuss.huggingface.co/t/launch-timed-out-space-was-not-healthy-after-30-min-space-remains-in-building-status/64295/1 "2023-12-01T23:15:31Z")

</div>

When I create a new space from the autotrain space, it never finishes building even though the training goes smoothly. The space seems to work fine but it never reaches the running status and, after 30 minutes, it pauses with the error

> Launch timed out, space was not healthy after 30 min

For the moment I have found the workaround of setting the variable `startup_duration_timeout` to 50h in order to give the space enough time to finish the training. I am still not sure it works though.

---

<div class="post-metadata">

**Author:** ![abhishek](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/abhishek/32/32360_2.png) [@abhishek](https://discuss.huggingface.co/u/abhishek)\
**Post date:** [December 2, 2023, 6:01am UTC](https://discuss.huggingface.co/t/launch-timed-out-space-was-not-healthy-after-30-min-space-remains-in-building-status/64295/2 "2023-12-02T06:01:43Z")

</div>

It seems like a spaces issue for your user. All autotrain spaces take less than a couple of minutes to build. Ill ask the infra team. Whats the space id?

---

<div class="post-metadata">

**Author:** ![MatteoWood](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/matteowood/32/21761_2.png) [@MatteoWood](https://discuss.huggingface.co/u/MatteoWood)\
**Post date:** [December 2, 2023, 3:22pm UTC](https://discuss.huggingface.co/t/launch-timed-out-space-was-not-healthy-after-30-min-space-remains-in-building-status/64295/3 "2023-12-02T15:22:15Z")

</div>

Thank you. MatteoWood/autotrain-bert-large-sexism-classifier-0  
Cordially.

---

<div class="post-metadata">

**Author:** ![abhishek](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/abhishek/32/32360_2.png) [@abhishek](https://discuss.huggingface.co/u/abhishek)\
**Post date:** [December 5, 2023, 9:41am UTC](https://discuss.huggingface.co/t/launch-timed-out-space-was-not-healthy-after-30-min-space-remains-in-building-status/64295/4 "2023-12-05T09:41:28Z")

</div>

fixed now.

---

<div class="post-metadata">

**Author:** ![ACAustralia](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@ACAustralia](https://discuss.huggingface.co/u/ACAustralia)\
**Post date:** [December 28, 2023, 2:39am UTC](https://discuss.huggingface.co/t/launch-timed-out-space-was-not-healthy-after-30-min-space-remains-in-building-status/64295/5 "2023-12-28T02:39:30Z")

</div>

Hi Abhishek, could I have help with my space too, same error/issue:

[https://huggingface.co/spaces/ACAustralia/Zephyr7B-CarpetCourt](https://huggingface.co/spaces/ACAustralia/Zephyr7B-CarpetCourt)

---

<div class="post-metadata">

**Author:** ![RashiAgarwal](https://avatars.discourse-cdn.com/v4/letter/r/8c91f0/32.png) [@RashiAgarwal](https://discuss.huggingface.co/u/RashiAgarwal)\
**Post date:** [January 30, 2024, 5:22pm UTC](https://discuss.huggingface.co/t/launch-timed-out-space-was-not-healthy-after-30-min-space-remains-in-building-status/64295/6 "2024-01-30T17:22:29Z")

</div>

Facing same issue on spaces

> **[Phi2 Tsai - a Hugging Face Space by RashiAgarwal](https://huggingface.co/spaces/RashiAgarwal/phi2-tsai)**
>
> Discover amazing ML apps made by the community

Runtime error: launch time out, space -was-not-healthy-after-30-min

---

<div class="post-metadata">

**Author:** ![LatinaJulia](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/latinajulia/32/34594_2.png) [@LatinaJulia](https://discuss.huggingface.co/u/LatinaJulia)\
**Post date:** [November 13, 2024, 4:01pm UTC](https://discuss.huggingface.co/t/launch-timed-out-space-was-not-healthy-after-30-min-space-remains-in-building-status/64295/7 "2024-11-13T16:01:29Z")

</div>

hello there i am facing the same error  
[https://huggingface.co/spaces/LatinaJulia/DolphinVision](https://huggingface.co/spaces/LatinaJulia/DolphinVision)
