Rasa: Unable to run action server from Dockerfile

Created on 16 May 2020  Β·  17Comments  Β·  Source: RasaHQ/rasa

Rasa version: 1.10.0

Rasa SDK version: 1.10.0

Python version: 3.6.5

Operating system: Windows 10

Issue: I have docker-compose file In that I have two container rasa server and action server. but only rasa server is starting not action one.
I have actions.py and __init__.py in the actions folder.
folder structure:
docker-compose.yml
actions
└───
actions.py
Dockerfile
__init__.py
backend
└───
Dockerfile
config.yml
credentials.yml
domain.yml
endpoints.yml
└───data
nlu.md
stories.md

Error (including full traceback):

Building rasa
Step 1/10 : FROM rasa/rasa:1.10.0-full
 ---> 540ad250374c
Step 2/10 : USER root
 ---> Running in 7a6784289f9e
Removing intermediate container 7a6784289f9e
 ---> d0b77fc818c0
Step 3/10 : WORKDIR /app
 ---> Running in c99b39071107
Removing intermediate container c99b39071107
 ---> 96ddbb5ed969
Step 4/10 : COPY . /app
 ---> 28e3a4feaa5f
Step 5/10 : COPY ./data /app/data
 ---> 9865cd3386f1
Step 6/10 : RUN  rasa train -c ./config.yml -d ./domain.yml --data ./data --debug
 ---> Running in e2f07cc67c77
