Bot is working using the code given in the docs (SocketIOinput) and the Mrbot is also working fine. But the bot neither receive the user input nor reply. Please help me as I need to show this for UAT. The webchat parameters are:
input_channel = SocketIOInput(
# event name for messages sent from the user
user_message_evt=“user_uttered”,
# event name for messages sent from the bot
bot_message_evt=“bot_uttered”,
# socket.io namespace to use for the messages
namespace=None
)
# set serve_forever=False if you want to keep the server running
s = agent.handle_channels([input_channel], 5004, serve_forever=True)
from rasa_core.channels.socketio import SocketIOInput
from rasa_core.agent import Agent
from rasa_core.interpreter import RasaNLUInterpreter
from rasa_core.utils import EndpointConfig
@Seenivasan Did you get websocket to work via upgraded WS protocol, or is it continous long polling? I.e. endless loop of GET/POSTs? We got long polling to work, but it seems the server can’t negotiate the upgrade to ws protocol and stays in long polling?