Hi,
I’m trying to use Rasa X on an AWS EC2 instance. I’ve used the docker-compose install script described here: Docker Compose Installation
When I run sudo docker ps -a
, this is the output:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
38068edc0528 rasa/nginx:0.34.0 "/opt/bitnami/entryp…" 5 minutes ago Up 5 minutes 0.0.0.0:80->8080/tcp, 0.0.0.0:443->8443/tcp rasa_nginx_1
239b4462f3ef rasa/rasa-x-demo:0.34.0 "./entrypoint.sh run…" 5 minutes ago Up 5 minutes 5055/tcp rasa_app_1
c9c9eb8e6285 rasa/rasa:2.1.2-full "rasa x --no-prompt …" 5 minutes ago Up 5 minutes 5005/tcp rasa_rasa-worker_1
147e6260dcb0 rasa/rasa:2.1.2-full "rasa x --no-prompt …" 5 minutes ago Up 5 minutes 5005/tcp rasa_rasa-production_1
372f883c7395 rasa/rasa-x:0.34.0 "python -m rasax.com…" 5 minutes ago Up 5 minutes (healthy) 8000/tcp rasa_db-migration_1
5edd78f15a38 rasa/rasa-x:0.34.0 "sh -c 'user_id=$(id…" 5 minutes ago Up 5 minutes 5002/tcp rasa_rasa-x_1
cdb60b1b1868 bitnami/rabbitmq:3.8.9 "/opt/bitnami/script…" 5 minutes ago Up 5 minutes 4369/tcp, 5671-5672/tcp, 15671-15672/tcp, 25672/tcp rasa_rabbit_1
e0b93f94c1c9 rasa/duckling:0.1.6.4 "duckling-example-ex…" 5 minutes ago Up 5 minutes 8000/tcp rasa_duckling_1
b04a990e7072 bitnami/redis:6.0.8 "/opt/bitnami/script…" 5 minutes ago Up 5 minutes 6379/tcp rasa_redis_1
b71ec5923e15 bitnami/postgresql:11.9.0 "/opt/bitnami/script…" 5 minutes ago Up 5 minutes 5432/tcp rasa_db_1
and
ubuntu@sss:/etc/rasa$ sudo docker-compose logs nginx
Attaching to rasa_nginx_1
nginx_1 | nginx 18:00:52.64
nginx_1 | nginx 18:00:52.64 Welcome to the Bitnami nginx container
nginx_1 | nginx 18:00:52.64 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-nginx
nginx_1 | nginx 18:00:52.64 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-nginx/issues
nginx_1 | nginx 18:00:52.64
nginx_1 |
nginx_1 | SSL encryption is not used since no certificates were provided.
nginx_1 | >> exec docker CMD
nginx_1 | /opt/bitnami/scripts/nginx/run.sh
nginx_1 | nginx 18:00:52.66 INFO ==> ** Starting NGINX **
nginx_1 | 2021/01/21 18:00:52 [notice] 1#1: using the "epoll" event method
nginx_1 | 2021/01/21 18:00:52 [notice] 1#1: nginx/1.19.5
nginx_1 | 2021/01/21 18:00:52 [notice] 1#1: built by gcc 8.3.0 (Debian 8.3.0-6)
nginx_1 | 2021/01/21 18:00:52 [notice] 1#1: OS: Linux 4.4.0-1075-aws
nginx_1 | 2021/01/21 18:00:52 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
nginx_1 | 2021/01/21 18:00:52 [notice] 1#1: start worker processes
nginx_1 | 2021/01/21 18:00:52 [notice] 1#1: start worker process 18
nginx_1 | 2021/01/21 18:00:52 [notice] 1#1: start worker process 19
nginx_1 | 2021/01/21 18:00:52 [notice] 1#1: start worker process 20
nginx_1 | 2021/01/21 18:00:52 [notice] 1#1: start worker process 21
nginx_1 | 2021/01/21 18:00:52 [notice] 1#1: start worker process 22
nginx_1 | 2021/01/21 18:00:52 [notice] 1#1: start worker process 23
nginx_1 | 2021/01/21 18:00:52 [notice] 1#1: start worker process 24
nginx_1 | 2021/01/21 18:00:52 [notice] 1#1: start worker process 25
works fine.
But when I try to connect to the Rasa-x set up page (from my local machine), I am getting
404 page not found
Also, when I do wget localhost:80
on the remote machine, I’m still getting page not found
.
Any suggestions? It seems although it’s running, it’s not being exposed through port 80?