Rasa X conversations empty and bot not responding in "Talk to your bot"

Hello,

i have set up Rasa X with the Docker Compose installation method on my Ubuntu 20.04 Server. I also tried the manual installation with Docker Compose which resulted in the same problems/errors. When i try to test my bot in the “Talk to your bot” section, i don’t receive any answer from my bot. When i check the requests send to my server, i can see the proper answer being returned but just not displayed. Furthermore in the “Conversations”-section are no conversations displayed. I’ve looked at similiar posts with the same errors others posted, but couldn’t find a solution for me.

Here are the logs for rasa_rasa-worker_1:

2020-11-17 09:48:31 ERROR pika.adapters.utils.io_services_utils - Socket failed to connect: <socket.socket fd=21, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=(‘192.168.224.8’, 46676)>; error=111 (Connection refused) 2020-11-17 09:48:31 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.224.4’, 5672)) 2020-11-17 09:48:31 ERROR pika.adapters.utils.connection_workflow - AMQPConnector - reporting failure: AMQPConnectorSocketConnectError: ConnectionRefusedError(111, ‘Connection refused’) 2020-11-17 09:48:36 ERROR pika.connection - Connection closed while authenticating indicating a probable authentication error 2020-11-17 09:48:36 WARNING rasa.core.brokers.pika - Connecting to ‘rabbit’ failed with error ‘ConnectionClosedByBroker: (403) ‘ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.’’. Trying again. 2020-11-17 09:48:36 ERROR pika.adapters.utils.connection_workflow - AMQPConnector - reporting failure: AMQPConnectorAMQPHandshakeError: ProbableAuthenticationError: Client was disconnected at a connection stage indicating a probable authentication error: (“ConnectionClosedByBroker: (403) ‘ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.’”,) 2020-11-17 09:48:36 ERROR pika.adapters.utils.connection_workflow - AMQPConnectionWorkflow - reporting failure: AMQPConnectionWorkflowFailed: 2 exceptions in all; last exception - AMQPConnectorAMQPHandshakeError: ProbableAuthenticationError: Client was disconnected at a connection stage indicating a probable authentication error: (“ConnectionClosedByBroker: (403) ‘ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.’”,); first exception - AMQPConnectorSocketConnectError: ConnectionRefusedError(111, ‘Connection refused’) 2020-11-17 09:48:36 ERROR pika.adapters.base_connection - Full-stack connection workflow failed: AMQPConnectionWorkflowFailed: 2 exceptions in all; last exception - AMQPConnectorAMQPHandshakeError: ProbableAuthenticationError: Client was disconnected at a connection stage indicating a probable authentication error: (“ConnectionClosedByBroker: (403) ‘ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.’”,); first exception - AMQPConnectorSocketConnectError: ConnectionRefusedError(111, ‘Connection refused’) 2020-11-17 09:48:36 ERROR pika.adapters.base_connection - Self-initiated stack bring-up failed: AMQPConnectionWorkflowFailed: 2 exceptions in all; last exception - AMQPConnectorAMQPHandshakeError: ProbableAuthenticationError: Client was disconnected at a connection stage indicating a probable authentication error: (“ConnectionClosedByBroker: (403) ‘ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.’”,); first exception - AMQPConnectorSocketConnectError: ConnectionRefusedError(111, ‘Connection refused’)

And the logs for rasa_rasa-production_1:

2020-11-17 09:48:31 ERROR pika.adapters.utils.io_services_utils - Socket failed to connect: <socket.socket fd=21, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=(‘192.168.224.9’, 43006)>; error=111 (Connection refused) 2020-11-17 09:48:31 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.224.4’, 5672)) 2020-11-17 09:48:31 ERROR pika.adapters.utils.connection_workflow - AMQPConnector - reporting failure: AMQPConnectorSocketConnectError: ConnectionRefusedError(111, ‘Connection refused’) 2020-11-17 09:48:36 ERROR pika.connection - Connection closed while authenticating indicating a probable authentication error 2020-11-17 09:48:36 WARNING rasa.core.brokers.pika - Connecting to ‘rabbit’ failed with error ‘ConnectionClosedByBroker: (403) ‘ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.’’. Trying again. 2020-11-17 09:48:36 ERROR pika.adapters.utils.connection_workflow - AMQPConnector - reporting failure: AMQPConnectorAMQPHandshakeError: ProbableAuthenticationError: Client was disconnected at a connection stage indicating a probable authentication error: (“ConnectionClosedByBroker: (403) ‘ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.’”,) 2020-11-17 09:48:36 ERROR pika.adapters.utils.connection_workflow - AMQPConnectionWorkflow - reporting failure: AMQPConnectionWorkflowFailed: 2 exceptions in all; last exception - AMQPConnectorAMQPHandshakeError: ProbableAuthenticationError: Client was disconnected at a connection stage indicating a probable authentication error: (“ConnectionClosedByBroker: (403) ‘ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.’”,); first exception - AMQPConnectorSocketConnectError: ConnectionRefusedError(111, ‘Connection refused’) 2020-11-17 09:48:36 ERROR pika.adapters.base_connection - Full-stack connection workflow failed: AMQPConnectionWorkflowFailed: 2 exceptions in all; last exception - AMQPConnectorAMQPHandshakeError: ProbableAuthenticationError: Client was disconnected at a connection stage indicating a probable authentication error: (“ConnectionClosedByBroker: (403) ‘ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.’”,); first exception - AMQPConnectorSocketConnectError: ConnectionRefusedError(111, ‘Connection refused’) 2020-11-17 09:48:36 ERROR pika.adapters.base_connection - Self-initiated stack bring-up failed: AMQPConnectionWorkflowFailed: 2 exceptions in all; last exception - AMQPConnectorAMQPHandshakeError: ProbableAuthenticationError: Client was disconnected at a connection stage indicating a probable authentication error: (“ConnectionClosedByBroker: (403) ‘ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.’”,); first exception - AMQPConnectorSocketConnectError: ConnectionRefusedError(111, ‘Connection refused’)

Communication with my bot over socketio (rasa webchat) works correctly and i receive every message. I hope there is some solution to my problem. Best regards

1 Like

I too am facing the same issue. I have installed Rasa X on GCP using Docker Compose method and the bot does not respond in Rasa X. No guidance on setting the logging in Rasa X, so there is no way to know why this is happening. Installing the latest Rasa version is a nightmare on GCP with limited documentation and even poorer user experience.