2020-05-16 08:19:38 DEBUG    rasa.nlu.training_data.loading  - Training data format of './data/nlu.md' is 'md'.
2020-05-16 08:19:38 DEBUG    rasa.nlu.training_data.loading  - Training data format of './data/responses.md' is 'unk'.
2020-05-16 08:19:38 DEBUG    rasa.nlu.training_data.loading  - Training data format of './data/stories.md' is 'unk'.
2020-05-16 08:19:38 DEBUG    pykwalify.compat  - Using yaml library: /opt/venv/lib/python3.7/site-packages/ruamel/yaml/__init__.py
2020-05-16 08:19:38 DEBUG    rasa.nlu.training_data.loading  - Training data format of './data/nlu.md' is 'md'.
2020-05-16 08:19:38 DEBUG    rasa.nlu.training_data.loading  - Training data format of './data/nlu.md' is 'md'.
2020-05-16 08:19:42 INFO     rasa.core.policies.ensemble  - MappingPolicy not included in policy ensemble. Default intents 'restart and back will not trigger actions 'action_restart' and 'action_back'.
2020-05-16 08:19:42 DEBUG    rasa.core.nlg.generator  - Instantiated NLG to 'TemplatedNaturalLanguageGenerator'.
2020-05-16 08:19:42 DEBUG    rasa.core.training.generator  - Generated trackers will be deduplicated based on their unique last 5 states.
2020-05-16 08:19:42 DEBUG    rasa.core.training.generator  - Number of augmentation rounds is 3
2020-05-16 08:19:42 DEBUG    rasa.core.training.generator  - Starting data generation round 0 ... (with 1 trackers)
Processed Story Blocks: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 6/6 [00:00<00:00, 1549.72it/s, # trackers=1]
2020-05-16 08:19:42 DEBUG    rasa.core.training.generator  - Finished phase (6 training samples found).
2020-05-16 08:19:42 DEBUG    rasa.core.training.generator  - Data generation rounds finished.
2020-05-16 08:19:42 DEBUG    rasa.core.training.generator  - Found 0 unused checkpoints
2020-05-16 08:19:42 DEBUG    rasa.core.training.generator  - Starting augmentation round 0 ... (with 6 trackers)
Processed Story Blocks: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 6/6 [00:00<00:00, 374.09it/s, # trackers=6]
2020-05-16 08:19:42 DEBUG    rasa.core.training.generator  - Finished phase (42 training samples found).
2020-05-16 08:19:42 DEBUG    rasa.core.training.generator  - Starting augmentation round 1 ... (with 42 trackers)
Processed Story Blocks: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 6/6 [00:00<00:00, 121.68it/s, # trackers=30]
2020-05-16 08:19:42 DEBUG    rasa.core.training.generator  - Finished phase (210 training samples found).
2020-05-16 08:19:43 DEBUG    rasa.core.training.generator  - Starting augmentation round 2 ... (with 50 trackers)
Processed Story Blocks: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 6/6 [00:00<00:00, 91.75it/s, # trackers=33]
2020-05-16 08:19:43 DEBUG    rasa.core.training.generator  - Finished phase (386 training samples found).
2020-05-16 08:19:43 DEBUG    rasa.core.training.generator  - Found 386 training trackers.
2020-05-16 08:19:43 DEBUG    rasa.core.training.generator  - Subsampled to 380 augmented training trackers.
2020-05-16 08:19:43 DEBUG    rasa.core.training.generator  - There are 6 original trackers.
2020-05-16 08:19:43 DEBUG    rasa.core.agent  - Agent trainer got kwargs: {}
2020-05-16 08:19:43 DEBUG    rasa.core.featurizers  - Creating states and action examples from collected trackers (by MaxHistoryTrackerFeaturizer(NoneType))...
Processed trackers: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 6/6 [00:00<00:00, 1021.71it/s, # actions=18]
2020-05-16 08:19:43 DEBUG    rasa.core.featurizers  - Created 18 action examples.
Processed actions: 18it [00:00, 1805.73it/s, # examples=18]
2020-05-16 08:19:43 DEBUG    rasa.core.policies.memoization  - Memorized 18 unique examples.
2020-05-16 08:19:43 DEBUG    rasa.core.featurizers  - Creating states and action examples from collected trackers (by MaxHistoryTrackerFeaturizer(LabelTokenizerSingleStateFeaturizer))...
Processed trackers: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 386/386 [00:00<00:00, 454.53it/s, # actions=234]
2020-05-16 08:19:43 DEBUG    rasa.core.featurizers  - Created 234 action examples.
2020-05-16 08:19:43.990074: E tensorflow/stream_executor/cuda/cuda_driver.cc:351] failed call to cuInit: UNKNOWN ERROR (303)
2020-05-16 08:19:44 DEBUG    rasa.utils.tensorflow.models  - Building tensorflow train graph...
2020-05-16 08:19:55 DEBUG    rasa.utils.tensorflow.models  - Finished building tensorflow train graph.
Epochs: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 100/100 [00:14<00:00,  6.72it/s, t_loss=0.152, loss=0.081, acc=1.000]
2020-05-16 08:20:10 INFO     rasa.utils.tensorflow.models  - Finished training.
2020-05-16 08:20:10 INFO     rasa.core.agent  - Persisted model to '/tmp/tmpcyx6t762/core'
2020-05-16 08:20:11 INFO     rasa.nlu.utils.spacy_utils  - Trying to load spacy model with name 'en'
2020-05-16 08:20:35 INFO     rasa.nlu.components  - Added 'SpacyNLP' to component cache. Key 'SpacyNLP-en'.
2020-05-16 08:20:35 DEBUG    rasa.nlu.training_data.loading  - Training data format of './data/nlu.md' is 'md'.
2020-05-16 08:20:35 INFO     rasa.nlu.training_data.training_data  - Training data stats:
2020-05-16 08:20:35 INFO     rasa.nlu.training_data.training_data  - Number of intent examples: 46 (8 distinct intents)
2020-05-16 08:20:35 INFO     rasa.nlu.training_data.training_data  -   Found intents: 'deny', 'partners', 'bot_challenge', 'greet', 'mood_great', 'affirm', 'mood_unhappy', 'goodbye'
2020-05-16 08:20:35 INFO     rasa.nlu.training_data.training_data  - Number of response examples: 0 (0 distinct responses)
2020-05-16 08:20:35 INFO     rasa.nlu.training_data.training_data  - Number of entity examples: 0 (0 distinct entities)
2020-05-16 08:20:35 DEBUG    rasa.nlu.training_data.training_data  - Validating training data...
2020-05-16 08:20:35 INFO     rasa.nlu.model  - Starting to train component SpacyNLP
2020-05-16 08:20:35 INFO     rasa.nlu.model  - Finished training component.
2020-05-16 08:20:35 INFO     rasa.nlu.model  - Starting to train component SpacyTokenizer
2020-05-16 08:20:35 INFO     rasa.nlu.model  - Finished training component.
2020-05-16 08:20:35 INFO     rasa.nlu.model  - Starting to train component SpacyFeaturizer
2020-05-16 08:20:35 INFO     rasa.nlu.model  - Finished training component.
2020-05-16 08:20:35 INFO     rasa.nlu.model  - Starting to train component DIETClassifier
/opt/venv/lib/python3.7/site-packages/rasa/utils/common.py:351: UserWarning: You specified 'DIET' to train entities, but no entities are present in the training data. Skip training of entities.
2020-05-16 08:20:35 DEBUG    rasa.utils.tensorflow.models  - Building tensorflow train graph...
2020-05-16 08:20:43 DEBUG    rasa.utils.tensorflow.models  - Finished building tensorflow train graph.
Epochs: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 100/100 [00:15<00:00,  6.54it/s, t_loss=0.681, i_loss=0.457, i_acc=0.978]
2020-05-16 08:20:58 INFO     rasa.utils.tensorflow.models  - Finished training.
2020-05-16 08:20:58 INFO     rasa.nlu.model  - Finished training component.
2020-05-16 08:20:58 INFO     rasa.nlu.model  - Starting to train component EntitySynonymMapper
2020-05-16 08:20:58 INFO     rasa.nlu.model  - Finished training component.
2020-05-16 08:20:59 INFO     rasa.nlu.model  - Successfully saved model into '/tmp/tmpcyx6t762/nlu'
Training Core model...
Core model training completed.
Training NLU model...
NLU model training completed.
Your Rasa model is trained and saved at '/app/models/20200516-082100.tar.gz'.
Removing intermediate container e2f07cc67c77
 ---> 1c79197183a9
Step 7/10 : VOLUME /app
 ---> Running in d01aa03f7e4b
Removing intermediate container d01aa03f7e4b
 ---> 66461f758447
Step 8/10 : VOLUME /app/data
 ---> Running in b19ac89ad940
Removing intermediate container b19ac89ad940
 ---> 527dcae8db84
Step 9/10 : VOLUME /app/models
 ---> Running in 0ef6d60787be
Removing intermediate container 0ef6d60787be
 ---> 71860e4217e9
Step 10/10 : RUN ls
 ---> Running in 260583de97aa
Dockerfile
config.yml
credentials.yml
data
domain.yml
endpoints.yml
models
Removing intermediate container 260583de97aa
 ---> 5a1c6a85a306
Successfully built 5a1c6a85a306
Successfully tagged velementchatbot_rasa:latest
Building action_server
Step 1/6 : FROM rasa/rasa-sdk:1.10.0
 ---> 5114b1f9a8af
Step 2/6 : WORKDIR /app
 ---> Running in a6082188019a
Removing intermediate container a6082188019a
 ---> 0700ed751194
Step 3/6 : USER root
 ---> Running in a89ca04a89d6
Removing intermediate container a89ca04a89d6
 ---> 3fac23a8793f
Step 4/6 : RUN python -m pip install --upgrade pip
 ---> Running in 9fa1bee75985
Collecting pip
  Downloading pip-20.1-py2.py3-none-any.whl (1.5 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 20.0.2
    Uninstalling pip-20.0.2:
      Successfully uninstalled pip-20.0.2
Successfully installed pip-20.1
Removing intermediate container 9fa1bee75985
 ---> 6f59b6af9f74
Step 5/6 : COPY . /app/actions
 ---> c05b52a81294
Step 6/6 : VOLUME /app
 ---> Running in e4276c102ac7
Removing intermediate container e4276c102ac7
 ---> 848249162bfe
Successfully built 848249162bfe
Successfully tagged velementchatbot_action_server:latest
Recreating action_server ... error                                                                                                                                      Recreating rasa_server   ...

ERROR: for action_server  no such image: sha256:4baee55c1091895829f7edd86fbd70a978dadddb0e0536fee18870b1e24e2113: No such image: sha256:4baee55c1091895829f7edd86fbd70a9Recreating rasa_server   ... error                                                                                                                                      
ERROR: for rasa_server  no such image: sha256:cb7cc57c8020ceabb105893c5e44f8d8aedb51a1fa72f6284569859115a605e7: No such image: sha256:cb7cc57c8020ceabb105893c5e44f8d8aedb51a1fa72f6284569859115a605e7

ERROR: for action_server  no such image: sha256:4baee55c1091895829f7edd86fbd70a978dadddb0e0536fee18870b1e24e2113: No such image: sha256:4baee55c1091895829f7edd86fbd70a978dadddb0e0536fee18870b1e24e2113

ERROR: for rasa  no such image: sha256:cb7cc57c8020ceabb105893c5e44f8d8aedb51a1fa72f6284569859115a605e7: No such image: sha256:cb7cc57c8020ceabb105893c5e44f8d8aedb51a1fa72f6284569859115a605e7
ERROR: The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing.

Continue with the new image? [yN]y
Building rasa
Step 1/10 : FROM rasa/rasa:1.10.0-full
 ---> 540ad250374c
Step 2/10 : USER root
 ---> Using cache
 ---> d0b77fc818c0
Step 3/10 : WORKDIR /app
 ---> Using cache
 ---> 96ddbb5ed969
Step 4/10 : COPY . /app
 ---> Using cache
 ---> 28e3a4feaa5f
Step 5/10 : COPY ./data /app/data
 ---> Using cache
 ---> 9865cd3386f1
Step 6/10 : RUN  rasa train -c ./config.yml -d ./domain.yml --data ./data --debug
 ---> Using cache
 ---> 1c79197183a9
Step 7/10 : VOLUME /app
 ---> Using cache
 ---> 66461f758447
Step 8/10 : VOLUME /app/data
 ---> Using cache
 ---> 527dcae8db84
Step 9/10 : VOLUME /app/models
 ---> Using cache
 ---> 71860e4217e9
Step 10/10 : RUN ls
 ---> Using cache
 ---> 5a1c6a85a306
Successfully built 5a1c6a85a306
Successfully tagged velementchatbot_rasa:latest
Building action_server
Step 1/6 : FROM rasa/rasa-sdk:1.10.0
 ---> 5114b1f9a8af
Step 2/6 : WORKDIR /app
 ---> Using cache
 ---> 0700ed751194
Step 3/6 : USER root
 ---> Using cache
 ---> 3fac23a8793f
Step 4/6 : RUN python -m pip install --upgrade pip
 ---> Using cache
 ---> 6f59b6af9f74
Step 5/6 : COPY . /app/actions
 ---> Using cache
 ---> c05b52a81294
Step 6/6 : VOLUME /app
 ---> Using cache
 ---> 848249162bfe
Successfully built 848249162bfe
Successfully tagged velementchatbot_action_server:latest
Recreating 5bda464dfc54_action_server ... done                                                                                                                          Recreating 94bd4b2fbfef_rasa_server   ... done                                                                                                                          Attaching to rasa_server, action_server
action_server    | 2020-05-16 08:22:37 INFO     rasa_sdk.endpoint  - Starting action endpoint server...
action_server    | 2020-05-16 08:22:38 INFO     rasa_sdk.executor  - Registered function for 'action_partner'.
rasa_server      | usage: rasa [-h] [--version]
rasa_server      |             {init,run,shell,train,interactive,test,visualize,data,export,x}
rasa_server      |             ...
rasa_server      |
rasa_server      | Rasa command line interface. Rasa allows you to build your own conversational
rasa_server      | assistants πŸ€–. The 'rasa' command allows you to easily run most common commands
rasa_server      | like creating a new bot, training or evaluating models.
rasa_server      |
rasa_server      | positional arguments:
rasa_server      |   {init,run,shell,train,interactive,test,visualize,data,export,x}
rasa_server      |                         Rasa commands
rasa_server      |     init                Creates a new project, with example training data,
rasa_server      |                         actions, and config files.
rasa_server      |     run                 Starts a Rasa server with your trained model.
rasa_server      |     shell               Loads your trained model and lets you talk to your
rasa_server      |                         assistant on the command line.
rasa_server      |     train               Trains a Rasa model using your NLU data and stories.
rasa_server      |     interactive         Starts an interactive learning session to create new
rasa_server      |                         training data for a Rasa model by chatting.
rasa_server      |     test                Tests Rasa models using your test NLU data and
rasa_server      |                         stories.
rasa_server      |     visualize           Visualize stories.
rasa_server      |     data                Utils for the Rasa training files.
rasa_server      |     export              Export conversations using an event broker.
rasa_server      |
rasa_server      | optional arguments:
rasa_server      |   -h, --help            show this help message and exit
rasa_server      |   --version             Print installed Rasa version
rasa_server exited with code 0

Command or request that led to error:

docker-compose up --build

docker-compose.yml:

version: '3'
services:
    rasa:
      container_name: "rasa_server"
      build: 
        context: backend
      ports: 
        - "5005:5005"
    action_server:
      container_name: "action_server"
      build: 
        context: actions
      volumes:
        - ./actions:/app/actions
      ports:
        - 5055:5055 

* Dockerfile from action folder*:

FROM rasa/rasa-sdk:1.10.0

WORKDIR /app 
USER root
RUN python -m pip install --upgrade pip
# RUN pip install recognizers-text-suite
COPY .  /app/actions
VOLUME /app 

*Dockerfile of rasa server *:

FROM rasa/rasa:1.10.0-full

USER root

WORKDIR /app
COPY . /app
COPY ./data /app/data

RUN  rasa train -c ./config.yml -d ./domain.yml --data ./data --debug 

VOLUME /app
VOLUME /app/data
VOLUME /app/models
CMD [ "run","-m","/app/models","--enable-api","--cors","*","--debug" ]
area type

Most helpful comment

Ah I see; you need to change your endpoints.yml to match the action server name. Your rasa container is looking for the action server in http://localhost:5055/webhook. You'll want to change your config's action_endpoint to match the container name, so http://action_server:5055/webhook. You'll also want to make sure to network the containers together, just as the example docker-compose.yml does.

All 17 comments

Thanks for the issue, @degiz will get back to you about it soon!

You may find help in the docs and the forum, too πŸ€—

Hello @degiz Can you please suggest me something about this?
I am waiting for your response.
Thank you.

Your issue is not with your action server, it's from your Rasa server; the logs show that the action server started, but rasa-server returned with exit code 0.

Try this for your docker-compose.yml file (it basically just runs both servers explicitly)`:

version: '3'
services:
    rasa:
      container_name: "rasa_server"
      build: 
        context: backend
      command:
        - run
      ports: 
        - "5005:5005"
    action_server:
      container_name: "action_server"
      build: 
        context: actions
      command:
        - start
      volumes:
        - ./actions:/app/actions
      ports:
        - 5055:5055 

@ortsaCniveK
I have tried that now I am getting this...

endpoints.yml

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

(env)> docker-compose up --build Building rasa Step 1/10 : FROM rasa/rasa:1.10.0-full ---> 540ad250374c Step 2/10 : USER root ---> Using cache ---> f64308a2acc6 Step 3/10 : WORKDIR /app ---> Using cache ---> 8242852fc836 Step 4/10 : COPY . /app ---> Using cache ---> 8bffc3b54b5c Step 5/10 : COPY ./data /app/data ---> Using cache ---> c5d9782ce076 Step 6/10 : RUN rasa train -c ./config.yml -d ./domain.yml --data ./data --debug ---> Using cache ---> 4b546f65eef8 Step 7/10 : VOLUME /app ---> Using cache ---> ca626a8960d4 Step 8/10 : VOLUME /app/data ---> Using cache ---> 69ca5ac09967 Step 9/10 : VOLUME /app/models ---> Using cache ---> f4f61cb9b9a5 Step 10/10 : CMD ["run", "--cors" ,"*", "-m" ,"/app/models" ,"--enable-api" ,"--log-file", "out.log" ,"--endpoints" ,"endpoints.yml" ,"--debug"] ---> Using cache ---> 49ac9b429eb1 Successfully built 49ac9b429eb1 Successfully tagged velementchatbot_rasa:latest Building action_server Step 1/6 : FROM rasa/rasa-sdk:1.10.0 ---> 5114b1f9a8af Step 2/6 : WORKDIR /app ---> Using cache ---> 40adaf479d4c Step 3/6 : USER root ---> Using cache ---> faf6811128e8 Step 4/6 : RUN python -m pip install --upgrade pip ---> Using cache ---> 8392307b8b01 Step 5/6 : COPY . /app/actions ---> Using cache ---> 702ece7e52ea Step 6/6 : VOLUME /app ---> Using cache ---> 08ab8fd27ba0 Successfully built 08ab8fd27ba0 Successfully tagged velementchatbot_action_server:latest Recreating rasa_server ... done Starting action_server ... done Attaching to action_server, rasa_server action_server | 2020-05-22 04:23:56 INFO rasa_sdk.endpoint - Starting action endpoint server... rasa_server | 2020-05-22 04:24:09 DEBUG rasa.cli.utils - Parameter 'credentials' not set. Using default location 'credentials.yml' instead. rasa_server | 2020-05-22 04:24:12 DEBUG rasa.core.utils - Available web server routes: rasa_server | /conversations/<conversation_id>/messages POST add_message rasa_server | /conversations/<conversation_id>/tracker/events POST append_events rasa_server | /webhooks/rasa GET custom_webhook_RasaChatInput.health rasa_server | /webhooks/rasa/webhook POST custom_webhook_RasaChatInput.receive rasa_server | /webhooks/rest GET custom_webhook_RestInput.health rasa_server | /webhooks/rest/webhook POST custom_webhook_RestInput.receive rasa_server | /model/test/intents POST evaluate_intents rasa_server | /model/test/stories POST evaluate_stories rasa_server | /conversations/<conversation_id>/execute POST execute_action rasa_server | /domain GET get_domain rasa_server | /socket.io OPTIONS handle_request rasa_server | / GET hello rasa_server | /model PUT load_model rasa_server | /model/parse POST parse rasa_server | /conversations/<conversation_id>/predict POST predict rasa_server | /conversations/<conversation_id>/tracker/events PUT replace_events rasa_server | /conversations/<conversation_id>/story GET retrieve_story rasa_server | /conversations/<conversation_id>/tracker GET retrieve_tracker rasa_server | /webhooks/socketio GET socketio_webhook.health rasa_server | /status GET status rasa_server | /model/predict POST tracker_predict rasa_server | /model/train POST train rasa_server | /conversations/<conversation_id>/trigger_intent POST trigger_intent rasa_server | /model DELETE unload_model rasa_server | /version GET version rasa_server | 2020-05-22 04:24:12 INFO root - Starting Rasa server on http://localhost:5005 rasa_server | 2020-05-22 04:24:12 DEBUG rasa.core.utils - Using the default number of Sanic workers (1). rasa_server | 2020-05-22 04:24:12 INFO root - Enabling coroutine debugging. Loop id 94726074988688. rasa_server | 2020-05-22 04:24:12 DEBUG rasa.model - Extracted model to '/tmp/tmpab95wyly'. rasa_server | 2020-05-22 04:24:36 INFO rasa.nlu.components - Added 'SpacyNLP' to component cache. Key 'SpacyNLP-en'. rasa_server | 2020-05-22 04:24:36 DEBUG rasa.utils.tensorflow.models - Loading the model ... rasa_server | 2020-05-22 04:24:36.619528: E tensorflow/stream_executor/cuda/cuda_driver.cc:351] failed call to cuInit: UNKNOWN ERROR (303) rasa_server | 2020-05-22 04:24:38 DEBUG rasa.utils.tensorflow.models - Finished loading the model. rasa_server | 2020-05-22 04:24:38 DEBUG rasa.utils.tensorflow.models - Building tensorflow prediction graph... rasa_server | 2020-05-22 04:24:44 DEBUG rasa.utils.tensorflow.models - Finished building tensorflow prediction graph. rasa_server | 2020-05-22 04:24:44 DEBUG rasa.core.tracker_store - Attempting to connect to database via 'sqlite:///vElementChatbot.db'. rasa_server | 2020-05-22 04:24:44 DEBUG rasa.core.tracker_store - Connection to SQL database 'vElementChatbot.db' successful. rasa_server | 2020-05-22 04:24:44 DEBUG rasa.core.tracker_store - Connected to SQLTrackerStore. rasa_server | 2020-05-22 04:24:44 DEBUG rasa.core.lock_store - Connected to lock store 'InMemoryLockStore'. rasa_server | 2020-05-22 04:24:44 DEBUG rasa.model - Extracted model to '/tmp/tmpbtqxxbwp'. rasa_server | 2020-05-22 04:24:44 DEBUG pykwalify.compat - Using yaml library: /opt/venv/lib/python3.7/site-packages/ruamel/yaml/__init__.py rasa_server | 2020-05-22 04:24:44 DEBUG rasa.utils.tensorflow.models - Loading the model ... rasa_server | 2020-05-22 04:24:44 DEBUG rasa.utils.tensorflow.models - Finished loading the model. rasa_server | 2020-05-22 04:24:44 DEBUG rasa.utils.tensorflow.models - Building tensorflow prediction graph... rasa_server | 2020-05-22 04:24:46 DEBUG rasa.utils.tensorflow.models - Finished building tensorflow prediction graph. rasa_server | 2020-05-22 04:24:46 INFO rasa.core.policies.ensemble - MappingPolicy not included in policy ensemble. Default intents 'restart and back will not trigger actions 'action_restart' and 'action_back'. rasa_server | 2020-05-22 04:24:46 DEBUG rasa.core.nlg.generator - Instantiated NLG to 'TemplatedNaturalLanguageGenerator'. rasa_server | 2020-05-22 04:24:50 DEBUG rasa.core.channels.socketio - User 78aebd46d2e043b987d81262993cc391 connected to socketIO endpoint. rasa_server | 2020-05-22 04:24:50 DEBUG rasa.core.channels.socketio - User 76cb586c5f954e77b94e6b6ba5fb10b3 connected to socketIO endpoint. rasa_server | 2020-05-22 04:24:51 DEBUG rasa.core.channels.socketio - User 76cb586c5f954e77b94e6b6ba5fb10b3 connected to socketIO endpoint. rasa_server | 2020-05-22 04:24:55 DEBUG rasa.core.tracker_store - Recreating tracker from sender id '2951e148ede342719e99f67f3ba69a01' rasa_server | 2020-05-22 04:24:55 DEBUG rasa.core.processor - The latest session for conversation ID '2951e148ede342719e99f67f3ba69a01' has expired. rasa_server | 2020-05-22 04:24:55 DEBUG rasa.core.processor - Starting a new session for conversation ID '2951e148ede342719e99f67f3ba69a01'. rasa_server | 2020-05-22 04:24:55 DEBUG rasa.core.processor - Action 'action_session_start' ended with events '[<rasa.core.events.SessionStarted object at 0x7f658799a6d0>, <rasa.core.events.ActionExecuted object at 0x7f657c3141d0>]'. rasa_server | 2020-05-22 04:24:55 DEBUG rasa.core.processor - Received user message 'partners' with intent '{'name': 'partners', 'confidence': 0.9998556971549988}' and entities '[]' rasa_server | 2020-05-22 04:24:55 DEBUG rasa.core.processor - Logged UserUtterance - tracker now has 18 events. rasa_server | 2020-05-22 04:24:55 DEBUG rasa.core.policies.memoization - Current tracker state [None, None, None, {}, {'intent_partners': 1.0, 'prev_action_listen': 1.0}] rasa_server | 2020-05-22 04:24:55 DEBUG rasa.core.policies.memoization - There is a memorised next action 'action_partner' rasa_server | 2020-05-22 04:24:55 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_0_MemoizationPolicy rasa_server | 2020-05-22 04:24:55 DEBUG rasa.core.processor - Predicted next action 'action_partner' with confidence 1.00. rasa_server | 2020-05-22 04:24:55 DEBUG rasa.core.actions.action - Calling action endpoint to run action 'action_partner'. rasa_server | 2020-05-22 04:24:55 ERROR rasa.core.actions.action - Failed to run custom action 'action_partner'. Couldn't connect to the server at 'http://localhost:5055/webhook'. Is the server running? Error: Cannot connect to host localhost:5055 ssl:default [Cannot assign requested address] rasa_server | 2020-05-22 04:24:55 ERROR rasa.core.processor - Encountered an exception while running action 'action_partner'. Bot will continue, but the actions events are lost. Please check the logs of your action server for more information. rasa_server | 2020-05-22 04:24:55 DEBUG rasa.core.processor - Failed to execute custom action. rasa_server | Traceback (most recent call last): rasa_server | File "/opt/venv/lib/python3.7/site-packages/aiohttp/connector.py", line 936, in _wrap_create_connection rasa_server | return await self._loop.create_connection(*args, **kwargs) # type: ignore # noqa rasa_server | File "uvloop/loop.pyx", line 1974, in create_connection rasa_server | File "uvloop/loop.pyx", line 1950, in uvloop.loop.Loop.create_connection rasa_server | File "uvloop/handles/tcp.pyx", line 180, in uvloop.loop.TCPTransport.connect rasa_server | File "uvloop/handles/tcp.pyx", line 202, in uvloop.loop._TCPConnectRequest.connect rasa_server | OSError: [Errno 99] Cannot assign requested address rasa_server | rasa_server | The above exception was the direct cause of the following exception: rasa_server | rasa_server | Traceback (most recent call last): rasa_server | File "/opt/venv/lib/python3.7/site-packages/rasa/core/actions/action.py", line 549, in run rasa_server | json=json_body, method="post", timeout=DEFAULT_REQUEST_TIMEOUT rasa_server | File "/opt/venv/lib/python3.7/site-packages/rasa/utils/endpoints.py", line 146, in request rasa_server | **kwargs, rasa_server | File "/opt/venv/lib/python3.7/site-packages/aiohttp/client.py", line 1012, in __aenter__ rasa_server | self._resp = await self._coro rasa_server | File "/opt/venv/lib/python3.7/site-packages/aiohttp/client.py", line 483, in _request rasa_server | timeout=real_timeout rasa_server | File "/opt/venv/lib/python3.7/site-packages/aiohttp/connector.py", line 523, in connect rasa_server | proto = await self._create_connection(req, traces, timeout) rasa_server | File "/opt/venv/lib/python3.7/site-packages/aiohttp/connector.py", line 859, in _create_connection rasa_server | req, traces, timeout) rasa_server | File "/opt/venv/lib/python3.7/site-packages/aiohttp/connector.py", line 1004, in _create_direct_connection rasa_server | raise last_exc rasa_server | File "/opt/venv/lib/python3.7/site-packages/aiohttp/connector.py", line 986, in _create_direct_connection rasa_server | req=req, client_error=client_error) rasa_server | File "/opt/venv/lib/python3.7/site-packages/aiohttp/connector.py", line 943, in _wrap_create_connection rasa_server | raise client_error(req.connection_key, exc) from exc rasa_server | aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host localhost:5055 ssl:default [Cannot assign requested address] rasa_server | rasa_server | During handling of the above exception, another exception occurred: rasa_server | rasa_server | Traceback (most recent call last): rasa_server | File "/opt/venv/lib/python3.7/site-packages/rasa/core/processor.py", line 644, in _run_action rasa_server | events = await action.run(output_channel, nlg, tracker, self.domain) rasa_server | File "/opt/venv/lib/python3.7/site-packages/rasa/core/actions/action.py", line 580, in run rasa_server | raise Exception("Failed to execute custom action.") rasa_server | Exception: Failed to execute custom action. rasa_server | 2020-05-22 04:24:55 DEBUG rasa.core.processor - Action 'action_partner' ended with events '[]'. rasa_server | 2020-05-22 04:24:55 DEBUG rasa.core.policies.memoization - Current tracker state [None, None, {}, {'intent_partners': 1.0, 'prev_action_listen': 1.0}, {'prev_action_partner': 1.0, 'intent_partners': 1.0}] rasa_server | 2020-05-22 04:24:55 DEBUG rasa.core.policies.memoization - There is a memorised next action 'action_listen' rasa_server | 2020-05-22 04:24:55 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_0_MemoizationPolicy rasa_server | 2020-05-22 04:24:55 DEBUG rasa.core.processor - Predicted next action 'action_listen' with confidence 1.00. rasa_server | 2020-05-22 04:24:55 DEBUG rasa.core.processor - Action 'action_listen' ended with events '[]'. rasa_server | 2020-05-22 04:24:56 DEBUG rasa.core.tracker_store - Tracker with sender_id '2951e148ede342719e99f67f3ba69a01' stored to database rasa_server | 2020-05-22 04:24:56 DEBUG rasa.core.lock_store - Deleted lock for conversation '2951e148ede342719e99f67f3ba69a

Ah I see; you need to change your endpoints.yml to match the action server name. Your rasa container is looking for the action server in http://localhost:5055/webhook. You'll want to change your config's action_endpoint to match the container name, so http://action_server:5055/webhook. You'll also want to make sure to network the containers together, just as the example docker-compose.yml does.

#

backend
actions

Unable to run rasa server from Dockerfile

Issue: : After executing docker-compose up --build -d my rasa server and action server logs are just showing that it is "starting" but they are not up and running. I have attached the folder screenshot of "Actions" and "Backend". I have followed the same folder structure as mentioned in the issue #5869 .

Now my docker-compose build output is as below.

Creating network "backend2_rasa-network" with the default driver
Building rasa
Step 1/10 : FROM rasa/rasa:1.10.0-full
---> 540ad250374c
Step 2/10 : USER root
---> Running in e830ce429a69
Removing intermediate container e830ce429a69
---> 422974b92415
Step 3/10 : WORKDIR /app
---> Running in cc70f451e8a5
Removing intermediate container cc70f451e8a5
---> 26842bd42af3
Step 4/10 : COPY . /app
---> cf1ff3c74949
Step 5/10 : COPY ./data /app/data
---> 3c52544e9e6e
Step 6/10 : RUN rasa train -c ./config.yml -d ./domain.yml --data ./data --debug
---> Running in 626120a02a6a
2020-08-01 13:21:53 DEBUG rasa.nlu.training_data.loading - Training data format of './data/nlu.md' is 'md'.
2020-08-01 13:21:53 DEBUG rasa.nlu.training_data.loading - Training data format of './data/stories.md' is 'unk'.
2020-08-01 13:21:53 DEBUG pykwalify.compat - Using yaml library: /opt/venv/lib/python3.7/site-packages/ruamel/yaml/__init__.py
2020-08-01 13:21:53 DEBUG rasa.nlu.training_data.loading - Training data format of './data/nlu.md' is 'md'.
2020-08-01 13:21:53 DEBUG rasa.nlu.training_data.loading - Training data format of './data/nlu.md' is 'md'.
2020-08-01 13:21:55 DEBUG rasa.core.nlg.generator - Instantiated NLG to 'TemplatedNaturalLanguageGenerator'.
2020-08-01 13:21:55 DEBUG rasa.core.training.generator - Generated trackers will be deduplicated based on their unique last 5 states.
2020-08-01 13:21:55 DEBUG rasa.core.training.generator - Number of augmentation rounds is 3
2020-08-01 13:21:55 DEBUG rasa.core.training.generator - Starting data generation round 0 ... (with 1 trackers)
Processed Story Blocks: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 10/10 [00:00<00:00, 2020.96it/s, # trackers=1]
2020-08-01 13:21:55 DEBUG rasa.core.training.generator - Finished phase (10 training samples found).
2020-08-01 13:21:55 DEBUG rasa.core.training.generator - Data generation rounds finished.
2020-08-01 13:21:55 DEBUG rasa.core.training.generator - Found 0 unused checkpoints
2020-08-01 13:21:55 DEBUG rasa.core.training.generator - Starting augmentation round 0 ... (with 10 trackers)
Processed Story Blocks: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 10/10 [00:00<00:00, 462.07it/s, # trackers=10]
2020-08-01 13:21:55 DEBUG rasa.core.training.generator - Finished phase (110 training samples found).
2020-08-01 13:21:55 DEBUG rasa.core.training.generator - Starting augmentation round 1 ... (with 50 trackers)
Processed Story Blocks: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 10/10 [00:00<00:00, 107.02it/s, # trackers=50]
2020-08-01 13:21:55 DEBUG rasa.core.training.generator - Finished phase (560 training samples found).
2020-08-01 13:21:55 DEBUG rasa.core.training.generator - Starting augmentation round 2 ... (with 50 trackers)
Processed Story Blocks: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 10/10 [00:00<00:00, 95.27it/s, # trackers=50]
2020-08-01 13:21:55 DEBUG rasa.core.training.generator - Finished phase (990 training samples found).
2020-08-01 13:21:55 DEBUG rasa.core.training.generator - Found 990 training trackers.
2020-08-01 13:21:55 DEBUG rasa.core.training.generator - Subsampled to 500 augmented training trackers.
2020-08-01 13:21:55 DEBUG rasa.core.training.generator - There are 10 original trackers.
2020-08-01 13:21:55 DEBUG rasa.core.agent - Agent trainer got kwargs: {}
2020-08-01 13:21:55 DEBUG rasa.core.featurizers - Creating states and action examples from collected trackers (by MaxHistoryTrackerFeaturizer(NoneType))...
Processed trackers: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 10/10 [00:00<00:00, 775.82it/s, # actions=21]
2020-08-01 13:21:55 DEBUG rasa.core.featurizers - Created 21 action examples.
Processed actions: 21it [00:00, 3649.49it/s, # examples=21]
2020-08-01 13:21:55 DEBUG rasa.core.policies.memoization - Memorized 21 unique examples.
2020-08-01 13:21:55 DEBUG rasa.core.featurizers - Creating states and action examples from collected trackers (by MaxHistoryTrackerFeaturizer(LabelTokenizerSingleStateFeaturizer))...
Processed trackers: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 510/510 [00:00<00:00, 613.84it/s, # actions=995]
2020-08-01 13:21:56 DEBUG rasa.core.featurizers - Created 995 action examples.
2020-08-01 13:21:56.271640: E tensorflow/stream_executor/cuda/cuda_driver.cc:351] failed call to cuInit: UNKNOWN ERROR (303)
2020-08-01 13:21:56 DEBUG rasa.utils.tensorflow.models - Building tensorflow train graph...
2020-08-01 13:22:06 DEBUG rasa.utils.tensorflow.models - Finished building tensorflow train graph.
Epochs: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 100/100 [01:28<00:00, 1.13it/s, t_loss=0.081, loss=0.005, acc=1.000]
2020-08-01 13:23:35 INFO rasa.utils.tensorflow.models - Finished training.
2020-08-01 13:23:36 INFO rasa.core.agent - Persisted model to '/tmp/tmpcig525ib/core'
2020-08-01 13:23:36 DEBUG rasa.nlu.training_data.loading - Training data format of './data/nlu.md' is 'md'.
2020-08-01 13:23:36 INFO rasa.nlu.training_data.training_data - Training data stats:
2020-08-01 13:23:36 INFO rasa.nlu.training_data.training_data - Number of intent examples: 43 (7 distinct intents)
2020-08-01 13:23:36 INFO rasa.nlu.training_data.training_data - Found intents: 'mood_unhappy', 'goodbye', 'bot_challenge', 'mood_great', 'greet', 'affirm', 'deny'
2020-08-01 13:23:36 INFO rasa.nlu.training_data.training_data - Number of response examples: 0 (0 distinct responses)
2020-08-01 13:23:36 INFO rasa.nlu.training_data.training_data - Number of entity examples: 0 (0 distinct entities)
2020-08-01 13:23:36 DEBUG rasa.nlu.training_data.training_data - Validating training data...
2020-08-01 13:23:36 INFO rasa.nlu.model - Starting to train component WhitespaceTokenizer
2020-08-01 13:23:36 INFO rasa.nlu.model - Finished training component.
2020-08-01 13:23:36 INFO rasa.nlu.model - Starting to train component RegexFeaturizer
2020-08-01 13:23:36 INFO rasa.nlu.model - Finished training component.
2020-08-01 13:23:36 INFO rasa.nlu.model - Starting to train component LexicalSyntacticFeaturizer
2020-08-01 13:23:36 INFO rasa.nlu.model - Finished training component.
2020-08-01 13:23:36 INFO rasa.nlu.model - Starting to train component CountVectorsFeaturizer
2020-08-01 13:23:36 DEBUG rasa.nlu.featurizers.sparse_featurizer.count_vectors_featurizer - No text provided for response attribute in any messages of training data. Skipping training a CountVectorizer for it.
2020-08-01 13:23:36 INFO rasa.nlu.model - Finished training component.
2020-08-01 13:23:36 INFO rasa.nlu.model - Starting to train component CountVectorsFeaturizer
2020-08-01 13:23:36 DEBUG rasa.nlu.featurizers.sparse_featurizer.count_vectors_featurizer - No text provided for response attribute in any messages of training data. Skipping training a CountVectorizer for it.
2020-08-01 13:23:36 INFO rasa.nlu.model - Finished training component.
2020-08-01 13:23:36 INFO rasa.nlu.model - Starting to train component DIETClassifier
/opt/venv/lib/python3.7/site-packages/rasa/utils/common.py:351: UserWarning: You specified 'DIET' to train entities, but no entities are present in the training data. Skip training of entities.
2020-08-01 13:23:36 DEBUG rasa.utils.tensorflow.models - Building tensorflow train graph...
2020-08-01 13:23:45 DEBUG rasa.utils.tensorflow.models - Finished building tensorflow train graph.
Epochs: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 100/100 [00:15<00:00, 6.27it/s, t_loss=1.455, i_loss=0.066, i_acc=1.000]
2020-08-01 13:24:01 INFO rasa.utils.tensorflow.models - Finished training.
2020-08-01 13:24:01 INFO rasa.nlu.model - Finished training component.
2020-08-01 13:24:01 INFO rasa.nlu.model - Starting to train component EntitySynonymMapper
2020-08-01 13:24:01 INFO rasa.nlu.model - Finished training component.
2020-08-01 13:24:01 INFO rasa.nlu.model - Starting to train component ResponseSelector
2020-08-01 13:24:01 INFO rasa.nlu.selectors.response_selector - Retrieval intent parameter was left to its default value. This response selector will be trained on training examples combining all retrieval intents.
2020-08-01 13:24:01 DEBUG rasa.nlu.classifiers.diet_classifier - Cannot train 'ResponseSelector'. No data was provided. Skipping training of the classifier.
2020-08-01 13:24:01 INFO rasa.nlu.model - Finished training component.
2020-08-01 13:24:02 INFO rasa.nlu.model - Successfully saved model into '/tmp/tmpcig525ib/nlu'
Training Core model...
Core model training completed.
Training NLU model...
NLU model training completed.
Your Rasa model is trained and saved at '/app/models/20200801-132402.tar.gz'.
Removing intermediate container 626120a02a6a
---> 72e67a294f8d
Step 7/10 : VOLUME /app
---> Running in 211ede077b6f
Removing intermediate container 211ede077b6f
---> 694574dbe7d3
Step 8/10 : VOLUME /app/data
---> Running in a4ae0873ccb2
Removing intermediate container a4ae0873ccb2
---> 60a54ac4ef0e
Step 9/10 : VOLUME /app/models
---> Running in a033d61cd329
Removing intermediate container a033d61cd329
---> 9786b4e0c7aa
Step 10/10 : CMD ["run", "--cors" ,"*", "-m" ,"/app/models" ,"--enable-api","--endpoints" ,"endpoints.yml" ,"--debug"]
---> Running in 2cf4560d60ae
Removing intermediate container 2cf4560d60ae
---> 2e068c09cae3
Successfully built 2e068c09cae3
Successfully tagged backend2_rasa:latest
Building action_server
Step 1/6 : FROM rasa/rasa-sdk:1.10.0
---> 5114b1f9a8af
Step 2/6 : WORKDIR /app
---> Using cache
---> c0c5fcb29ea4
Step 3/6 : USER root
---> Using cache
---> dc00e63cd64a
Step 4/6 : RUN python -m pip install --upgrade pip --index-url=http://infynexus.ad.infosys.com/nexus/repository/Python_Proxy/simple --trusted-host=infynexus.ad.infosys.com
---> Using cache
---> 112729490a47
Step 5/6 : COPY . /app/actions
---> Using cache
---> 903f5b3d0a0f
Step 6/6 : VOLUME /app
---> Using cache
---> 31d8d88be331
Successfully built 31d8d88be331
Successfully tagged backend2_action_server:latest
Creating rasa_server ... done
Creating backend2_duckling_1 ... done
Creating action_server ... done

Can someone please help me what am I missing?

@ortsaCniveK @degiz

Hey @sushilr007 @ShwethaMGitHub

Sorry for the late response. Do you still experience the problem?

@degiz It's working now. thanks!

@ShwethaMGitHub do you still have an issue?

@sushilr007 Is it working for you i am struggling for building docker image please help
i need action server to run+ rasa server

@degiz It's working now. thanks!

hi all will you help me?

@sushilr007 i also need help on how did you connected to the UI?

@sushilr007 Is it working for you i am struggling for building docker image please help
i need action server to run+ rasa server

This is my docker but I am not using action server.

FROM rasa/rasa:1.9.7
USER root

ENTRYPOINT []
ADD . /app/

RUN python -m pip install --no-cache --upgrade pip

RUN ls /app
RUN chmod +x /app/server.sh
CMD /app/server.sh

@sushilr007 i also need help on how did you connected to the UI?

For UI I have used botfront/webchat. there you will get whole documentation.

ok so you have only kept the rasa server running on cloud and then connected to the UI witht the URL

@sushilr007 and what about our data does it trains the data what we have (in nlu ,stories , domain) or is it the same data as we have when we do rasa init
i mean to say default data and custom data
Thanks for helping πŸ‘

I try to run botfront webchat but can not get it working.
I copied same folder structure as above .
I'm running it in Virtualbox Ubuntu 18:04 environment

docker-compose.yml
~
version: '3'
services:
rasa:
container_name: "rasa_server"
networks: ['rasa-network']
build:
context: backend
command:
- run
ports:
- "5005:5005"
action_server:
container_name: "action_server"
networks: ['rasa-network']
build:
context: actions
command:
- start
volumes:
- ./actions:/app/actions
ports:
- 5055:5055
networks: {rasa-network: {}}
~

index.html
I tried here these

socketUrl: "http://rasa_server:5005",
socketUrl: "http://localhost:5005",
socketUrl: "http://rasa-network:5005",

Nothing worked

~~~




// you can add a version tag if you need, e.g for version 0.11.5 https://cdn.jsdelivr.net/npm/[email protected]/lib/index.min.js



~~~

endpoints.yml
If I uncomment these rasa server starts but exits in few seconds
~~~

action_endpoint:

url: "http://action_server:5055/webhook"

~~~

containers running
~
linttu@linttu-VirtualBox:~/rasaProd/rasaTalHal$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1dd0cf8ee2e3 rasatalhal_rasa "rasa run" 52 minutes ago Up 52 minutes 0.0.0.0:5005->5005/tcp rasa_server
427254084d41 rasatalhal_action_server "./entrypoint.sh sta…" 52 minutes ago Up 52 minutes 0.0.0.0:5055->5055/tcp action_server
~

Active servers
~
linttu@linttu-VirtualBox:~/rasaProd/rasaTalHal$ sudo netstat -plnt
[sudo] password for linttu:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 319/systemd-resolve
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 476/cupsd
tcp6 0 0 ::1:631 :::* LISTEN 476/cupsd
tcp6 0 0 :::5055 :::* LISTEN 7745/docker-proxy
tcp6 0 0 :::5005 :::* LISTEN 7853/docker-proxy
tcp6 0 0 :::80 :::* LISTEN 579/apache2
~

Was this page helpful?
0 / 5 - 0 ratings