Connection between Rasa and Rasa X on docker

Hello, first of all, I would like to say thank you to rasa team, what a great job you guys have done!

Here I got a problem when I am using rasa and rasa X on docker, I have trained a rasa model on docker and it runs properly on my shell, at the same time I already deployed rasa X on docker (exactly the same as the rasa x docs) and I can open the UI by visiting http://127.0.0.1, the directory of rasa x is default to etc/rasa The problem is: how to connect rasa and rasa x? We can simple input rasa x command in shell under the same directory as rasa, but not possible to do the same thing on docker, I am having this errorļ¼Œrasa-worker_1 | 2019-06-26 03:24:34 DEBUG rasa.core.agent - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/productionā€¦ rasa-worker_1 | 2019-06-26 03:24:34 DEBUG rasa.core.agent - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a rasa-worker_1 | 2019-06-26 03:24:34 DEBUG rasa.core.agent - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production rasa-production_1 | 2019-06-26 03:24:35 DEBUG rasa.core.agent - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/productionā€¦ rasa-production_1 | 2019-06-26 03:24:35 DEBUG rasa.core.agent - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a rasa-production_1 | 2019-06-26 03:24:35 DEBUG rasa.core.agent - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production

How do I fix this problemļ¼Ÿ Thank youļ¼

The Rasa X setup already includes a Rasa instance. No need, to connect them to a separate instance. If you want to use your existing model with Rasa X (on docker), you can simply upload them through the UI.

Thank you for your reply, I have already uploaded a trained model to the UI (by using curl) and also set it as the production, Rasa X should run this model but it didnā€™t, thereā€™s no model running and I canā€™t talk with my chatbot. The error remained the same as before, even if I tried to use curl to upload the model to http://rasa-x:5002/api/projects/default/models/tags/production, still have no idea which step was wrong.

And the model shows up in your model view and you can tag it as in production

I canā€™t talk with my chatbot.

Mhm, that could also be another error. Can you run rasa and rasa-x with --debug and post the logs here?

Hiļ¼Œthanks for the help, here are the logs,

