rest:
# # you don't need to provide anything here - this channel doesn't
# # require any credentials
socketio:
user_message_evt: user_uttered
bot_message_evt: bot_uttered
session_persistence: true
Hi, I’m unable to connect as well in my index.html to the websocket. The bot in my html isn’t responding. I’ve used Rasa X with helm chart deployment in GKE and things are working fine in the Rasa X UI uptil testing of the custom action. Then I added the socket.io part in my values.yml and the bot started to be non-responsive when I say anything in the ‘Talk to your bot’ section. I have also pasted my Rasa X loadbalanced external IP in my index.html code. @nik202 Please help me out on this. Rasa X - 1.0.1, rasa os - 2.8.15, rasa-sdk - 2.8.2
This is an html page on my local machine where I have defined the url field with my Rasa X loadbalanced external IP address This IP was obtained after deploying rasa x using helm chart as per the Rasa masterclass episode 12 on Youtube in my GKE cluster. I’m successfully able to chat with my bot with a custom action in Rasa X UI. But, I want to talk with it once I open my html page in a browser. The html file, once opened in a browser, shows the chat-widget but I get no response from the bot once I type anything in it. I added the socket.io lines in my values.yml but it doesn’t work.
This is a part of my values.yml file.
@nik202 All I want to know here is that we require only two changes ideally to be made for webchat to work here, right? They should be-
Write the lines shown in this screenshot in values.yml and run helm upgrade command to deploy.
In the frontend html code, mention the url of rasa x as shown in the previous screenshot.
This should work, right? Or is there something else I need to add somewhere?
But as of this post, this person has entered his/her rasa x url in the frontend code and mentioned socket.io parameters in values.yml, that’s it. Just making sure that RasaX version has to be 1.0.1 solved the issue for him/her. So, it should even solve mine but it doen’t.