I am using Rasa X in docker compose installation method for my deployment. I received the following log in Rasa X container
Starting Rasa X/Enterprise server (http)... 🚀
[2022-01-29 06:03:24 +0000] [9] [INFO] Goin' Fast @ http://0.0.0.0:5002
[2022-01-29 06:03:25 +0000] [24] [INFO] Starting worker [24]
[2022-01-29 06:03:25 +0000] [23] [INFO] Starting worker [23]
[2022-01-29 06:03:25 +0000] [22] [INFO] Starting worker [22]
[2022-01-29 06:03:25 +0000] [20] [INFO] Starting worker [20]
[2022-01-29 06:03:29 +0000] - (sanic.access)[INFO][172.25.0.8:54950]: GET http://rasa-x:5002/api/config?token=c3b9Q9bZ3JMTbQHxQQ93pg== 200 1557
[2022-01-29 06:03:29 +0000] - (sanic.access)[INFO][172.25.0.9:58380]: GET http://rasa-x:5002/api/config?token=c3b9Q9bZ3JMTbQHxQQ93pg== 200 1557
[2022-01-29 06:03:34 +0000] - (sanic.access)[INFO][172.25.0.8:55030]: GET http://rasa-x:5002/api/models/tags/production?token=c3b9Q9bZ3JMTbQHxQQ93pg%3D%3D 404 159
[2022-01-29 06:03:34 +0000] - (sanic.access)[INFO][172.25.0.9:58460]: GET http://rasa-x:5002/api/models/tags/production?token=c3b9Q9bZ3JMTbQHxQQ93pg%3D%3D 404 159
[2022-01-29 06:03:44 +0000] - (sanic.access)[INFO][172.25.0.9:58554]: GET http://rasa-x:5002/api/models/tags/production?token=c3b9Q9bZ3JMTbQHxQQ93pg%3D%3D 404 159
INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
INFO:rasax.community.services.event_service:Starting event service (standalone: False).
INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
ERROR:pika.adapters.blocking_connection:Unexpected connection close detected: ConnectionClosedByBroker: (320) "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
ERROR:rasax.community.services.event_service:Caught an exception while consuming events. Will retry in 5 s.
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/rasax/community/services/event_service.py", line 1762, in continuously_consume
consumer.consume()
File "/usr/local/lib/python3.8/dist-packages/rasax/community/services/event_consumers/pika_consumer.py", line 176, in consume
self.channel.start_consuming()
File "/usr/local/lib/python3.8/dist-packages/pika/adapters/blocking_connection.py", line 1865, in start_consuming
self._process_data_events(time_limit=None)
File "/usr/local/lib/python3.8/dist-packages/pika/adapters/blocking_connection.py", line 2026, in _process_data_events
self.connection.process_data_events(time_limit=time_limit)
File "/usr/local/lib/python3.8/dist-packages/pika/adapters/blocking_connection.py", line 824, in process_data_events
self._flush_output(common_terminator)
File "/usr/local/lib/python3.8/dist-packages/pika/adapters/blocking_connection.py", line 523, in _flush_output
raise self._closed_result.value.error
pika.exceptions.ConnectionClosedByBroker: (320, "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'")
[2022-01-29 06:03:44 +0000] - (sanic.access)[INFO][172.25.0.8:55124]: GET http://rasa-x:5002/api/models/tags/production?token=c3b9Q9bZ3JMTbQHxQQ93pg%3D%3D 404 159
[2022-01-29 06:03:54 +0000] - (sanic.access)[INFO][172.25.0.8:55238]: GET http://rasa-x:5002/api/models/tags/production?token=c3b9Q9bZ3JMTbQHxQQ93pg%3D%3D 404 159
When I try to talk to Rasa Open Source Server using REST method, I got [] as response. Rasa production container contains no log at all. After logging into Rasa X, I see the model is not active. I only have one model.
My questions are
- How can I make the latest model active when I start the containers ?
- Why RASA X will get 404 in the container log ?
My RASA and RASA X version are
RASA_X_VERSION="1.0.1"
RASA_VERSION="2.8.16"