# Spaces keep building, never start!

**URL:** <https://discuss.huggingface.co/t/spaces-keep-building-never-start/97011>\
**Category:** Spaces\
**Created:** [July 12, 2024, 4:43pm UTC](https://discuss.huggingface.co/t/spaces-keep-building-never-start/97011 "2024-07-12T16:43:56Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon27710481](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@anon27710481](https://discuss.huggingface.co/u/anon27710481)\
**Post date:** [July 12, 2024, 4:43pm UTC](https://discuss.huggingface.co/t/spaces-keep-building-never-start/97011/1 "2024-07-12T16:43:56Z")

</div>

All spaces keep building and not starting. please look into this issue.

---

<div class="post-metadata">

**Author:** ![ejschwartz](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/ejschwartz/32/16902_2.png) [@ejschwartz](https://discuss.huggingface.co/u/ejschwartz)\
**Post date:** [July 12, 2024, 6:27pm UTC](https://discuss.huggingface.co/t/spaces-keep-building-never-start/97011/2 "2024-07-12T18:27:22Z")

</div>

I’m having the same problem

---

<div class="post-metadata">

**Author:** ![Ashoka74](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/ashoka74/32/29193_2.png) [@Ashoka74](https://discuss.huggingface.co/u/Ashoka74)\
**Post date:** [July 12, 2024, 6:49pm UTC](https://discuss.huggingface.co/t/spaces-keep-building-never-start/97011/3 "2024-07-12T18:49:13Z")

</div>

Same here!

---

<div class="post-metadata">

**Author:** ![Vercixx](https://avatars.discourse-cdn.com/v4/letter/v/958977/32.png) [@Vercixx](https://discuss.huggingface.co/u/Vercixx)\
**Post date:** [July 12, 2024, 6:58pm UTC](https://discuss.huggingface.co/t/spaces-keep-building-never-start/97011/4 "2024-07-12T18:58:21Z")

</div>

Same, factory rebuild doesn’t help

---

<div class="post-metadata">

**Author:** ![neuralworm](https://avatars.discourse-cdn.com/v4/letter/n/f0a364/32.png) [@neuralworm](https://discuss.huggingface.co/u/neuralworm)\
**Post date:** [July 12, 2024, 7:31pm UTC](https://discuss.huggingface.co/t/spaces-keep-building-never-start/97011/5 "2024-07-12T19:31:37Z")

</div>

i also have the same problem. i had a requirements.txt with an empty line at the end, i dont know whether that matters.  
i couldnt even duplicate the space. i duplicated it, it got 400 - metadata required bug.  
now both spaces are building forever and will never stop building.

---

<div class="post-metadata">

**Author:** ![ArturG9](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@ArturG9](https://discuss.huggingface.co/u/ArturG9)\
**Post date:** [July 12, 2024, 8:26pm UTC](https://discuss.huggingface.co/t/spaces-keep-building-never-start/97011/6 "2024-07-12T20:26:59Z")

</div>

It’s so good to see that i am not only one with this issue 😅

---

<div class="post-metadata">

**Author:** ![ArturG9](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@ArturG9](https://discuss.huggingface.co/u/ArturG9)\
**Post date:** [July 12, 2024, 8:27pm UTC](https://discuss.huggingface.co/t/spaces-keep-building-never-start/97011/7 "2024-07-12T20:27:43Z")

</div>

Its something with huggingface servers

---

<div class="post-metadata">

**Author:** ![sergiomar73](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/sergiomar73/32/29273_2.png) [@sergiomar73](https://discuss.huggingface.co/u/sergiomar73)\
**Post date:** [July 12, 2024, 8:52pm UTC](https://discuss.huggingface.co/t/spaces-keep-building-never-start/97011/8 "2024-07-12T20:52:16Z")

</div>

It seems to be working now!

---

<div class="post-metadata">

**Author:** ![ArturG9](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@ArturG9](https://discuss.huggingface.co/u/ArturG9)\
**Post date:** [July 12, 2024, 9:06pm UTC](https://discuss.huggingface.co/t/spaces-keep-building-never-start/97011/9 "2024-07-12T21:06:46Z")

</div>

For me still not. Still building 😕

---

<div class="post-metadata">

**Author:** ![neuralworm](https://avatars.discourse-cdn.com/v4/letter/n/f0a364/32.png) [@neuralworm](https://discuss.huggingface.co/u/neuralworm)\
**Post date:** [July 12, 2024, 9:41pm UTC](https://discuss.huggingface.co/t/spaces-keep-building-never-start/97011/10 "2024-07-12T21:41:41Z")

</div>

for me it works now too, space has completed building and is starting, and i have logs again.

---

<div class="post-metadata">

**Author:** ![Vercixx](https://avatars.discourse-cdn.com/v4/letter/v/958977/32.png) [@Vercixx](https://discuss.huggingface.co/u/Vercixx)\
**Post date:** [July 14, 2024, 11:57am UTC](https://discuss.huggingface.co/t/spaces-keep-building-never-start/97011/11 "2024-07-14T11:57:55Z")

</div>

should be fixed now

---

<div class="post-metadata">

**Author:** ![pitch-perfect](https://avatars.discourse-cdn.com/v4/letter/p/3be4f8/32.png) [@pitch-perfect](https://discuss.huggingface.co/u/pitch-perfect)\
**Post date:** [July 19, 2024, 1:57pm UTC](https://discuss.huggingface.co/t/spaces-keep-building-never-start/97011/12 "2024-07-19T13:57:58Z")

</div>

Still not working for me ☹

---

<div class="post-metadata">

**Author:** ![zhiminy](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/zhiminy/32/45157_2.png) [@zhiminy](https://discuss.huggingface.co/u/zhiminy)\
**Post date:** [April 18, 2025, 10:18pm UTC](https://discuss.huggingface.co/t/spaces-keep-building-never-start/97011/13 "2025-04-18T22:18:15Z")

</div>

How did you settle with it? You made any changes afterwards?

---

<div class="post-metadata">

**Author:** ![ejschwartz](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/ejschwartz/32/16902_2.png) [@ejschwartz](https://discuss.huggingface.co/u/ejschwartz)\
**Post date:** [April 18, 2025, 10:42pm UTC](https://discuss.huggingface.co/t/spaces-keep-building-never-start/97011/14 "2025-04-18T22:42:25Z")

</div>

I had a problem where a virus scanner falsely detected some malicious behavior in my repository. You may want to email [website@huggingface.co](mailto:website@huggingface.co) if you think this is happening to you.

---

<div class="post-metadata">

**Author:** ![zhiminy](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/zhiminy/32/45157_2.png) [@zhiminy](https://discuss.huggingface.co/u/zhiminy)\
**Post date:** [April 18, 2025, 11:13pm UTC](https://discuss.huggingface.co/t/spaces-keep-building-never-start/97011/15 "2025-04-18T23:13:41Z")

</div>

> [@ejschwartz](#):
>
> where a virus scanner falsely detected some malicious behavior in my repository.

Thanks, I think I have encountered the virus misdetection behavior for my dataset repo, maybe that’s the direct reason why my space cannot load the dataset correctly?

here is my latest space build failure message:

```auto
--> COPY --link --chown=1000 ./ /home/user/app
DONE 0.0s

--> RUN pip freeze > /tmp/freeze.txt
DONE 0.4s

--> COPY --from=pipfreeze --link --chown=1000 /tmp/freeze.txt /tmp/freeze.txt
DONE 0.0s

--> Pushing image

--> ERROR: failed to push spaces-registry.huggingface.tech/spaces/66861d147374cac5657651e3:cpu-adfb223-is5a3t73: unexpected status from HEAD request to https://spaces-registry.huggingface.tech/v2/spaces/66861d147374cac5657651e3/manifests/cpu-adfb223-is5a3t73: 401 Unauthorized

```

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](https://discuss.huggingface.co/u/John6666)\
**Post date:** [April 19, 2025, 12:09am UTC](https://discuss.huggingface.co/t/spaces-keep-building-never-start/97011/16 "2025-04-19T00:09:50Z")

</div>

Same there. so many…

> [@My Space suddenly went offline. The CPU cannot restart](https://discuss.huggingface.co/t/my-space-suddenly-went-offline-the-cpu-cannot-restart/151121):
>
> It was running normally before, then suddenly disappeared, showing the Huggingface icon and a message saying “Building Space.” I checked the backend logs, and before the logs stopped, there were several instances of “reloading database.” I tried restarting the Space, but it didn’t work. I tried rebuilding the Space, but it also didn’t work. Then I noticed my CPU is stuck in a spinning state. What should I do now?

---

<div class="post-metadata">

**Author:** ![WildnerveAI](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/wildnerveai/32/45945_2.png) [@WildnerveAI](https://discuss.huggingface.co/u/WildnerveAI)\
**Post date:** [April 21, 2025, 2:52am UTC](https://discuss.huggingface.co/t/spaces-keep-building-never-start/97011/17 "2025-04-21T02:52:03Z")

</div>

I had the same issue as well. I built my own hybrid architecture, then trying to create a chatbot on Huggingface’s spaces after countless failures and bug fixes, thanks to the error log generated. However a couple of days ago in one of those fixes I done to the dockerfile, api and app.py it hanged. I tried rebuilding from factory reset but still fails, no logs showing now. I tried everything I can on my codes, adding patches, stubs and fixes, even creating minimal versions of my modules to see if works but ultimately still failed.. It kept building and never start.

I suspect it could be due to the A10G I used. Please help me.

My model in spaces  
[https://huggingface.co/spaces/EvolphTech/Wildnerve-tlm01-0.05Bx12?logs=build](https://huggingface.co/spaces/EvolphTech/Wildnerve-tlm01-0.05Bx12?logs=build)
