# Rasa - Helm Deployment Default Run Command

**URL:** <https://forum.rasa.com/t/rasa-helm-deployment-default-run-command/37146>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [November 19, 2020, 11:35am UTC](https://forum.rasa.com/t/rasa-helm-deployment-default-run-command/37146 "2020-11-19T11:35:22Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabrice-toussaint](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fabrice-toussaint/32/11162_2.png) [@fabrice-toussaint](https://forum.rasa.com/u/fabrice-toussaint)\
**Post date:** [November 19, 2020, 11:35am UTC](https://forum.rasa.com/t/rasa-helm-deployment-default-run-command/37146/1 "2020-11-19T11:35:22Z")

</div>

Hi,

I have a question regarding the Rasa X Helm chart ([GitHub - RasaHQ/rasa-x-helm: Rasa X Helm chart for deploying on Kubernetes (K8s) and OpenShift.](https://github.com/RasaHQ/rasa-x-helm)). I want to enable my HTTP API ([Rasa Open Source HTTP API](https://rasa.com/docs/rasa/http-api/)) but I was wondering how I can specify this using the Helm chart.

I thank you in advance! 😃

---

<div class="post-metadata">

**Author:** ![fabrice-toussaint](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fabrice-toussaint/32/11162_2.png) [@fabrice-toussaint](https://forum.rasa.com/u/fabrice-toussaint)\
**Post date:** [November 19, 2020, 12:47pm UTC](https://forum.rasa.com/t/rasa-helm-deployment-default-run-command/37146/2 "2020-11-19T12:47:30Z")

</div>

@tmbo this is your department right? 😛 or is it @tczekajlo?

---

<div class="post-metadata">

**Author:** ![tczekajlo](https://avatars.discourse-cdn.com/v4/letter/t/b2d939/32.png) [@tczekajlo](https://forum.rasa.com/u/tczekajlo)\
**Post date:** [November 19, 2020, 1:43pm UTC](https://forum.rasa.com/t/rasa-helm-deployment-default-run-command/37146/3 "2020-11-19T13:43:27Z")

</div>

Hi,

In the docs [Helm Chart Installation](https://rasa.com/docs/rasa-x/installation-and-setup/install/helm-chart#8-access-rasa-x), you can find how to access the Rasa X deployment. If you wanna reach the Rasa Open Source HTTP API directly, you can do this by using the `/core` path in your HTTP request, for example:

```auto
curl -s http://<ip>:8000/core/version
{
  "version": "2.0.3",
  "minimum_compatible_version": "2.0.0"
}

```

---

<div class="post-metadata">

**Author:** ![fabrice-toussaint](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fabrice-toussaint/32/11162_2.png) [@fabrice-toussaint](https://forum.rasa.com/u/fabrice-toussaint)\
**Post date:** [November 19, 2020, 1:53pm UTC](https://forum.rasa.com/t/rasa-helm-deployment-default-run-command/37146/4 "2020-11-19T13:53:37Z")

</div>

Thank you @tczekajlo, I should have been more precise on what I ment. I want to access the rest webhook in order to sent a message to the bot and get its response back. However, it throws a 404 error when I try to access it (through port 8000, 5002 and 5005). My IP checks out but I was wondering if I need to enable something in order to do this.

---

<div class="post-metadata">

**Author:** ![tczekajlo](https://avatars.discourse-cdn.com/v4/letter/t/b2d939/32.png) [@tczekajlo](https://forum.rasa.com/u/tczekajlo)\
**Post date:** [November 19, 2020, 2:47pm UTC](https://forum.rasa.com/t/rasa-helm-deployment-default-run-command/37146/5 "2020-11-19T14:47:28Z")

</div>

According to the docs you have to enable the REST channel [Your Own Website](https://rasa.com/docs/rasa/connectors/your-own-website/#restinput). For the helm chart, you can do this by setting ROS Channels, it is described here [Customize Your Deployment](https://rasa.com/docs/rasa-x/installation-and-setup/customize#configuring-rasa-open-source-channels)

For example:

values.yaml for helm

```auto
rasa:
  additionalChannelCredentials:
    rest:

```

or directly by using the helm command, e.g.

```auto
helm upgrade --set rasa.additionalChannelCredentials.rest={} rasa-x rasa-x/rasa-x

```

After the REST channel is enabled you can reach it by `http://<ip>:8000/webhooks/rest/webhook`

---

<div class="post-metadata">

**Author:** ![fabrice-toussaint](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fabrice-toussaint/32/11162_2.png) [@fabrice-toussaint](https://forum.rasa.com/u/fabrice-toussaint)\
**Post date:** [November 19, 2020, 3:43pm UTC](https://forum.rasa.com/t/rasa-helm-deployment-default-run-command/37146/6 "2020-11-19T15:43:04Z")

</div>

Hi @tczekajlo, again thank you for your help! I adjusted this in the values.yaml (and restarted everything). Then I uploaded a model using the API but when I try to access the webhook I get a 404 responses. Do you have any suggestions for this as well?

EDIT: Rasa X is not working properly when I want to talk to my bot as well, I created a new issue for this here: [Rasa X - Intent gets set to input](http://forum.rasa.com/t/rasa-x-intent-gets-set-to-input/37164). Do you think this might have to do with the above question as well?

---

<div class="post-metadata">

**Author:** ![tczekajlo](https://avatars.discourse-cdn.com/v4/letter/t/b2d939/32.png) [@tczekajlo](https://forum.rasa.com/u/tczekajlo)\
**Post date:** [November 19, 2020, 5:21pm UTC](https://forum.rasa.com/t/rasa-helm-deployment-default-run-command/37146/7 "2020-11-19T17:21:00Z")

</div>

> Hi @tczekajlo, again thank you for your help! I adjusted this in the values.yaml (and restarted everything). Then I uploaded a model using the API but when I try to access the webhook I get a 404 responses. Do you have any suggestions for this as well?

As you can find here [Your Own Website](https://rasa.com/docs/rasa/connectors/your-own-website/#request-and-response-format)

> After making the `rest` input channel available, you can `POST` messages to `http://<host>:<port>/webhooks/rest/webhook` , with the following format:

Did you send a POST request?

for example:

```auto
curl -s -X POST http://<IP>:8000/webhooks/rest/webhook -d '{ "sender": "test_user", "message": "Hi!"}'

```

---

<div class="post-metadata">

**Author:** ![fabrice-toussaint](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fabrice-toussaint/32/11162_2.png) [@fabrice-toussaint](https://forum.rasa.com/u/fabrice-toussaint)\
**Post date:** [November 19, 2020, 5:41pm UTC](https://forum.rasa.com/t/rasa-helm-deployment-default-run-command/37146/9 "2020-11-19T17:41:11Z")

</div>

I made a mistake in my URL, I am testing it now, to see if it works.

---

<div class="post-metadata">

**Author:** ![fabrice-toussaint](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fabrice-toussaint/32/11162_2.png) [@fabrice-toussaint](https://forum.rasa.com/u/fabrice-toussaint)\
**Post date:** [November 19, 2020, 5:53pm UTC](https://forum.rasa.com/t/rasa-helm-deployment-default-run-command/37146/10 "2020-11-19T17:53:25Z")

</div>

@tczekajlo

```
import requests

r = requests.post('http://<IP>:8000/webhooks/rest/webhook', json={"sender": "user", "message": "test"})

print(r)

```

This is the code I run (with my IP filled in) but I am still getting a 404 error (after uploading the model). Do you know why this is happening…? Thanks again!

The error states that: **Requested URL /webhooks/rest/webhook not found**

This is my values.yml rasa setup:

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

---

<div class="post-metadata">

**Author:** ![tczekajlo](https://avatars.discourse-cdn.com/v4/letter/t/b2d939/32.png) [@tczekajlo](https://forum.rasa.com/u/tczekajlo)\
**Post date:** [November 20, 2020, 2:07pm UTC](https://forum.rasa.com/t/rasa-helm-deployment-default-run-command/37146/11 "2020-11-20T14:07:11Z")

</div>

Why do you override the command (`rasa.command `)?

Can you provide a command that you used to apply your changes?

Additionally, you can check if your changes are applied by using the command `helm get values rasa-x`

---

<div class="post-metadata">

**Author:** ![fabrice-toussaint](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fabrice-toussaint/32/11162_2.png) [@fabrice-toussaint](https://forum.rasa.com/u/fabrice-toussaint)\
**Post date:** [November 20, 2020, 2:16pm UTC](https://forum.rasa.com/t/rasa-helm-deployment-default-run-command/37146/12 "2020-11-20T14:16:22Z")

</div>

@tczekajlo I thought that was necessary to enable the API (as stated in the [docs](https://rasa.com/docs/rasa/http-api/#enabling-the-http-api)).

Furthermore, I use this command:

```
helm upgrade --set rasa.additionalChannelCredentials.rest={}<RELEASE_NAME> -n <NAMESPACE_NAME> rasa-x/rasa-x

```

With release\_name & namespace\_name filled in. When I then check the applied changes command I get this overview:

```
USER-SUPPLIED VALUES:
rasa:
  additionalChannelCredentials:
    rest:
    - ""
```

---

<div class="post-metadata">

**Author:** ![fabrice-toussaint](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fabrice-toussaint/32/11162_2.png) [@fabrice-toussaint](https://forum.rasa.com/u/fabrice-toussaint)\
**Post date:** [November 20, 2020, 2:18pm UTC](https://forum.rasa.com/t/rasa-helm-deployment-default-run-command/37146/13 "2020-11-20T14:18:34Z")

</div>

My pod overview output now looks like this:

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

---

<div class="post-metadata">

**Author:** ![fabrice-toussaint](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fabrice-toussaint/32/11162_2.png) [@fabrice-toussaint](https://forum.rasa.com/u/fabrice-toussaint)\
**Post date:** [November 20, 2020, 2:56pm UTC](https://forum.rasa.com/t/rasa-helm-deployment-default-run-command/37146/14 "2020-11-20T14:56:57Z")

</div>

@tczekajlo I got it working! Removing that run command seemed to fix it :/. Sorry for bothering you with this and thanks for your help!

---

<div class="post-metadata">

**Author:** ![tczekajlo](https://avatars.discourse-cdn.com/v4/letter/t/b2d939/32.png) [@tczekajlo](https://forum.rasa.com/u/tczekajlo)\
**Post date:** [November 21, 2020, 4:48pm UTC](https://forum.rasa.com/t/rasa-helm-deployment-default-run-command/37146/15 "2020-11-21T16:48:25Z")

</div>

Cool! The command value for the helm chart shouldn’t be overridden 🙂

---

<div class="post-metadata">

**Author:** ![ria.pinjani](https://avatars.discourse-cdn.com/v4/letter/r/e68b1a/32.png) [@ria.pinjani](https://forum.rasa.com/u/ria.pinjani)\
**Post date:** [February 28, 2021, 7:33am UTC](https://forum.rasa.com/t/rasa-helm-deployment-default-run-command/37146/17 "2021-02-28T07:33:59Z")

</div>

hey @fabrice-toussaint i was facing the same issue as you. I have the exact same pod overview as the screenshot above. Does this fix itself in some time? Right now the http api does not work.
