# Installed RasaX , unable to get /webhooks/rest/webhook

**URL:** <https://forum.rasa.com/t/installed-rasax-unable-to-get-webhooks-rest-webhook/19813>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [October 15, 2019, 8:04am UTC](https://forum.rasa.com/t/installed-rasax-unable-to-get-webhooks-rest-webhook/19813 "2019-10-15T08:04:56Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![DeepakTiwari84](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/deepaktiwari84/32/3294_2.png) [@DeepakTiwari84](https://forum.rasa.com/u/DeepakTiwari84)\
**Post date:** [October 15, 2019, 8:04am UTC](https://forum.rasa.com/t/installed-rasax-unable-to-get-webhooks-rest-webhook/19813/1 "2019-10-15T08:04:56Z")

</div>

Hi,

I am a bit confused on how RasaX works. Here are the steps I did

1. installed RasaX (quick installation) ,
2. uploaded my stories , nlu data , domain
3. did Training

Everything is good at this point. Now when I proceed and send a POST request to

[http://mydomain.com:5005/webhooks/rest/webhook](http://mydomain.com:5005/webhooks/rest/webhook)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/4/4ac35ec98449ca1073fbdb9279e2231d5a63ba7a.png)

it does nothing.

If I remove port 5005 , it respond back with html response

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/f/f750d721526c1fca2b81c356fae8d0668414f75b.png)

Do I need to install Rasa also and run that by binding it to the models trained to be able to access webhooks/rest/webhook endpoint or is that all included in RasaX itself ?

---

<div class="post-metadata">

**Author:** ![talhashaikh5](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/talhashaikh5/32/5405_2.png) [@talhashaikh5](https://forum.rasa.com/u/talhashaikh5)\
**Post date:** [October 15, 2019, 10:28am UTC](https://forum.rasa.com/t/installed-rasax-unable-to-get-webhooks-rest-webhook/19813/2 "2019-10-15T10:28:05Z")

</div>

You will also need `pip install rasa`

---

<div class="post-metadata">

**Author:** ![DeepakTiwari84](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/deepaktiwari84/32/3294_2.png) [@DeepakTiwari84](https://forum.rasa.com/u/DeepakTiwari84)\
**Post date:** [October 15, 2019, 10:45am UTC](https://forum.rasa.com/t/installed-rasax-unable-to-get-webhooks-rest-webhook/19813/3 "2019-10-15T10:45:07Z")

</div>

@talhashaikh5 thanks, I installed rasa , now I get into the etc/rasa/ folder where RasaX is installed and did command rasa run

its showing error as

ValueError: Error when trying to expand the environment variables in ‘${RASA\_MODEL\_SERVER}’. Please make sure to also set these environment variables: ‘[’${RASA\_MODEL\_SERVER}’]’

---

<div class="post-metadata">

**Author:** ![talhashaikh5](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/talhashaikh5/32/5405_2.png) [@talhashaikh5](https://forum.rasa.com/u/talhashaikh5)\
**Post date:** [October 15, 2019, 10:59am UTC](https://forum.rasa.com/t/installed-rasax-unable-to-get-webhooks-rest-webhook/19813/4 "2019-10-15T10:59:06Z")

</div>

try creating a virtual environment and install rasa and rasa x into it for example

# first create a virtual environment

```
python3 -m venv venv

```

# then activate it

```
source venv/bin/activate

```

# now install rasa

```
pip install rasa 
pip install rasa-x --extra-index-url https://pypi.rasa.com/simple
```

---

<div class="post-metadata">

**Author:** ![DeepakTiwari84](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/deepaktiwari84/32/3294_2.png) [@DeepakTiwari84](https://forum.rasa.com/u/DeepakTiwari84)\
**Post date:** [October 15, 2019, 3:18pm UTC](https://forum.rasa.com/t/installed-rasax-unable-to-get-webhooks-rest-webhook/19813/5 "2019-10-15T15:18:22Z")

</div>

> [@talhashaikh5](#):
>
> python3 -m venv venv

@talhashaikh5, thanks I did the env and got it working. Just to make it clear to me so I not mess up 🙂

I started rasax in docker as the quick installation says then I installed rasa and run it from my working directory , but referenced the models from the rasax folder

Is this is the way it should be working? thank you for your help!

---

<div class="post-metadata">

**Author:** ![talhashaikh5](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/talhashaikh5/32/5405_2.png) [@talhashaikh5](https://forum.rasa.com/u/talhashaikh5)\
**Post date:** [October 15, 2019, 3:21pm UTC](https://forum.rasa.com/t/installed-rasax-unable-to-get-webhooks-rest-webhook/19813/6 "2019-10-15T15:21:15Z")

</div>

@DeepakTiwari84 i am glad that i was helpfull to you. can you mark that as a solution ?

rasa x is the ui layer thats build on the top of rasa core.

---

<div class="post-metadata">

**Author:** ![DeepakTiwari84](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/deepaktiwari84/32/3294_2.png) [@DeepakTiwari84](https://forum.rasa.com/u/DeepakTiwari84)\
**Post date:** [October 15, 2019, 3:24pm UTC](https://forum.rasa.com/t/installed-rasax-unable-to-get-webhooks-rest-webhook/19813/7 "2019-10-15T15:24:34Z")

</div>

Sure , so I am doing it correctly?

---

<div class="post-metadata">

**Author:** ![talhashaikh5](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/talhashaikh5/32/5405_2.png) [@talhashaikh5](https://forum.rasa.com/u/talhashaikh5)\
**Post date:** [October 15, 2019, 3:27pm UTC](https://forum.rasa.com/t/installed-rasax-unable-to-get-webhooks-rest-webhook/19813/8 "2019-10-15T15:27:53Z")

</div>

@DeepakTiwari84 may i know why you are running rasa x on docker ?

---

<div class="post-metadata">

**Author:** ![DeepakTiwari84](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/deepaktiwari84/32/3294_2.png) [@DeepakTiwari84](https://forum.rasa.com/u/DeepakTiwari84)\
**Post date:** [October 15, 2019, 3:50pm UTC](https://forum.rasa.com/t/installed-rasax-unable-to-get-webhooks-rest-webhook/19813/9 "2019-10-15T15:50:47Z")

</div>

@talhashaikh5 I tried the [manual](https://rasa.com/docs/rasa-x/deploy/#) here and was not able to set it up correctly on production

---

<div class="post-metadata">

**Author:** ![DeepakTiwari84](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/deepaktiwari84/32/3294_2.png) [@DeepakTiwari84](https://forum.rasa.com/u/DeepakTiwari84)\
**Post date:** [October 15, 2019, 7:11pm UTC](https://forum.rasa.com/t/installed-rasax-unable-to-get-webhooks-rest-webhook/19813/10 "2019-10-15T19:11:11Z")

</div>

I finally figured it out , rasa core is a part of Rasa X , so you do not need to install it if you already have Rasa X.

To query the model on say rest channel , you need to add rest in your credentials.yml file, so it look like this:

```auto
rasa:
  url: ${RASA_X_HOST}/api

rest:

```

and then you can query your models on

[http://example.com/core/webhooks/rest/webhook](http://example.com/core/webhooks/rest/webhook)

---

<div class="post-metadata">

**Author:** ![zoka123](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/zoka123/32/6656_2.png) [@zoka123](https://forum.rasa.com/u/zoka123)\
**Post date:** [January 15, 2020, 6:43pm UTC](https://forum.rasa.com/t/installed-rasax-unable-to-get-webhooks-rest-webhook/19813/11 "2020-01-15T18:43:29Z")

</div>

The key part for me was adding `/core` after the Rasa X domain, thanks @DeepakTiwari84

---

<div class="post-metadata">

**Author:** ![vagi8](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/vagi8/32/12980_2.png) [@vagi8](https://forum.rasa.com/u/vagi8)\
**Post date:** [January 21, 2021, 5:37am UTC](https://forum.rasa.com/t/installed-rasax-unable-to-get-webhooks-rest-webhook/19813/12 "2021-01-21T05:37:10Z")

</div>

@DeepakTiwari84I am using local mode and trying to connect rasa server with my custom channel using RestInput. I did add `/core` to my postman request URL like this `http://localhost:5005/core/webhooks/rest/webhook` (Although currently i am testing it locally, I plan to shift to a domain) I still get the same error. Is it mandatory to run Rasa X server ? Currently i am running rasa server using command `rasa run`
