# Problems with deploying Rasa X on Server

**URL:** <https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632>\
**Category:** Rasa Open Source\
**Created:** [November 24, 2019, 1:09am UTC](https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632 "2019-11-24T01:09:19Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![richardtian1007](https://avatars.discourse-cdn.com/v4/letter/r/2acd7d/32.png) [@richardtian1007](https://forum.rasa.com/u/richardtian1007)\
**Post date:** [November 24, 2019, 1:09am UTC](https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632/1 "2019-11-24T01:09:19Z")

</div>

```
Hi,

I have been facing an issue with deploying Rasa X on a server these past days. I am following the Quick Installation described on the [Deploy to Server](https://rasa.com/docs/rasa-x/deploy/#quick-installation) tutorial on a my local VM (using Ubuntu 18.04). Based on previously posted issues, I have used the `https://storage.googleapis.com/rasa-x-releases/0.22.2/install.sh` installation for this (pinned version).

I am able to connect to the Rasa X UI through the provided public IP address and can upload models using the `sudo curl -k -F "model=@my_model.tar.gz" http://127.0.0.1/api/projects/default/models?api_token=50e97c8de8232c6a9af7e84f082020ee3d173796 -v -i` command.
After I run this command I get a error.
Warning: setting file my_model.tar.gz failed!
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 80 (#0)
> POST /api/projects/default/models?api_token=50e97c8de8232c6a9af7e84f082020ee3d173796 HTTP/1.1
> Host: 127.0.0.1
> User-Agent: curl/7.58.0
> Accept: */*
> Transfer-Encoding: chunked
> Content-Type: multipart/form-data; boundary=------------------------f19d9c5a28828777
> Expect: 100-continue
> 
< HTTP/1.1 100 Continue
HTTP/1.1 100 Continue

* read function returned funny value
* stopped the pause stream!
* Closing connection 0
curl: (26) read function returned funny value

my docker information is as follows:
base) pentian@pentian-virtual-machine:/etc/rasa$ sudo docker ps
[sudo] password for pentian: 
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d644932f2c2b rasa/logger:0.22.2 "/bin/sh -c 'docker-…" 22 minutes ago Up 22 minutes rasa_logger_1
ed8e47920469 rasa/nginx:0.22.2 "/opt/bitnami/entryp…" 22 minutes ago Up 22 minutes 0.0.0.0:80->8080/tcp, 0.0.0.0:443->8443/tcp rasa_nginx_1
d61afa1ea355 rasa/rasa-x-demo:0.22.0 "./entrypoint.sh run…" 22 minutes ago Up 22 minutes 5055/tcp rasa_app_1
73194ee390c0 rasa/rasa:1.4.2-full "rasa x --no-prompt …" 22 minutes ago Up 22 minutes 5005/tcp rasa_rasa-worker_1
73b6a2e22468 rasa/rasa:1.4.2-full "rasa x --no-prompt …" 22 minutes ago Up 22 minutes 5005/tcp rasa_rasa-production_1
4f6f8f6a6355 rasa/rasa-x:0.22.2 "python -m rasax.com…" 22 minutes ago Up 22 minutes 5002/tcp rasa_rasa-x_1
1830184bfa12 bitnami/rabbitmq:3.7.17 "/entrypoint.sh /run…" 23 minutes ago Up 22 minutes 4369/tcp, 5672/tcp, 15672/tcp, 25672/tcp rasa_rabbit_1
38fcd3a2e34f rasa/duckling:latest "duckling-example-ex…" 23 minutes ago Up 22 minutes 8000/tcp rasa_duckling_1
1872d79af474 bitnami/postgresql:11.2.0 "/entrypoint.sh /run…" 23 minutes ago Up 22 minutes 5432/tcp rasa_db_1
764e8a465c22 bitnami/redis:5.0.5 "/entrypoint.sh /run…" 23 minutes ago Up 22 minutes 0.0.0.0:6379->6379/tcp rasa_redis_1

Any help would be greatly appreciated as I’m quite new to this and have no experience with debug rasa.

Thanks so much!
```

---

<div class="post-metadata">

**Author:** ![amn41](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/amn41/32/20_2.png) [@amn41](https://forum.rasa.com/u/amn41)\
**Post date:** [November 25, 2019, 8:45pm UTC](https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632/2 "2019-11-25T20:45:36Z")

</div>

most likely there is a problem with volumes / disk not being accessible in the VM. May I ask why you’re running in server mode on your local machine? Rasa X can be run locally and the feature set for local mode makes more sense if you’re running that way.

---

<div class="post-metadata">

**Author:** ![Papa](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@Papa](https://forum.rasa.com/u/Papa)\
**Post date:** [April 1, 2021, 12:39pm UTC](https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632/3 "2021-04-01T12:39:45Z")

</div>

I have been facing an issue with deploying Rasa X on a server these past days. I am following the Quick Installation described on the [Deploy to Server](https://rasa.com/docs/rasa-x/deploy/#quick-installation) tutorial on our own server (using red hat 8). But the installation takes too many times. My machine has: Ram 8giga, vCPUs 5 and 300 giga disk. I am still here: **Deploying Rasa X** …

---

<div class="post-metadata">

**Author:** ![amn41](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/amn41/32/20_2.png) [@amn41](https://forum.rasa.com/u/amn41)\
**Post date:** [April 7, 2021, 11:11am UTC](https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632/4 "2021-04-07T11:11:57Z")

</div>

hi @Papa - sorry to hear that. Did you manage to get it working? Is there any kind of error message or does it just hang?

---

<div class="post-metadata">

**Author:** ![Papa](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@Papa](https://forum.rasa.com/u/Papa)\
**Post date:** [April 7, 2021, 4:33pm UTC](https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632/5 "2021-04-07T16:33:37Z")

</div>

It works now. It was my networks rules. Thank you for replying my question. But i have another question; Can i use rasa x 0.35.0 for rasa open source 2.2.9 an sdk 2.2.0?

---

<div class="post-metadata">

**Author:** ![amn41](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/amn41/32/20_2.png) [@amn41](https://forum.rasa.com/u/amn41)\
**Post date:** [April 7, 2021, 8:14pm UTC](https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632/6 "2021-04-07T20:14:41Z")

</div>

we have a [compatibility matrix](https://rasa.com/docs/rasa-x/changelog/compatibility-matrix/) which hopefully answers all your questions 🙂

---

<div class="post-metadata">

**Author:** ![Papa](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@Papa](https://forum.rasa.com/u/Papa)\
**Post date:** [April 8, 2021, 4:36pm UTC](https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632/7 "2021-04-08T16:36:28Z")

</div>

Hi, I am using Rasa x 0.35.0 on my server and i try to connect to my github repo but rasa x tell me the “Something went wrong. Please try again.” I am using rasa open source 2.2.9 and rasa sdk 2.2.0. Please i need your help. I am new to rasa.

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [April 15, 2021, 3:28am UTC](https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632/8 "2021-04-15T03:28:53Z")

</div>

Take a look at the Rasa X container logs at the time that you try to make the repo connection. Reply with the log from this time.

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [April 15, 2021, 3:24pm UTC](https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632/10 "2021-04-15T15:24:30Z")

</div>

Sounds like you missed a step from the [setup instructions](https://rasa.com/docs/rasa-x/installation-and-setup/deploy/#connect-a-git-repository). You must paste the generated ssh key into the repos [deploy keys](https://docs.github.com/en/developers/overview/managing-deploy-keys#deploy-keys) and make sure you click the **Allow write access** box.

---

<div class="post-metadata">

**Author:** ![Papa](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@Papa](https://forum.rasa.com/u/Papa)\
**Post date:** [April 16, 2021, 9:42am UTC](https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632/11 "2021-04-16T09:42:06Z")

</div>

curl --request POST --url [http://10.XXX.XXX.XXX/api/projects/default/git\_repositories?api\_token=abchdjdkdl05c4f2d2fb379c5a42faf4a0848b1](http://10.xxx.xxx.xxx/api/projects/default/git_repositories?api_token=abchdjdkdl05c4f2d2fb379c5a42faf4a0848b1) --header ‘content-type: application/json’ --data-binary @repository.json

But got below error:

{“version”:“0.35.0”,“status”:“failure”,“message”:“Insufficient permissions for remote repository.”,“reason”:“RepositoryCreationFailed”,“details”:“Given repository credentials don’t provide write permissions to the repository. Please make sure the SSH key is correct and the administrator of the remote repository gave you the required permissions.”,“help”:null,“code”:422}curl: (6) Could not resolve host: application.

---

<div class="post-metadata">

**Author:** ![Papa](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@Papa](https://forum.rasa.com/u/Papa)\
**Post date:** [April 17, 2021, 12:58pm UTC](https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632/12 "2021-04-17T12:58:59Z")

</div>

Hi @stephens, I have problem with my rasa webchat. I can’t see my chat window on my website. How to fix this. I have this since yesterday.

---

<div class="post-metadata">

**Author:** ![Papa](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@Papa](https://forum.rasa.com/u/Papa)\
**Post date:** [April 21, 2021, 4:19pm UTC](https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632/13 "2021-04-21T16:19:24Z")

</div>

@amn41 I am trying to connect my website to my bot but i can’t see the webchat. Please your help. I followed the different steps in the doc. but it didn’t work. It works well with my local machine

---

<div class="post-metadata">

**Author:** ![Papa](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@Papa](https://forum.rasa.com/u/Papa)\
**Post date:** [April 21, 2021, 4:20pm UTC](https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632/14 "2021-04-21T16:20:13Z")

</div>

I am trying to connect my website to my bot but i can’t see the webchat. Please your help. I followed the different steps in the doc. but it didn’t work. It works well with my local machine.

---

<div class="post-metadata">

**Author:** ![Papa](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@Papa](https://forum.rasa.com/u/Papa)\
**Post date:** [April 23, 2021, 8:48am UTC](https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632/15 "2021-04-23T08:48:30Z")

</div>

![Capture22](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/5/5bae47a09d065515e1975f2db3193f3fa6c23477.png)I am having this error whey i try to connect rasa x to my website. Could you help me for that please.

---

<div class="post-metadata">

**Author:** ![Papa](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@Papa](https://forum.rasa.com/u/Papa)\
**Post date:** [April 23, 2021, 8:49am UTC](https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632/16 "2021-04-23T08:49:25Z")

</div>

![Capture22](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/5/5bae47a09d065515e1975f2db3193f3fa6c23477.png)I am having this error whey i try to connect rasa x to my website. Could you help me for that please

---

<div class="post-metadata">

**Author:** ![Papa](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@Papa](https://forum.rasa.com/u/Papa)\
**Post date:** [June 4, 2021, 9:30am UTC](https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632/17 "2021-06-04T09:30:56Z")

</div>

Hi @stephens How to use window.onload = WebChat.open; of rasa webchat for the last version. This is for enabling the chat widget to open on page loading.

---

<div class="post-metadata">

**Author:** ![Papa](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@Papa](https://forum.rasa.com/u/Papa)\
**Post date:** [June 4, 2021, 9:32am UTC](https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632/18 "2021-06-04T09:32:01Z")

</div>

Hi @amn41 how to use window.onload = WebChat.open; of rasa webchat for the last version. This is for enabling the chat widget to open on page loadin.

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [June 5, 2021, 5:48am UTC](https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632/19 "2021-06-05T05:48:48Z")

</div>

Did you enable the socket channel as described the [rasa.webchat docs](https://github.com/botfront/rasa-webchat#rasa) and the Rasa docs [here](https://rasa.com/docs/rasa/connectors/your-own-website#websocket-channel). If so, you should see the socket endpoint reported as open when you start the rasa server.

---

<div class="post-metadata">

**Author:** ![Papa](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@Papa](https://forum.rasa.com/u/Papa)\
**Post date:** [June 7, 2021, 10:22am UTC](https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632/20 "2021-06-07T10:22:08Z")

</div>

Hi @stephens, i don’t understand how to use the following line in the script of the last version of rasa web chat: ``` window.onload = WebChat.open; (this was use in the chat widget version 0.11.5). I want to open the chat widget on page loading

```auto

```

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [June 18, 2021, 9:33pm UTC](https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632/21 "2021-06-18T21:33:13Z")

</div>

For questions regarding the BotFront rasa-webchat, you should post them in their [repo](https://github.com/botfront/rasa-webchat/issues). As I mentioned above, you should confirm the socket channel is enabled and that you see the message that the channel is available when Rasa starts.

[Next page](https://forum.rasa.com/t/problems-with-deploying-rasa-x-on-server/21632.md?page=2)