rabbit_1           | Welcome to the Bitnami rabbitmq container
db_1               | 
rasa-x_1           | INFO:apscheduler.scheduler:Scheduler started
rabbit_1           | Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-rabbitmq
rasa-x_1           | ERROR:pika.adapters.utils.io_services_utils:Socket failed to connect: <socket.socket fd=9, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('192.168.16.5', 53590)>; error=111 (Connection refused)
duckling_1         | no port specified, defaulting to port 8000
rabbit_1           | Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-rabbitmq/issues
rasa-worker_1      | 2019-06-29 05:14:38 DEBUG    rasa.cli.utils  - Parameter 'endpoints' not set. Using default location 'endpoints.yml' instead.
db_1               | Welcome to the Bitnami postgresql container
rasa-production_1  | 2019-06-29 05:14:39 DEBUG    rasa.cli.utils  - Parameter 'endpoints' not set. Using default location 'endpoints.yml' instead.
rasa-worker_1      | 2019-06-29 05:14:39 DEBUG    rasa.cli.utils  - Parameter 'credentials' not set. Using default location 'credentials.yml' instead.
db_1               | Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-postgresql
rasa-x_1           | ERROR:pika.adapters.utils.connection_workflow:TCP Connection attempt failed: ConnectionRefusedError(111, 'Connection refused'); dest=(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('192.168.16.2', 5672))
rabbit_1           | 
rasa-production_1  | 2019-06-29 05:14:41 DEBUG    rasa.cli.utils  - Parameter 'credentials' not set. Using default location 'credentials.yml' instead.
rasa-x_1           | ERROR:pika.adapters.utils.connection_workflow:AMQPConnector - reporting failure: AMQPConnectorSocketConnectError: ConnectionRefusedError(111, 'Connection refused')
rabbit_1           | INFO  ==> Starting rabbitmq... 
db_1               | Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-postgresql/issues
rasa-production_1  | 2019-06-29 05:14:41 DEBUG    sanic_jwt.configuration  - validating provided secret
rasa-worker_1      | 2019-06-29 05:14:39 DEBUG    sanic_jwt.configuration  - validating provided secret
app_1              | INFO:rasa_sdk.endpoint:Starting action endpoint server...
rasa-worker_1      | 2019-06-29 05:14:39 DEBUG    sanic_jwt.configuration  - validating keys (if needed)
rasa-production_1  | 2019-06-29 05:14:41 DEBUG    sanic_jwt.configuration  - validating keys (if needed)
db_1               | Send us your feedback at containers@bitnami.com
nginx_1            | SSL encryption is not used since no certificates were provided.
duckling_1         | Listening on http://0.0.0.0:8000
app_1              | INFO:rasa_sdk.endpoint:Action endpoint is up and running. on ('0.0.0.0', 5055)
nginx_1            | >> exec docker CMD
rasa-production_1  | 2019-06-29 05:14:41 DEBUG    sanic_jwt.configuration  - loading secret and/or keys (if needed)
rasa-worker_1      | 2019-06-29 05:14:39 DEBUG    sanic_jwt.configuration  - loading secret and/or keys (if needed)
db_1               | 
nginx_1            | nginx
rasa-production_1  | 2019-06-29 05:14:41 DEBUG    rasa.core.utils  - Available web server routes: 
rasa-worker_1      | 2019-06-29 05:14:39 DEBUG    rasa.core.utils  - Available web server routes: 
nginx_1            | 2019/06/29 05:14:40 [notice] 1#0: using the "epoll" event method
rasa-production_1  | /conversations/<conversation_id>/messages          POST                           add_message
rasa-worker_1      | /conversations/<conversation_id>/messages          POST                           add_message
db_1               | INFO  ==> ** Starting PostgreSQL setup **
nginx_1            | 2019/06/29 05:14:40 [notice] 1#0: nginx/1.14.2
rasa-production_1  | /conversations/<conversation_id>/tracker/events    POST                           append_events
rasa-worker_1      | /conversations/<conversation_id>/tracker/events    POST                           append_events
db_1               | INFO  ==> Validating settings in POSTGRESQL_* env vars..
nginx_1            | 2019/06/29 05:14:40 [notice] 1#0: built by gcc 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) 
rasa-production_1  | /auth                                              POST                           auth_bp.AuthenticateEndpoint
rasa-worker_1      | /auth                                              POST                           auth_bp.AuthenticateEndpoint
rasa-production_1  | /auth/me                                           GET                            auth_bp.RetrieveUserEndpoint
nginx_1            | 2019/06/29 05:14:40 [notice] 1#0: OS: Linux 4.15.0-51-generic
rasa-worker_1      | /auth/me                                           GET                            auth_bp.RetrieveUserEndpoint
db_1               | INFO  ==> Initializing PostgreSQL database...
rasa-production_1  | /auth/verify                                       GET                            auth_bp.VerifyEndpoint
nginx_1            | 2019/06/29 05:14:40 [notice] 1#0: getrlimit(RLIMIT_NOFILE): 1048576:1048576
rasa-worker_1      | /auth/verify                                       GET                            auth_bp.VerifyEndpoint
rasa-production_1  | /webhooks/rasa                                     GET                            custom_webhook_RasaChatInput.health
rasa-production_1  | /webhooks/rasa/webhook                             POST                           custom_webhook_RasaChatInput.receive
nginx_1            | 2019/06/29 05:14:40 [notice] 1#0: start worker processes
rasa-production_1  | /model/test/intents                                POST                           evaluate_intents
db_1               | INFO  ==> postgresql.conf file not detected. Generating it...
rasa-worker_1      | /webhooks/rasa                                     GET                            custom_webhook_RasaChatInput.health
nginx_1            | 2019/06/29 05:14:40 [notice] 1#0: start worker process 7
rasa-production_1  | /model/test/stories                                POST                           evaluate_stories
rasa-worker_1      | /webhooks/rasa/webhook                             POST                           custom_webhook_RasaChatInput.receive
rasa-production_1  | /conversations/<conversation_id>/execute           POST                           execute_action
db_1               | INFO  ==> pg_hba.conf file not detected. Generating it...
rasa-worker_1      | /model/test/intents                                POST                           evaluate_intents
rasa-production_1  | /domain                                            GET                            get_domain
nginx_1            | 2019/06/29 05:14:40 [notice] 1#0: start worker process 8
rasa-worker_1      | /model/test/stories                                POST                           evaluate_stories
db_1               | INFO  ==> Deploying PostgreSQL with persisted data...
rasa-production_1  | /                                                  GET                            hello
rasa-worker_1      | /conversations/<conversation_id>/execute           POST                           execute_action
nginx_1            | 2019/06/29 05:14:40 [notice] 1#0: start worker process 9
rasa-production_1  | /model                                             PUT                            load_model
rasa-worker_1      | /domain                                            GET                            get_domain
db_1               | INFO  ==> Configuring replication parameters
rasa-production_1  | /model/parse                                       POST                           parse
rasa-worker_1      | /                                                  GET                            hello
nginx_1            | 2019/06/29 05:14:40 [notice] 1#0: start worker process 10
rasa-production_1  | /conversations/<conversation_id>/predict           POST                           predict
db_1               | INFO  ==> Loading custom scripts...
rasa-worker_1      | /model                                             PUT                            load_model
rasa-production_1  | /conversations/<conversation_id>/tracker/events    PUT                            replace_events
nginx_1            | 2019/06/29 05:14:40 [notice] 1#0: start worker process 11
rasa-worker_1      | /model/parse                                       POST                           parse
db_1               | INFO  ==> Enabling remote connections
rasa-production_1  | /conversations/<conversation_id>/story             GET                            retrieve_story
nginx_1            | 2019/06/29 05:14:40 [notice] 1#0: start worker process 12
rasa-production_1  | /conversations/<conversation_id>/tracker           GET                            retrieve_tracker
rasa-worker_1      | /conversations/<conversation_id>/predict           POST                           predict
rasa-production_1  | /status                                            GET                            status
rasa-worker_1      | /conversations/<conversation_id>/tracker/events    PUT                            replace_events
rasa-worker_1      | /conversations/<conversation_id>/story             GET                            retrieve_story
rasa-worker_1      | /conversations/<conversation_id>/tracker           GET                            retrieve_tracker
db_1               | INFO  ==> Stopping PostgreSQL...
rasa-worker_1      | /status                                            GET                            status
rasa-production_1  | /model/predict                                     POST                           tracker_predict
rasa-worker_1      | /model/predict                                     POST                           tracker_predict
rasa-production_1  | /model/train                                       POST                           train
nginx_1            | 2019/06/29 05:14:40 [notice] 1#0: start worker process 13
rasa-worker_1      | /model/train                                       POST                           train
rasa-production_1  | /model                                             DELETE                         unload_model
rasa-worker_1      | /model                                             DELETE                         unload_model
rasa-production_1  | /version                                           GET                            version
db_1               | INFO  ==> ** PostgreSQL setup finished! **
nginx_1            | 2019/06/29 05:14:40 [notice] 1#0: start worker process 14
rasa-production_1  | 2019-06-29 05:14:41 INFO     root  - Starting Rasa Core server on http://localhost:5005
nginx_1            | 2019/06/29 05:14:40 [notice] 1#0: start worker process 15
rasa-worker_1      | /version                                           GET                            version
db_1               | 
nginx_1            | 2019/06/29 05:14:40 [notice] 1#0: start worker process 16
rasa-production_1  | 2019-06-29 05:14:41 INFO     root  - Enabling coroutine debugging. Loop id 94833932224424.
rasa-worker_1      | 2019-06-29 05:14:39 INFO     root  - Starting Rasa Core server on http://localhost:5005
db_1               | INFO  ==> ** Starting PostgreSQL **
nginx_1            | 2019/06/29 05:14:40 [notice] 1#0: start worker process 17
rasa-worker_1      | 2019-06-29 05:14:39 INFO     root  - Enabling coroutine debugging. Loop id 94043934308264.
db_1               | 2019-06-29 05:14:34.004 GMT [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
rasa-production_1  | 2019-06-29 05:14:41 DEBUG    root  - Could not load interpreter from 'None'
rasa-worker_1      | 2019-06-29 05:14:39 DEBUG    root  - Could not load interpreter from 'None'
db_1               | 2019-06-29 05:14:34.004 GMT [1] LOG:  listening on IPv6 address "::", port 5432
nginx_1            | 2019/06/29 05:14:40 [notice] 1#0: start worker process 18
rasa-worker_1      | 2019-06-29 05:14:39 DEBUG    rasa.core.tracker_store  - Attempting to connect to database via "postgresql://admin:***@db:5432/rasa"
rasa-production_1  | 2019-06-29 05:14:41 DEBUG    rasa.core.tracker_store  - Attempting to connect to database via "postgresql://admin:***@db:5432/rasa"
db_1               | 2019-06-29 05:14:34.010 GMT [1] LOG:  listening on Unix socket "/tmp/.s.PGSQL.5432"
rasa-worker_1      | 2019-06-29 05:14:39 DEBUG    rasa.core.tracker_store  - Connection to SQL database 'worker_tracker' successful
rasa-production_1  | 2019-06-29 05:14:41 DEBUG    rasa.core.tracker_store  - Connection to SQL database 'tracker' successful
db_1               | 2019-06-29 05:14:34.027 GMT [141] LOG:  database system was shut down at 2019-06-26 04:59:57 GMT
rasa-worker_1      | 2019-06-29 05:14:39 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-production_1  | 2019-06-29 05:14:41 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
db_1               | 2019-06-29 05:14:34.033 GMT [1] LOG:  database system is ready to accept connections
rasa-production_1  | 2019-06-29 05:14:41 DEBUG    rasa.core.agent  - Tried to fetch model from server, but couldn't reach server. We'll retry later... Error: Cannot connect to host rasa-x:5002 ssl:None [Connection refused].
rasa-worker_1      | 2019-06-29 05:14:39 DEBUG    rasa.core.agent  - Tried to fetch model from server, but couldn't reach server. We'll retry later... Error: Cannot connect to host rasa-x:5002 ssl:None [Connection refused].
rasa-production_1  | 2019-06-29 05:14:41 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
db_1               | 2019-06-29 05:14:39.852 GMT [149] WARNING:  there is no transaction in progress
rasa-worker_1      | 2019-06-29 05:14:39 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
db_1               | 2019-06-29 05:14:41.211 GMT [151] WARNING:  there is no transaction in progress
rabbit_1           |  Copyright (C) 2007-2018 Pivotal Software, Inc.
rabbit_1           |  Licensed under the MPL.  See http://www.rabbitmq.com/
rabbit_1           | 2019-06-29 05:14:40.124 [info] <0.275.0> 
rabbit_1           |  node           : rabbit@localhost
rabbit_1           |  home dir       : /opt/bitnami/rabbitmq/.rabbitmq
rabbit_1           |  config file(s) : /opt/bitnami/rabbitmq/etc/rabbitmq/rabbitmq.config
rabbit_1           |  cookie hash    : qlNXpmwTz9HXfKYd5O0TYQ==
rabbit_1           |  log(s)         : /opt/bitnami/rabbitmq/var/log/rabbitmq/rabbit@localhost.log
rabbit_1           |                 : /opt/bitnami/rabbitmq/var/log/rabbitmq/rabbit@localhost_upgrade.log
rabbit_1           |  database dir   : /opt/bitnami/rabbitmq/var/lib/rabbitmq/mnesia/rabbit@localhost
rabbit_1           | 2019-06-29 05:14:42.596 [info] <0.294.0> Memory high watermark set to 12756 MiB (13376172851 bytes) of 31891 MiB (33440432128 bytes) total
rabbit_1           | 2019-06-29 05:14:42.603 [info] <0.296.0> Enabling free disk space monitoring
rabbit_1           | 2019-06-29 05:14:42.605 [info] <0.296.0> Disk free limit set to 3344MB
rabbit_1           | 2019-06-29 05:14:42.608 [info] <0.298.0> Limiting to approx 65436 file handles (58890 sockets)
rabbit_1           | 2019-06-29 05:14:42.608 [info] <0.299.0> FHC read buffering:  OFF
rabbit_1           | 2019-06-29 05:14:42.609 [info] <0.299.0> FHC write buffering: ON
rabbit_1           | 2019-06-29 05:14:42.612 [info] <0.275.0> Waiting for Mnesia tables for 30000 ms, 9 retries left
rabbit_1           | 2019-06-29 05:14:42.674 [info] <0.275.0> Waiting for Mnesia tables for 30000 ms, 9 retries left
rabbit_1           | 2019-06-29 05:14:42.674 [info] <0.275.0> Peer discovery backend rabbit_peer_discovery_classic_config does not support registration, skipping registration.
rabbit_1           | 2019-06-29 05:14:42.675 [info] <0.275.0> Priority queues enabled, real BQ is rabbit_variable_queue
rabbit_1           | 2019-06-29 05:14:42.682 [info] <0.331.0> Starting rabbit_node_monitor
rabbit_1           | 2019-06-29 05:14:42.726 [info] <0.275.0> Management plugin: using rates mode 'basic'
rabbit_1           | 2019-06-29 05:14:42.728 [info] <0.359.0> Making sure data directory '/opt/bitnami/rabbitmq/var/lib/rabbitmq/mnesia/rabbit@localhost/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L' for vhost '/' exists
rabbit_1           | 2019-06-29 05:14:42.734 [info] <0.359.0> Starting message stores for vhost '/'
rabbit_1           | 2019-06-29 05:14:42.734 [info] <0.363.0> Message store "628WB79CIFDYO9LJI6DKMI09L/msg_store_transient": using rabbit_msg_store_ets_index to provide index
rabbit_1           | 2019-06-29 05:14:42.737 [info] <0.359.0> Started message store of type transient for vhost '/'
rabbit_1           | 2019-06-29 05:14:42.737 [info] <0.366.0> Message store "628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent": using rabbit_msg_store_ets_index to provide index
rabbit_1           | 2019-06-29 05:14:42.740 [info] <0.359.0> Started message store of type persistent for vhost '/'
rabbit_1           | 2019-06-29 05:14:42.749 [info] <0.275.0> Setting up a table for connection tracking on this node: tracked_connection_on_node_rabbit@localhost
rabbit_1           | 2019-06-29 05:14:42.749 [info] <0.275.0> Setting up a table for per-vhost connection counting on this node: tracked_connection_per_vhost_on_node_rabbit@localhost
rabbit_1           | 2019-06-29 05:14:42.751 [info] <0.406.0> started TCP Listener on [::]:5672
rabbit_1           | 2019-06-29 05:14:42.752 [info] <0.33.0> Application rabbit started on node rabbit@localhost
rabbit_1           | 2019-06-29 05:14:42.759 [info] <0.33.0> Application rabbitmq_management_agent started on node rabbit@localhost
rabbit_1           | 2019-06-29 05:14:42.759 [info] <0.33.0> Application cowboy started on node rabbit@localhost
rabbit_1           | 2019-06-29 05:14:42.759 [info] <0.33.0> Application rabbitmq_web_dispatch started on node rabbit@localhost
rabbit_1           | 2019-06-29 05:14:42.803 [info] <0.462.0> Management plugin started. Port: 15672
rabbit_1           | 2019-06-29 05:14:42.803 [info] <0.568.0> Statistics database started.
rabbit_1           | 2019-06-29 05:14:42.804 [notice] <0.86.0> Changed loghwm of /opt/bitnami/rabbitmq/var/log/rabbitmq/rabbit@localhost.log to 50
rabbit_1           | 2019-06-29 05:14:42.806 [info] <0.33.0> Application rabbitmq_management started on node rabbit@localhost
rabbit_1           | 2019-06-29 05:14:43.101 [info] <0.5.0> Server startup complete; 3 plugins started.
rabbit_1           |  * rabbitmq_management
rabbit_1           |  * rabbitmq_web_dispatch
rabbit_1           |  * rabbitmq_management_agent
rasa-worker_1      | 2019-06-29 05:14:49 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-worker_1      | 2019-06-29 05:14:50 DEBUG    rasa.core.agent  - Unzipped model to '/tmp/tmpboqwpem5'
rasa-worker_1      | 2019-06-29 05:14:50 DEBUG    rasa.core.agent  - Found new model with fingerprint 74179b6124701653511dac217a08582a. Loading...
rasa-production_1  | 2019-06-29 05:14:51 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-production_1  | 2019-06-29 05:14:51 DEBUG    rasa.core.agent  - Unzipped model to '/tmp/tmp146dtiw4'
rasa-production_1  | 2019-06-29 05:14:51 DEBUG    rasa.core.agent  - Found new model with fingerprint 74179b6124701653511dac217a08582a. Loading...
rasa-worker_1      | 2019-06-29 05:14:51 DEBUG    rasa.core.agent  - Finished updating agent to new model.
rasa-production_1  | 2019-06-29 05:14:53 DEBUG    rasa.core.agent  - Finished updating agent to new model.
rasa-worker_1      | 2019-06-29 05:14:59 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-worker_1      | 2019-06-29 05:15:00 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-worker_1      | 2019-06-29 05:15:00 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rabbit_1           | 2019-06-29 05:14:59.017 [info] <0.589.0> accepting AMQP connection <0.589.0> (192.168.16.5:53618 -> 192.168.16.2:5672)
rabbit_1           | 2019-06-29 05:14:59.023 [info] <0.589.0> connection <0.589.0> (192.168.16.5:53618 -> 192.168.16.2:5672): user 'user' authenticated and granted access to vhost '/'
rasa-production_1  | 2019-06-29 05:15:01 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-production_1  | 2019-06-29 05:15:01 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-production_1  | 2019-06-29 05:15:01 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-worker_1      | 2019-06-29 05:15:09 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-worker_1      | 2019-06-29 05:15:09 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-worker_1      | 2019-06-29 05:15:09 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-production_1  | 2019-06-29 05:15:11 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-production_1  | 2019-06-29 05:15:11 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-production_1  | 2019-06-29 05:15:11 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-worker_1      | 2019-06-29 05:15:19 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-worker_1      | 2019-06-29 05:15:20 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-worker_1      | 2019-06-29 05:15:20 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-production_1  | 2019-06-29 05:15:21 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-production_1  | 2019-06-29 05:15:21 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-production_1  | 2019-06-29 05:15:21 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-worker_1      | 2019-06-29 05:15:29 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-worker_1      | 2019-06-29 05:15:29 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-worker_1      | 2019-06-29 05:15:29 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-production_1  | 2019-06-29 05:15:31 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-production_1  | 2019-06-29 05:15:31 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-production_1  | 2019-06-29 05:15:31 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-worker_1      | 2019-06-29 05:15:39 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-worker_1      | 2019-06-29 05:15:39 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-worker_1      | 2019-06-29 05:15:39 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-production_1  | 2019-06-29 05:15:41 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-production_1  | 2019-06-29 05:15:41 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-production_1  | 2019-06-29 05:15:41 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-worker_1      | 2019-06-29 05:15:49 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-worker_1      | 2019-06-29 05:15:49 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-worker_1      | 2019-06-29 05:15:49 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-production_1  | 2019-06-29 05:15:51 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-production_1  | 2019-06-29 05:15:51 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-production_1  | 2019-06-29 05:15:51 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-worker_1      | 2019-06-29 05:15:59 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-worker_1      | 2019-06-29 05:15:59 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-worker_1      | 2019-06-29 05:15:59 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-production_1  | 2019-06-29 05:16:01 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-production_1  | 2019-06-29 05:16:01 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-production_1  | 2019-06-29 05:16:01 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-worker_1      | 2019-06-29 05:16:09 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-worker_1      | 2019-06-29 05:16:09 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-worker_1      | 2019-06-29 05:16:09 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-production_1  | 2019-06-29 05:16:11 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-production_1  | 2019-06-29 05:16:11 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-production_1  | 2019-06-29 05:16:11 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-worker_1      | 2019-06-29 05:16:19 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-worker_1      | 2019-06-29 05:16:19 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-worker_1      | 2019-06-29 05:16:19 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-production_1  | 2019-06-29 05:16:21 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-production_1  | 2019-06-29 05:16:21 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-production_1  | 2019-06-29 05:16:21 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-worker_1      | 2019-06-29 05:16:29 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-worker_1      | 2019-06-29 05:16:29 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-worker_1      | 2019-06-29 05:16:29 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-production_1  | 2019-06-29 05:16:31 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-production_1  | 2019-06-29 05:16:31 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-production_1  | 2019-06-29 05:16:31 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-worker_1      | 2019-06-29 05:16:39 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-worker_1      | 2019-06-29 05:16:39 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-worker_1      | 2019-06-29 05:16:39 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-production_1  | 2019-06-29 05:16:41 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-production_1  | 2019-06-29 05:16:41 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-production_1  | 2019-06-29 05:16:41 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-worker_1      | 2019-06-29 05:16:49 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-worker_1      | 2019-06-29 05:16:49 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-worker_1      | 2019-06-29 05:16:49 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-production_1  | 2019-06-29 05:16:51 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-production_1  | 2019-06-29 05:16:51 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-production_1  | 2019-06-29 05:16:51 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-worker_1      | 2019-06-29 05:16:59 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-worker_1      | 2019-06-29 05:16:59 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-worker_1      | 2019-06-29 05:16:59 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-production_1  | 2019-06-29 05:17:01 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-production_1  | 2019-06-29 05:17:01 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-production_1  | 2019-06-29 05:17:01 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-worker_1      | 2019-06-29 05:17:09 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-worker_1      | 2019-06-29 05:17:09 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-worker_1      | 2019-06-29 05:17:09 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-production_1  | 2019-06-29 05:17:11 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-production_1  | 2019-06-29 05:17:11 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-production_1  | 2019-06-29 05:17:11 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-worker_1      | 2019-06-29 05:17:19 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-worker_1      | 2019-06-29 05:17:19 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-worker_1      | 2019-06-29 05:17:19 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-production_1  | 2019-06-29 05:17:21 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-production_1  | 2019-06-29 05:17:21 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a
rasa-production_1  | 2019-06-29 05:17:21 DEBUG    rasa.core.agent  - No new model found at URL http://rasa-x:5002/api/projects/default/models/tags/production
rasa-worker_1      | 2019-06-29 05:17:29 DEBUG    rasa.core.agent  - Requesting model from server http://rasa-x:5002/api/projects/default/models/tags/production...
rasa-worker_1      | 2019-06-29 05:17:29 DEBUG    rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: 74179b6124701653511dac217a08582a

mhm, but the model is found and loaded. When the bot does not respond, what exactly is the behavior? Do see any failing network requests when you open up the developer tools when you send messages to the bot?

Hi, thank you, I think I know the reason, I am now having another problem with upload my stories file, thatā€™s another topic, thank you very much for your help

What was the reason? :slight_smile:

I didnā€™t quiet understand how the rasa works in docker, I wrongly thought that there should be all the config, domain, nlu, stories files in the etc/rasa folder, in fact, rasa on docker only need models and custom actions to run the production, the bot didnā€™t react because the pika is not working, I deleted all the images and pull again then everything works, I am now trying to train model by using rasa x, it seems I need to upload all these files by using API

if you upload a trained model, it also automatically pulls training data from the model!

Oh, thatā€™s awesome! I am going to try it, thank you!

Hi, again, I am now having another problem when tried to connect rasa docker service with slack channel, I followed the rasa doc, started the rasa x, and config the API in slack as well as credentials.yml, my question is: what is the Request URL? I noticed there are rasa production and rasa worker use the same port, 5005, I filled with this port and it verified successfully, but thereā€™s no reply from my server when I talk to the bot (the server didnā€™t receive any message), do you have any idea?

Do you mean the request url for Slack? You can run it against the http://<public-url>/core. Or you map the port of rasa-production to another port, so that you can do http://<public-url>:<mapped_port>

@Tobias_Wochinger I am really stuck on this. so if my domain is example.com , what will be the request url for rest webhooks will be. I didnā€™t changed the default docker-compose.yml

I tried these but none of these are working

http://example.com/core/webhooks/rest/webhook http://example.com/webhooks/rest/webhook http://example.com:5005/core/webhooks/rest/webhook http://example.com:5005/webhooks/rest/webhook

Please help

3 Likes

Hi @stacybot123,

should be this one http://example.com/core/webhooks/rest/webhook . Do you get any warnings / errors in the nginx / rasa-production when trying the request? And just to be sure, you are running the deployed (docker) Rasa X CE?

Hi,are you a chinese,can I get your email number or wechat ?I am learning the rasa and making a project based on it .xi wang ke yi hu xiang jiao liu yi xia :rofl:

@rookiebird Iā€™m a Chinese, whatā€™s your wechat?