# Rasa X server: No registered action found

**URL:** <https://forum.rasa.com/t/rasa-x-server-no-registered-action-found/48178>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [October 2, 2021, 2:17pm UTC](https://forum.rasa.com/t/rasa-x-server-no-registered-action-found/48178 "2021-10-02T14:17:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Italosayan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/italosayan/32/17389_2.png) [@Italosayan](https://forum.rasa.com/u/Italosayan)\
**Post date:** [October 2, 2021, 2:17pm UTC](https://forum.rasa.com/t/rasa-x-server-no-registered-action-found/48178/1 "2021-10-02T14:17:12Z")

</div>

Hi there!

I followed the rasa master class tutorial to build my own rasa X server using google cloud. However, I have an issue when setting up the action server. The bot in rasa-x doesn’t reply when an action is triggered.

 ![Screenshot 2021-10-02 at 16.21.10](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/4/a/4ad841ea9645332799b181c716a84823bc313e36.png)

My current setup:

docker-compose.override.yml

```auto
version: '3.4'
services:
 app:
   restart: always
   build: .
   volumes:
   - './actions:/app/actions'
   expose:
   - '5055'
   depends_on:
   - rasa-production

```

The docker compose overwrite file builds from the following Dockerfile:

```auto
# Extend the official Rasa SDK image
FROM rasa/rasa-sdk:latest

# Change back to root user to install dependencies
USER root

# To install system dependencies
RUN apt-get update -qq && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# To install packages from PyPI
RUN pip install --no-cache-dir pandas babel numpy

# Switch back to non-root to run code
USER 1001

```

My docker-compose ps output looks like this:

```auto
         Name Command State Ports                                        
-------------------------------------------------------------------------------------------------------------------------------------------------------------
rasa_app_1 ./entrypoint.sh run python ... Up 5055/tcp                                                                            
rasa_db-migration_1 python -m rasax.community. ... Up (healthy) 8000/tcp                                                                            
rasa_db_1 /opt/bitnami/scripts/postg ... Up 5432/tcp                                                                            
rasa_duckling_1 duckling-example-exe --no- ... Up 8000/tcp                                                                            
rasa_nginx_1 /docker-entrypoint.sh ngin ... Up 80/tcp, 0.0.0.0:80->8080/tcp,:::80->8080/tcp, 0.0.0.0:443->8443/tcp,:::443->8443/tcp
rasa_rabbit_1 /opt/bitnami/scripts/rabbi ... Up 15671/tcp, 15672/tcp, 25672/tcp, 4369/tcp, 5671/tcp, 5672/tcp                       
rasa_rasa-production_1 rasa x --no-prompt --produ ... Up 5005/tcp                                                                            
rasa_rasa-worker_1 rasa x --no-prompt --produ ... Up 5005/tcp                                                                            
rasa_rasa-x_1 /tini -g -- sh -c user_id= ... Up 5002/tcp                                                                            
rasa_redis_1 /opt/bitnami/scripts/redis ... Up 6379/tcp  

```

I checked the output log of the rasa\_app\_1 service. The error is that no registered action found for name action\_tell\_conditions:

```auto
INFO:rasa_sdk.endpoint:Starting action endpoint server...
DEBUG:sanic.root:CORS: Configuring CORS with resources: {'/*': {'origins': ['.*'], 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT', 'allow_headers': ['.*'], 'expose_headers': None, 'supports_credentials': False, 'max_age': None, 'send_wildcard': False, 'automatic_options': True, 'vary_header': True, 'resources': {'/*': {'origins': '*'}}, 'intercept_exceptions': True, 'always_send': True}}
INFO:rasa_sdk.endpoint:Action endpoint is up and running on http://0.0.0.0:5055
DEBUG:rasa_sdk.utils:Using the default number of Sanic workers (1).
DEBUG:sanic.root:

                 Sanic
         Build Fast. Run Fast.

INFO:sanic.root:Goin' Fast @ http://0.0.0.0:5055
INFO:sanic.root:Starting worker [1]
DEBUG:rasa_sdk.executor:Received request to run 'action_tell_conditions'
ERROR:rasa_sdk.endpoint:No registered action found for name 'action_tell_conditions'.
DEBUG:sanic.root:CORS: Request to '/webhook' matches CORS resource '/*'. Using options: {'origins': ['.*'], 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT', 'allow_headers': ['.*'], 'expose_headers': None, 'supports_credentials': False, 'max_age': None, 'send_wildcard': False, 'automatic_options': True, 'vary_header': True, 'resources': {'/*': {'origins': '*'}}, 'intercept_exceptions': True, 'always_send': True}
INFO:sanic.access:

```

However, the action is defined in the actions.py file of the server: actions.py

```auto
class ActionTellConditions(Action):
    def name(self) -> Text:
        return "action_tell_conditions"

    def run(
        self,
        dispatcher: CollectingDispatcher,
        tracker: Tracker,
        domain: Dict[Text, Any],
    ) -> List[Dict[Text, Any]]:
        precio = piso1.get("precio")
        dispatcher.utter_message(
            template="utter_conditions",
            precio=precio
        )

        return []

```

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [October 2, 2021, 3:36pm UTC](https://forum.rasa.com/t/rasa-x-server-no-registered-action-found/48178/2 "2021-10-02T15:36:53Z")

</div>

@Italosayan Hi, can you share the endpoints.yml file and domain.yml ?

---

<div class="post-metadata">

**Author:** ![Italosayan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/italosayan/32/17389_2.png) [@Italosayan](https://forum.rasa.com/u/Italosayan)\
**Post date:** [October 2, 2021, 6:04pm UTC](https://forum.rasa.com/t/rasa-x-server-no-registered-action-found/48178/3 "2021-10-02T18:04:08Z")

</div>

endpoints:

```auto
# This file contains the different endpoints your bot can use.

# Server where the models are pulled from.
# https://rasa.com/docs/rasa/model-storage#fetching-models-from-a-server

#models:
# url: http://my-server.com/models/default_core@latest
# wait_time_between_pulls: 10 # [optional](default: 100)

# Server which runs your custom actions.
# https://rasa.com/docs/rasa/custom-actions

action_endpoint:
  url: "http://localhost:5055/webhook"

# Tracker store which is used to store the conversations.
# By default the conversations are stored in memory.
# https://rasa.com/docs/rasa/tracker-stores

#tracker_store:
# type: redis
# url: <host of the redis instance, e.g. localhost>
# port: <port of your redis instance, usually 6379>
# db: <number of your database within redis, e.g. 0>
# password: <password used for authentication>
# use_ssl: <whether or not the communication is encrypted, default false>

#tracker_store:
# type: mongod
# url: <url to your mongo instance, e.g. mongodb://localhost:27017>
# db: <name of the db within your mongo instance, e.g. rasa>
# username: <username used for authentication>
# password: <password used for authentication>

# Event broker which all conversation events should be streamed to.
# https://rasa.com/docs/rasa/event-brokers

#event_broker:
# url: localhost
# username: username
# password: password
# queue: queue

```

domain.yml

```auto
version: "2.0"

intents:
  - greet
  - goodbye
  - affirm
  - deny
  - askconditions
  - askrentalavailability

...utters

actions:
  - action_tell_conditions
  - action_tell_rental_date_availability
  - action_tell_free_calendar

session_config:
  session_expiration_time: 60
  carry_over_slots_to_new_session: true

```

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [October 3, 2021, 5:11am UTC](https://forum.rasa.com/t/rasa-x-server-no-registered-action-found/48178/4 "2021-10-03T05:11:09Z")

</div>

> [@Italosayan](#):
>
> `app`

Change to:

```auto
action_endpoint:
  url: "http://app:5055/webhook"

```

and run the docker-compose

---

<div class="post-metadata">

**Author:** ![Italosayan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/italosayan/32/17389_2.png) [@Italosayan](https://forum.rasa.com/u/Italosayan)\
**Post date:** [October 3, 2021, 9:16am UTC](https://forum.rasa.com/t/rasa-x-server-no-registered-action-found/48178/5 "2021-10-03T09:16:09Z")

</div>

Still not working.

---

<div class="post-metadata">

**Author:** ![Italosayan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/italosayan/32/17389_2.png) [@Italosayan](https://forum.rasa.com/u/Italosayan)\
**Post date:** [October 3, 2021, 9:45am UTC](https://forum.rasa.com/t/rasa-x-server-no-registered-action-found/48178/6 "2021-10-03T09:45:59Z")

</div>

I rebuilt the images and now it works:

```auto
sudo docker rmi $(sudo docker images -a -q)
sudo docker-compose up -d

```

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [October 3, 2021, 10:44am UTC](https://forum.rasa.com/t/rasa-x-server-no-registered-action-found/48178/7 "2021-10-03T10:44:58Z")

</div>

@Italosayan Nice. 👍 Did you updated the endpoints and re-build. Please close this thread for others. Good Luck!
