# 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:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ravivishwakarmauzio](https://avatars.discourse-cdn.com/v4/letter/r/e480ec/32.png) [@ravivishwakarmauzio](https://discuss.huggingface.co/u/ravivishwakarmauzio)\
**Post date:** [October 20, 2023, 6:09am UTC](https://discuss.huggingface.co/t/getting-error-during-create-chatui-using-docker/59222/1 "2023-10-20T06:09:18Z")

</div>

Hi, I’m getting an error while creating a space for chatUI, please provide some suggestion to solve this, or solution.and I’m using docker with chat UI template for space

===== Application Startup at 2023-10-19 07:41:05 =====

2023-10-19T07:44:17.356365Z INFO text\_generation\_launcher: Args { model\_id: “ravivishwakarmauzio/trainedModelwithAlpaca”, revision: None, validation\_workers: 2, sharded: None, num\_shard: Some(1), quantize: None, dtype: None, trust\_remote\_code: true, max\_concurrent\_requests: 128, max\_best\_of: 2, max\_stop\_sequences: 4, max\_top\_n\_tokens: 5, max\_input\_length: 1024, max\_total\_tokens: 2048, waiting\_served\_ratio: 1.2, max\_batch\_prefill\_tokens: 4096, max\_batch\_total\_tokens: None, max\_waiting\_tokens: 20, hostname: “s-ravivishwakarmauzio-chatiuiforuzio-6b605-6cfc5c75cc-tkft8”, port: 8080, shard\_uds\_path: “/tmp/text-generation-server”, master\_addr: “localhost”, master\_port: 29500, huggingface\_hub\_cache: Some(“/data”), weights\_cache\_override: None, disable\_custom\_kernels: false, cuda\_memory\_fraction: 1.0, rope\_scaling: None, rope\_factor: None, json\_output: false, otlp\_endpoint: None, cors\_allow\_origin: , watermark\_gamma: None, watermark\_delta: None, ngrok: false, ngrok\_authtoken: None, ngrok\_edge: None, env: false }  
2023-10-19T07:44:17.356410Z WARN text\_generation\_launcher: `trust_remote_code` is set. Trusting that model `ravivishwakarmauzio/trainedModelwithAlpaca` do not contain malicious code.  
2023-10-19T07:44:17.356487Z INFO download: text\_generation\_launcher: Starting download process.  
% Total % Received % Xferd Average Speed Time Time Time Current  
Dload Upload Total Spent Left Speed

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. 60  
Warning: retries left.  
{“t”:{“$date”:“2023-10-19T09:44:17.374+02:00”},“s”:“I”, “c”:“NETWORK”, “id”:4915701, “ctx”:“-”,“msg”:“Initialized wire specification”,“attr”:{“spec”:{“incomingExternalClient”:{“minWireVersion”:0,“maxWireVersion”:17},“incomingInternalClient”:{“minWireVersion”:0,“maxWireVersion”:17},“outgoing”:{“minWireVersion”:6,“maxWireVersion”:17},“isInternalClient”:true}}}  
{“t”:{“$date”:“2023-10-19T09:44:17.375+02:00”},“s”:“I”, “c”:“CONTROL”, “id”:23285, “ctx”:“-”,“msg”:“Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols ‘none’”}  
{“t”:{“$date”:“2023-10-19T09:44:17.375+02:00”},“s”:“I”, “c”:“NETWORK”, “id”:4648601, “ctx”:“main”,“msg”:“Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize.”}  
{“t”:{“$date”:“2023-10-19T09:44:17.376+02:00”},“s”:“I”, “c”:“REPL”, “id”:5123008, “ctx”:“main”,“msg”:“Successfully registered PrimaryOnlyService”,“attr”:{“service”:“TenantMigrationDonorService”,“namespace”:“config.tenantMigrationDonors”}}  
{“t”:{“$date”:“2023-10-19T09:44:17.376+02:00”},“s”:“I”, “c”:“REPL”, “id”:5123008, “ctx”:“main”,“msg”:“Successfully registered PrimaryOnlyService”,“attr”:{“service”:“TenantMigrationRecipientService”,“namespace”:“config.tenantMigrationRecipients”}}  
{“t”:{“$date”:“2023-10-19T09:44:17.376+02:00”},“s”:“I”, “c”:“REPL”, “id”:5123008, “ctx”:“main”,“msg”:“Successfully registered PrimaryOnlyService”,“attr”:{“service”:“ShardSplitDonorService”,“namespace”:“config.tenantSplitDonors”}}  
{“t”:{“$date”:“2023-10-19T09:44:17.376+02:00”},“s”:“I”, “c”:“CONTROL”, “id”:5945603, “ctx”:“main”,“msg”:“Multi threading initialized”}  
{“t”:{“$date”:“2023-10-19T09:44:17.376+02:00”},“s”:“I”, “c”:“CONTROL”, “id”:4615611, “ctx”:“initandlisten”,“msg”:“MongoDB starting”,“attr”:{“pid”:6,“port”:27017,“dbPath”:“/data/db”,“architecture”:“64-bit”,“host”:“s-ravivishwakarmauzio-chatiuiforuzio-6b605-6cfc5c75cc-tkft8”}}  
{“t”:{“$date”:“2023-10-19T09:44:17.376+02:00”},“s”:“W”, “c”:“CONTROL”, “id”:20720, “ctx”:“initandlisten”,“msg”:“Memory available to mongo process is less than total system memory”,“attr”:{“availableMemSizeMB”:14336,“systemMemSizeMB”:15823}}  
{“t”:{“$date”:“2023-10-19T09:44:17.376+02:00”},“s”:“I”, “c”:“CONTROL”, “id”:23403, “ctx”:“initandlisten”,“msg”:“Build Info”,“attr”:{“buildInfo”:{“version”:“6.0.11”,“gitVersion”:“f797f841eaf1759c770271ae00c88b92b2766eed”,“openSSLVersion”:“OpenSSL 1.1.1f 31 Mar 2020”,“modules”:,“allocator”:“tcmalloc”,“environment”:{“distmod”:“ubuntu2004”,“distarch”:“x86\_64”,“target\_arch”:“x86\_64”}}}}  
{“t”:{“$date”:“2023-10-19T09:44:17.377+02:00”},“s”:“I”, “c”:“CONTROL”, “id”:51765, “ctx”:“initandlisten”,“msg”:“Operating System”,“attr”:{“os”:{“name”:“Ubuntu”,“version”:“20.04”}}}  
{“t”:{“$date”:“2023-10-19T09:44:17.377+02:00”},“s”:“I”, “c”:“CONTROL”, “id”:21951, “ctx”:“initandlisten”,“msg”:“Options set by command line”,“attr”:{“options”:{}}}  
{“t”:{“$date”:“2023-10-19T09:44:17.378+02:00”},“s”:“E”, “c”:“CONTROL”, “id”:20557, “ctx”:“initandlisten”,“msg”:“DBException in initAndListen, terminating”,“attr”:{“error”:“NonExistentPath: Data directory /data/db not found. Create the missing directory or specify another path using (1) the --dbpath command line option, or (2) by adding the ‘storage.dbPath’ option in the configuration file.”}}  
{“t”:{“$date”:“2023-10-19T09:44:17.378+02:00”},“s”:“I”, “c”:“REPL”, “id”:4784900, “ctx”:“initandlisten”,“msg”:“Stepping down the ReplicationCoordinator for shutdown”,“attr”:{“waitTimeMillis”:15000}}  
{“t”:{“$date”:“2023-10-19T09:44:17.378+02:00”},“s”:“I”, “c”:“REPL”, “id”:4794602, “ctx”:“initandlisten”,“msg”:“Attempting to enter quiesce mode”}  
{“t”:{“$date”:“2023-10-19T09:44:17.378+02:00”},“s”:“I”, “c”:“-”, “id”:6371601, “ctx”:“initandlisten”,“msg”:“Shutting down the FLE Crud thread pool”}  
{“t”:{“$date”:“2023-10-19T09:44:17.378+02:00”},“s”:“I”, “c”:“COMMAND”, “id”:4784901, “ctx”:“initandlisten”,“msg”:“Shutting down the MirrorMaestro”}  
{“t”:{“$date”:“2023-10-19T09:44:17.378+02:00”},“s”:“I”, “c”:“SHARDING”, “id”:4784902, “ctx”:“initandlisten”,“msg”:“Shutting down the WaitForMajorityService”}  
{“t”:{“$date”:“2023-10-19T09:44:17.378+02:00”},“s”:“I”, “c”:“NETWORK”, “id”:20562, “ctx”:“initandlisten”,“msg”:“Shutdown: going to close listening sockets”}  
{“t”:{“$date”:“2023-10-19T09:44:17.378+02:00”},“s”:“I”, “c”:“NETWORK”, “id”:4784905, “ctx”:“initandlisten”,“msg”:“Shutting down the global connection pool”}  
{“t”:{“$date”:“2023-10-19T09:44:17.378+02:00”},“s”:“I”, “c”:“CONTROL”, “id”:4784906, “ctx”:“initandlisten”,“msg”:“Shutting down the FlowControlTicketholder”}  
{“t”:{“$date”:“2023-10-19T09:44:17.378+02:00”},“s”:“I”, “c”:“-”, “id”:20520, “ctx”:“initandlisten”,“msg”:“Stopping further Flow Control ticket acquisitions.”}  
{“t”:{“$date”:“2023-10-19T09:44:17.378+02:00”},“s”:“I”, “c”:“NETWORK”, “id”:4784918, “ctx”:“initandlisten”,“msg”:“Shutting down the ReplicaSetMonitor”}  
{“t”:{“$date”:“2023-10-19T09:44:17.379+02:00”},“s”:“I”, “c”:“SHARDING”, “id”:4784921, “ctx”:“initandlisten”,“msg”:“Shutting down the MigrationUtilExecutor”}  
{“t”:{“$date”:“2023-10-19T09:44:17.382+02:00”},“s”:“I”, “c”:“ASIO”, “id”:22582, “ctx”:“MigrationUtil-TaskExecutor”,“msg”:“Killing all outstanding egress activity.”}  
{“t”:{“$date”:“2023-10-19T09:44:17.382+02:00”},“s”:“I”, “c”:“COMMAND”, “id”:4784923, “ctx”:“initandlisten”,“msg”:“Shutting down the ServiceEntryPoint”}  
{“t”:{“$date”:“2023-10-19T09:44:17.382+02:00”},“s”:“I”, “c”:“CONTROL”, “id”:4784928, “ctx”:“initandlisten”,“msg”:“Shutting down the TTL monitor”}  
{“t”:{“$date”:“2023-10-19T09:44:17.382+02:00”},“s”:“I”, “c”:“CONTROL”, “id”:6278511, “ctx”:“initandlisten”,“msg”:“Shutting down the Change Stream Expired Pre-images Remover”}  
{“t”:{“$date”:“2023-10-19T09:44:17.382+02:00”},“s”:“I”, “c”:“CONTROL”, “id”:4784929, “ctx”:“initandlisten”,“msg”:“Acquiring the global lock for shutdown”}  
{“t”:{“$date”:“2023-10-19T09:44:17.382+02:00”},“s”:“I”, “c”:“-”, “id”:4784931, “ctx”:“initandlisten”,“msg”:“Dropping the scope cache for shutdown”}  
{“t”:{“$date”:“2023-10-19T09:44:17.382+02:00”},“s”:“I”, “c”:“CONTROL”, “id”:20565, “ctx”:“initandlisten”,“msg”:“Now exiting”}  
{“t”:{“$date”:“2023-10-19T09:44:17.382+02:00”},“s”:“I”, “c”:“CONTROL”, “id”:23138, “ctx”:“initandlisten”,“msg”:“Shutting down”,“attr”:{“exitCode”:100}}  
2023-10-19T07:44:19.997664Z INFO text\_generation\_launcher: Peft model detected.

2023-10-19T07:44:19.997730Z INFO text\_generation\_launcher: Loading the model it might take a while without feedback

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.

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. 58  
Warning: retries left.

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. 57  
Warning: retries left.

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. 56  
Warning: retries left.

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. 55  
Warning: retries left.  
2023-10-19T07:45:17.018846Z INFO text\_generation\_launcher: Loaded.

2023-10-19T07:45:17.018904Z INFO text\_generation\_launcher: Merging the lora weights.

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. 54  
Warning: retries left.

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. 53  
Warning: retries left.  
Error: DownloadError  
2023-10-19T07:45:31.701740Z ERROR download: text\_generation\_launcher: Download encountered an error:  
Downloading shards: 0%| | 0/2 [00:00\<?, ?it/s]  
Downloading shards: 50%|█████ | 1/2 [00:26\<00:26, 26.61s/it]  
Downloading shards: 100%|██████████| 2/2 [00:36\<00:00, 16.91s/it]  
Downloading shards: 100%|██████████| 2/2 [00:36\<00:00, 18.36s/it]

Loading checkpoint shards: 0%| | 0/2 [00:00\<?, ?it/s]  
Loading checkpoint shards: 50%|█████ | 1/2 [00:04\<00:04, 4.79s/it]  
Loading checkpoint shards: 100%|██████████| 2/2 [00:06\<00:00, 3.02s/it]  
Loading checkpoint shards: 100%|██████████| 2/2 [00:06\<00:00, 3.28s/it]  
Traceback (most recent call last):

File “/opt/conda/bin/text-generation-server”, line 8, in  
sys.exit(app())

File “/opt/conda/lib/python3.9/site-packages/text\_generation\_server/cli.py”, line 131, in download\_weights  
utils.download\_and\_unload\_peft(

File “/opt/conda/lib/python3.9/site-packages/text\_generation\_server/utils/peft.py”, line 38, in download\_and\_unload\_peft  
os.makedirs(model\_id, exist\_ok=True)

File “/opt/conda/lib/python3.9/os.py”, line 215, in makedirs  
makedirs(head, exist\_ok=exist\_ok)

File “/opt/conda/lib/python3.9/os.py”, line 225, in makedirs  
mkdir(name, mode)

PermissionError: [Errno 13] Permission denied: ‘ravivishwakarmauzio’

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. 52  
Warning: retries left.

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. 51  
Warning: retries left.

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. 50  
Warning: retries left.

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. 49  
Warning: retries left.

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. 48  
Warning: retries left.

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. 47  
Warning: retries left.

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. 46  
Warning: retries left.

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. 45  
Warning: retries left.

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. 44  
Warning: retries left.

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. 43  
Warning: retries left.

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. 42  
Warning: retries left.

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. 41  
Warning: retries left.

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. 40  
Warning: retries left.

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. 39  
Warning: retries left.

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. 38  
Warning: retries left.

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. 37  
Warning: retries left.

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 r

---

<div class="post-metadata">

**Author:** ![amparo-amaro](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/amparo-amaro/32/20646_2.png) [@amparo-amaro](https://discuss.huggingface.co/u/amparo-amaro)\
**Post date:** [October 25, 2023, 7:11pm UTC](https://discuss.huggingface.co/t/getting-error-during-create-chatui-using-docker/59222/2 "2023-10-25T19:11:57Z")

</div>

I’m getting the same error.

---

<div class="post-metadata">

**Author:** ![maacaro](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@maacaro](https://discuss.huggingface.co/u/maacaro)\
**Post date:** [November 22, 2023, 10:32am UTC](https://discuss.huggingface.co/t/getting-error-during-create-chatui-using-docker/59222/3 "2023-11-22T10:32:00Z")

</div>

getting same error, any solution yet?

---

<div class="post-metadata">

**Author:** ![AalianK](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/aaliank/32/22176_2.png) [@AalianK](https://discuss.huggingface.co/u/AalianK)\
**Post date:** [December 17, 2023, 4:10pm UTC](https://discuss.huggingface.co/t/getting-error-during-create-chatui-using-docker/59222/4 "2023-12-17T16:10:23Z")

</div>

Same error here,  
Any solutions?

---

<div class="post-metadata">

**Author:** ![fkywky](https://avatars.discourse-cdn.com/v4/letter/f/ecd19e/32.png) [@fkywky](https://discuss.huggingface.co/u/fkywky)\
**Post date:** [March 16, 2024, 6:14pm UTC](https://discuss.huggingface.co/t/getting-error-during-create-chatui-using-docker/59222/6 "2024-03-16T18:14:34Z")

</div>

Same error here

---

<div class="post-metadata">

**Author:** ![LeoX91](https://avatars.discourse-cdn.com/v4/letter/l/c89c15/32.png) [@LeoX91](https://discuss.huggingface.co/u/LeoX91)\
**Post date:** [August 26, 2024, 12:16pm UTC](https://discuss.huggingface.co/t/getting-error-during-create-chatui-using-docker/59222/7 "2024-08-26T12:16:35Z")

</div>

Same error, I think the docker of ChatUI is completely broken. Sad.

---

<div class="post-metadata">

**Author:** ![Gragroo](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/gragroo/32/32066_2.png) [@Gragroo](https://discuss.huggingface.co/u/Gragroo)\
**Post date:** [October 4, 2024, 9:18am UTC](https://discuss.huggingface.co/t/getting-error-during-create-chatui-using-docker/59222/8 "2024-10-04T09:18:10Z")

</div>

same error today

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 after 0 ms: Couldn’t connect to server  
Warning: Problem : connection refused. Will retry in 10 seconds. 59 retries  
Warning: left.  
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 after 0 ms: Couldn’t connect to server  
Warning: Problem : connection refused. Will retry in 10 seconds. 58 retries  
Warning: left.  
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 after 0 ms: Couldn’t connect to server  
Warning: Problem : connection refused. Will retry in 10 seconds. 57 retries  
Warning: left.  
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 after 0 ms: Couldn’t connect to server  
Warning: Problem : connection refused. Will retry in 10 seconds. 56 retries  
Warning: left.

---

<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 4, 2024, 9:36am UTC](https://discuss.huggingface.co/t/getting-error-during-create-chatui-using-docker/59222/9 "2024-10-04T09:36:28Z")

</div>

Did you forget to set the port in README.md?

> **[Spaces Configuration Reference](https://huggingface.co/docs/hub/spaces-config-reference)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

```yaml
app_port: 8080

```

---

<div class="post-metadata">

**Author:** ![Gragroo](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/gragroo/32/32066_2.png) [@Gragroo](https://discuss.huggingface.co/u/Gragroo)\
**Post date:** [October 14, 2024, 9:17am UTC](https://discuss.huggingface.co/t/getting-error-during-create-chatui-using-docker/59222/10 "2024-10-14T09:17:07Z")

</div>

Yes I did modify it on the readme. But same issue

---

<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!
