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
`
<script>
WebChat.default.init({
selector: "#webchat",
initPayload: "/get_started",
customData: {"language": "en"}, // arbitrary custom data. Stay minimal as this will be added to the socket
socketUrl: "http://104.198.26.96",
socketPath: "/socket.io/",
profileAvatar: "syra.png",
openLauncherImage: "syra.png",
hideWhenNotConnected:false,
title: "Syra",
subtitle: "Digital Assistant for Tax Advice",
params: {"storage": "session"} // can be set to "local" or "session". details in storage section.
})
</script>`
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 ?