yiouyou
(Zack Song)
February 25, 2020, 5:43pm
1
Dear community,
After installing Rasa X, I meet the errors as below:
root@iZZ:/etc/rasa# sudo docker-compose logs|grep -i error
rasa-x_1 | ERROR:pika.adapters.utils.io_services_utils:Socket failed to connect: <socket.socket fd=18, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.21.0.6', 40784)>; error=111 (Connection refused)
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, '', ('172.21.0.4', 5672))
rasa-x_1 | ERROR:pika.adapters.utils.connection_workflow:AMQPConnector - reporting failure: AMQPConnectorSocketConnectError: ConnectionRefusedError(111, 'Connection refused')
rasa-x_1 | ERROR:pika.adapters.blocking_connection:Unexpected connection close detected: ConnectionClosedByBroker: (320) "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
rasa-x_1 | ERROR:rasax.community.services.event_service:Caught an exception while consuming events. Will retry in 5 s.
rasa-x_1 | raise self._closed_result.value.error
Any idea what’s wrong?
Thanks,
Arjaan
(Arjaan Buijk)
February 25, 2020, 9:12pm
2
Hi @yiouyou ,
Sometimes it takes a litte while before all containers are up & running.
Are all the other containers up & running ?
What do you see when you do sudo docker ps -a
?
yiouyou
(Zack Song)
February 26, 2020, 5:24am
3
sudo docker-compose ps -a
sudo docker ps -a
I’ve been waiting for quite awhile, the problem is still there.
Saylee
(Saylee Muley)
March 5, 2020, 10:15am
4
Were you able to solve this problem? Even I am facing this issue.
The bot is not responding at all.
yiouyou
(Zack Song)
March 8, 2020, 10:51am
5
Issue has been solved. Some tips:
The connection between rasa and rasa-x is based on docker’s bridge network. We should understand that first.
Within the ‘rasa_default’ network, all containers are allowed to access each other by their service’s name, such as ‘app’.
For beginners, don’t use the latest version, especially during the updating process. As I can remember, I used rasa/rasa:1.7.0-full and rasa/rasa-sdk:1.7.0 to build the custom rasa-x.
Hi @yiouyou
Do you have an exact explanation for how this was resolved? Can you paste your docker files?
I am essentials using the docker-compose.yml that came with the quick Docker install via the Rasa docs: Docker-Compose Quick Install
I am trying to resolve these errors:
rasa-production_1 | 2020-03-10 05:18:22 ERROR pika.adapters.utils.connection_workflow - TCP Connection attempt failed: ConnectionRefusedError(111, 'Connection refused'); dest=(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', (''263.13.0.5'', 5672))
rasa-production_1 | 2020-03-10 05:18:22 ERROR pika.adapters.utils.connection_workflow - AMQPConnector - reporting failure: AMQPConnectorSocketConnectError: ConnectionRefusedError(111, 'Connection refused')
rasa-worker_1 | 2020-03-10 05:18:22 ERROR pika.adapters.utils.io_services_utils - Socket failed to connect: <socket.socket fd=21, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=(''263.13.0.5'', 53876)>; error=111 (Connection refused)
rasa-worker_1 | 2020-03-10 05:18:22 ERROR pika.adapters.utils.connection_workflow - TCP Connection attempt failed: ConnectionRefusedError(111, 'Connection refused'); dest=(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('263.13.0.5', 5672))
rasa-worker_1 | 2020-03-10 05:18:22 ERROR pika.adapters.utils.connection_workflow - AMQPConnector - reporting failure: AMQPConnectorSocketConnectError: ConnectionRefusedError(111, 'Connection refused')
labeebee
(Labeeb Ibrahim)
March 19, 2020, 3:58am
7
Has anyone got an exact approach to solution to someone who is not much used to Docker, here?
yiouyou
(Zack Song)
March 23, 2020, 7:32am
8
To who might need an example of setting up Rasa X dockers, please check the following blog:
Hope it’s useful.
btw, the previous link is wrong, just correct it.