Rasa web chat not working showing waiting for server

I am trying to use rasa web chat for my bot deployed over gcp VM instance. The bot working fine when I am accessing through direct IP share in rasa x but when incorporating rasa web chat into my website bot is not replying only waiting for error message is showing.

I have used docker compose to deploy my rasa x server on gcp.

I am also using latest version of rasa web chat i.e., 0.11.11 web chat integration code is shown below


    selector: "#webchat",
    initPayload: "/get_started",
    customData: {"language": "en"}, // arbitrary custom data. Stay minimal as this will be added to the socket
    socketUrl: "",
    socketPath: "/socket.io/",
    profileAvatar: "syra.png",
    openLauncherImage: "syra.png",
    title: "Syra",
    subtitle: "Digital Assistant for Tax Advice",
    params: {"storage": "session"} // can be set to "local"  or "session". details in storage section.

whereas in my credentials.yml I have added following code for socket.io

socketio: user_message_evt: user_uttered bot_message_evt: bot_uttered session_persistence: true/false

I am using rasa 2.0

Could anyone please tell me where I am doing wrong ?

i have the same error

@sid321axn how did you solve this. I have the same problem.