# Not able to execute custom actions

**URL:** <https://forum.rasa.com/t/not-able-to-execute-custom-actions/30356>\
**Category:** Rasa Open Source\
**Created:** [June 18, 2020, 9:26am UTC](https://forum.rasa.com/t/not-able-to-execute-custom-actions/30356 "2020-06-18T09:26:30Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prskriti](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/prskriti/32/4993_2.png) [@Prskriti](https://forum.rasa.com/u/Prskriti)\
**Post date:** [June 18, 2020, 9:26am UTC](https://forum.rasa.com/t/not-able-to-execute-custom-actions/30356/1 "2020-06-18T09:26:30Z")

</div>

I am able to run Rasa server as well as Action server remotely but I don’t know why custom actions are not getting executed. I am able to execute custom action locally. Please help me to resolve this issue. Rasa Version :1.9.5 Here are my endpoints.yml file contents:

action\_endpoint:

```
url: "http://10.240.186.17:5055/webhook"
```

---

<div class="post-metadata">

**Author:** ![chkoss](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chkoss/32/7186_2.png) [@chkoss](https://forum.rasa.com/u/chkoss)\
**Post date:** [June 18, 2020, 1:52pm UTC](https://forum.rasa.com/t/not-able-to-execute-custom-actions/30356/2 "2020-06-18T13:52:33Z")

</div>

How did you deploy the servers?

If you’re only using Rasa Open Source without Rasa X, you might find these two resources useful:

- the [documentation on how to deploy your action server](https://rasa.com/docs/rasa/user-guide/how-to-deploy/#deploying-your-action-server)
- the [documentation on how to deploy a Rasa Open Source assistant](https://rasa.com/docs/rasa/user-guide/docker/deploying-in-docker-compose/), including a section on how you can add the action server image to the deployment

Does that help with your issue?

---

<div class="post-metadata">

**Author:** ![Prskriti](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/prskriti/32/4993_2.png) [@Prskriti](https://forum.rasa.com/u/Prskriti)\
**Post date:** [June 18, 2020, 2:11pm UTC](https://forum.rasa.com/t/not-able-to-execute-custom-actions/30356/3 "2020-06-18T14:11:39Z")

</div>

Hey, @chkoss I was not aware of these deployment solutions. Thanks for letting me know. What I did is copied my rasa directory into remote server, changed the localhost with the IP address of the server and retrained the model. On testing its working remotely I am able to get utterance action running but my custom actions are not getting executed but on the action server-side, It’s showing all actions are registered. I only need to run rasa and action server remotely in the background so, please let me know if I should follow the above-mentioned links.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![chkoss](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chkoss/32/7186_2.png) [@chkoss](https://forum.rasa.com/u/chkoss)\
**Post date:** [June 19, 2020, 8:25am UTC](https://forum.rasa.com/t/not-able-to-execute-custom-actions/30356/4 "2020-06-19T08:25:17Z")

</div>

Hm… Can you run both `rasa` and the action server with the flag `--debug` please and let me know what output is shown for both when sending a message that should trigger an action?

---

<div class="post-metadata">

**Author:** ![Prskriti](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/prskriti/32/4993_2.png) [@Prskriti](https://forum.rasa.com/u/Prskriti)\
**Post date:** [June 19, 2020, 8:36am UTC](https://forum.rasa.com/t/not-able-to-execute-custom-actions/30356/5 "2020-06-19T08:36:53Z")

</div>

Sure @chkossHere is the snapshot of both Rasa and Action server running in debug mode.

 ![Screen Shot 2020-06-19 at 2.03.29 PM](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/e/ef03fe66cfc0887b780357c6aa8a90572aa8cbef.jpeg) ![Screen Shot 2020-06-19 at 2.02.17 PM](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/9/9b85c49f73fbee470870bcf3f65bcb80c1ec9c87.jpeg)

---

<div class="post-metadata">

**Author:** ![chkoss](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chkoss/32/7186_2.png) [@chkoss](https://forum.rasa.com/u/chkoss)\
**Post date:** [June 19, 2020, 8:41am UTC](https://forum.rasa.com/t/not-able-to-execute-custom-actions/30356/6 "2020-06-19T08:41:53Z")

</div>

Thanks 👍 That’s for starting them, right? What gets shown in both when you send a message to the bot that should trigger an action?

---

<div class="post-metadata">

**Author:** ![Prskriti](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/prskriti/32/4993_2.png) [@Prskriti](https://forum.rasa.com/u/Prskriti)\
**Post date:** [June 19, 2020, 11:52am UTC](https://forum.rasa.com/t/not-able-to-execute-custom-actions/30356/7 "2020-06-19T11:52:57Z")

</div>

Hey @chkossHere is the screenshot of the outputs which I am getting. Where in on left hand side chatbot UI is giving wrong response and right hand side chatbot UI is giving correct output by making an API call and summing up all total charges value.

 ![Screen Shot 2020-06-19 at 5.16.41 PM](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/7/7004854b5c71ddfaeb58d893f78c075c6741631c.jpeg)

---

<div class="post-metadata">

**Author:** ![chkoss](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chkoss/32/7186_2.png) [@chkoss](https://forum.rasa.com/u/chkoss)\
**Post date:** [June 19, 2020, 12:06pm UTC](https://forum.rasa.com/t/not-able-to-execute-custom-actions/30356/8 "2020-06-19T12:06:00Z")

</div>

I meant the output to the command line. When the rasa servers are running in debug mode and you send a message to the bot, there should be some debug statements printed underneath the ones you posted [here](http://forum.rasa.com/t/not-able-to-execute-custom-actions/30356/5). These can help me to figure out what’s going wrong.

---

<div class="post-metadata">

**Author:** ![Prskriti](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/prskriti/32/4993_2.png) [@Prskriti](https://forum.rasa.com/u/Prskriti)\
**Post date:** [June 22, 2020, 12:27pm UTC](https://forum.rasa.com/t/not-able-to-execute-custom-actions/30356/9 "2020-06-22T12:27:59Z")

</div>

Thanks for ur help 🙂Issue has been resolved

---

<div class="post-metadata">

**Author:** ![chkoss](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chkoss/32/7186_2.png) [@chkoss](https://forum.rasa.com/u/chkoss)\
**Post date:** [June 22, 2020, 1:31pm UTC](https://forum.rasa.com/t/not-able-to-execute-custom-actions/30356/10 "2020-06-22T13:31:31Z")

</div>

Happy to hear that! Could you share how you solved it? That will help other users who might face similar problems.

---

<div class="post-metadata">

**Author:** ![Prskriti](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/prskriti/32/4993_2.png) [@Prskriti](https://forum.rasa.com/u/Prskriti)\
**Post date:** [July 1, 2020, 2:56pm UTC](https://forum.rasa.com/t/not-able-to-execute-custom-actions/30356/11 "2020-07-01T14:56:42Z")

</div>

I was running core and action server in remote machine where these services were already running. By killing previous running process I was able to achieve desired response.
