# Getting error during create chatUI using docker

**URL:** <https://discuss.huggingface.co/t/getting-error-during-create-chatui-using-docker/59222>\
**Category:** Spaces\
**Created:** [October 20, 2023, 6:09am UTC](https://discuss.huggingface.co/t/getting-error-during-create-chatui-using-docker/59222 "2023-10-20T06:09:18Z")\
**Posts on this page:** 1\
**Showing post:** 11

<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:** [October 14, 2024, 9:20am UTC](https://discuss.huggingface.co/t/getting-error-during-create-chatui-using-docker/59222/11 "2024-10-14T09:20:43Z")

</div>

Perhaps unresolved issue…?

> <https://github.com/huggingface/chat-ui/issues/623>
>
> I'm trying to use the ChatUI space with Docker. I have a private, custom model w…hich I've trained. 
> I want to access it in a private space using Docker ChatUI
> I seem to be running into permissions errors. 
> 
> Things I've tried:
> Following the instructions set out here: https://huggingface.co/blog/Llama2-for-non-engineers (I used Llama2 with a custom dataset)
> Creating it with / without the MongoDB URI
> Adding an existing secret as the HF\_TOKEN
> Creating a new "HUGGING\_FACE\_HUB\_TOKEN" in my settings and in the new space and using that
> Addint he new token as a secret in the space where the model was generated
> Hardcoding the access token in .env.local.template to see if it gives a temp fix (it didn't)
> Does it matter if I don't have a centralised secret that is explicitly named as "HF\_TOKEN"?
> 
> Error:
> huggingface\_hub.utils.\_errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-6576f9fe-00986ef531649f933739e793;0d286b3c-5e65-45c1-a1f9-7efea56654dd)
> 
> Error: DownloadError
> Repository Not Found for url: https://huggingface.co/api/models/\<USERNAME\>/\<MODELNAME\>.
> Please make sure you specified the correct repo\_id and repo\_type.
> If you are trying to access a private or gated repo, make sure you are authenticated.
> Invalid username or password.
> 
> 
> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
> curl: (7) Failed to connect to 127.0.0.1 port 8080: Connection refused
> Warning: Transient problem: connection refused Will retry in 10 seconds. 59 
> Warning: retries left.

> [@Creating ChatUI space for trained model](https://discuss.huggingface.co/t/creating-chatui-space-for-trained-model/58872/6):
>
> Same error here!

---

_[View the full topic](https://discuss.huggingface.co/t/getting-error-during-create-chatui-using-docker/59222)._
