# Huggingface "can't find space"

**URL:** <https://discuss.huggingface.co/t/huggingface-cant-find-space/33786>\
**Category:** Spaces\
**Created:** [March 14, 2023, 3:40pm UTC](https://discuss.huggingface.co/t/huggingface-cant-find-space/33786 "2023-03-14T15:40:09Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![xp3857](https://avatars.discourse-cdn.com/v4/letter/x/ce73a5/32.png) [@xp3857](https://discuss.huggingface.co/u/xp3857)\
**Post date:** [March 14, 2023, 3:40pm UTC](https://discuss.huggingface.co/t/huggingface-cant-find-space/33786/1 "2023-03-14T15:40:09Z")

</div>

What could be causing this error?

```auto
import gradio as gr
with gr.Blocks() as b:
    gr.Textbox()
b.launch()

```

> **[Test2 - a Hugging Face Space by xp3857](https://huggingface.co/spaces/xp3857/test2)**
>
> Discover amazing ML apps made by the community

[https://xp3857-test2.hf.space/](https://xp3857-test2.hf.space/)

---

<div class="post-metadata">

**Author:** ![freddyaboulton](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/freddyaboulton/32/32732_2.png) [@freddyaboulton](https://discuss.huggingface.co/u/freddyaboulton)\
**Post date:** [March 14, 2023, 4:08pm UTC](https://discuss.huggingface.co/t/huggingface-cant-find-space/33786/2 "2023-03-14T16:08:41Z")

</div>

Can you try a factory reboot? I just duplicated your space and it’s working well for me!

---

<div class="post-metadata">

**Author:** ![xp3857](https://avatars.discourse-cdn.com/v4/letter/x/ce73a5/32.png) [@xp3857](https://discuss.huggingface.co/u/xp3857)\
**Post date:** [March 14, 2023, 4:20pm UTC](https://discuss.huggingface.co/t/huggingface-cant-find-space/33786/3 "2023-03-14T16:20:28Z")

</div>

Factory reboot did not work.  
Duplicating the Space as “Public” allows the iframe to work.  
Duplicating the Space as “Private” prevents the iframe from working both as Private, and when set to Public.

Building a Space as Public works.  
Building a Space as Private and then setting it to Public prevents the iframe from working.

This problem is new in the past 24 hrs.

---

<div class="post-metadata">

**Author:** ![xp3857](https://avatars.discourse-cdn.com/v4/letter/x/ce73a5/32.png) [@xp3857](https://discuss.huggingface.co/u/xp3857)\
**Post date:** [March 14, 2023, 4:33pm UTC](https://discuss.huggingface.co/t/huggingface-cant-find-space/33786/4 "2023-03-14T16:33:51Z")

</div>

Based on some testing, Spaces that are built in “Private” are unable to be found when set to “Public”.  
Factory rebooting doesn’t fix it when set to Private or Public.

This problem developed within the past 24 hrs.

![test2](https://us1.discourse-cdn.com/hellohellohello/original/2X/c/cc4086bde500aabc45c95f76d6fae6359ea30720.png)

---

<div class="post-metadata">

**Author:** ![xp3857](https://avatars.discourse-cdn.com/v4/letter/x/ce73a5/32.png) [@xp3857](https://discuss.huggingface.co/u/xp3857)\
**Post date:** [March 14, 2023, 9:56pm UTC](https://discuss.huggingface.co/t/huggingface-cant-find-space/33786/5 "2023-03-14T21:56:13Z")

</div>

Hi, these spaces are still not working. Is there an update on what caused this suddenly?

---

<div class="post-metadata">

**Author:** ![xp3857](https://avatars.discourse-cdn.com/v4/letter/x/ce73a5/32.png) [@xp3857](https://discuss.huggingface.co/u/xp3857)\
**Post date:** [March 14, 2023, 10:00pm UTC](https://discuss.huggingface.co/t/huggingface-cant-find-space/33786/6 "2023-03-14T22:00:49Z")

</div>

I just built this space in Private and then set it to Public, and the iframe is “not found”.

Has the source of this problem been discovered?  
Is there a solution in the works?  
Is this type of information posted somewhere?

[https://xp3857-test3.hf.space](https://xp3857-test3.hf.space)

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](https://discuss.huggingface.co/u/radames)\
**Post date:** [March 17, 2023, 12:29am UTC](https://discuss.huggingface.co/t/huggingface-cant-find-space/33786/7 "2023-03-17T00:29:32Z")

</div>

hi @xp3857 , I just forked your test and it works fine [https://radames-test3.hf.space/](https://radames-test3.hf.space/)  
Can you please try a Factory Reboot and tell us what do you get? We had a infra migration happening a few days ago. thanks

---

<div class="post-metadata">

**Author:** ![xp3857](https://avatars.discourse-cdn.com/v4/letter/x/ce73a5/32.png) [@xp3857](https://discuss.huggingface.co/u/xp3857)\
**Post date:** [March 17, 2023, 12:51am UTC](https://discuss.huggingface.co/t/huggingface-cant-find-space/33786/8 "2023-03-17T00:51:57Z")

</div>

I just factory rebooted it again, you can see if it worked by clicking the link to the iframe. I have found a different route to resolution however, so we don’t need to troubleshoot this for any more days. Thanks!

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](https://discuss.huggingface.co/u/radames)\
**Post date:** [March 17, 2023, 12:54am UTC](https://discuss.huggingface.co/t/huggingface-cant-find-space/33786/9 "2023-03-17T00:54:15Z")

</div>

OK great, I see you have many other spaces that work fine.

---

<div class="post-metadata">

**Author:** ![xp3857](https://avatars.discourse-cdn.com/v4/letter/x/ce73a5/32.png) [@xp3857](https://discuss.huggingface.co/u/xp3857)\
**Post date:** [March 17, 2023, 1:02am UTC](https://discuss.huggingface.co/t/huggingface-cant-find-space/33786/10 "2023-03-17T01:02:31Z")

</div>

Is there an acceptable ratio of working to non-working spaces per account?

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](https://discuss.huggingface.co/u/radames)\
**Post date:** [March 17, 2023, 1:19am UTC](https://discuss.huggingface.co/t/huggingface-cant-find-space/33786/11 "2023-03-17T01:19:31Z")

</div>

I’m not sure about that. A working Space app might depend on its implementation, and building apps that depend on other Spaces could cause additional issues. Remember, we recently migrated our Spaces infra, and a factory reboot might help resolve any issues
