Rasa X UI not showing socket.io conversations

Hi everyone,

I’m using rasa-x with docker compose.(Docker Compose Installation)

Versions:

RASA_X_VERSION=0.39.2
RASA_VERSION=2.5.1
RASA_X_DEMO_VERSION=0.38.0

And enabled socketio in credentials.yml

socketio:
  user_message_evt: user_uttered
  bot_message_evt: bot_uttered
  session_persistence: true

I’m using chatbot in web application like belowing;

<div id="webchat">
    <script src="https://cdn.jsdelivr.net/npm/rasa-webchat@1.0.1/lib/index.js"></script>
    <script>
        window.WebChat.default({
            selector: "#webchat",
            initPayload: "/e_hello",
            interval: 1000,
            customData: { "sender": "unique_user_id" },
            socketUrl: "http://xxx:5005",
            title: "Chatbot",
            subtitle: "Chatbot",
            profileAvatar: "https://rasa.com/assets/img/demo/rasa_avatar.png",
            showCloseButton: true,
            fullScreenMode: false,
            hideWhenNotConnected: false,
        })
    </script>
</div>

Component is working, write response to me,etc. But when i checked conversations at rasa x ui, it’s not showing, always shows loading icon.

What went wrong, how can i fix the problem please help me? Thanks.

1 Like