Bug: SocketIO not confirming session_request in v2.3.x

Hi,

There seems to be a bug( or undocumented change) in rasa v2.3.0 and v2.3.1. When trying to connect to a rasa project via sockets there is no session_confirmation send back from the server to the client.

What did I do:

  1. New python environment with python 3.7.8 and pip 21.0.1
  2. pip install rasa
  3. rasa init
  4. changed credentials.yml to allow socketio with “user_uttered” and “bot_uttered” set as events
  5. rasa run --cors “*” --debug
  6. used the webchat/botfront code snippet to test (GitHub - botfront/rasa-webchat: A feature-rich chat widget for Rasa and Botfront)

The webchat-widget is able to create a socket connection to rasa, but rasa does not respond to the “session_request” event.

I tested different rasa versions. Rasa 2.3.1 and 2.3.0 seem to have the problem. Every version before that works just as expected. (<=2.2.10).

For now, I will be using v2.2.10 until this is fixed, or did I miss any documented changes?

Ben

One thing we noticed is that the version of the python-socketio library changed: rasa/poetry.lock at 2.3.0 · RasaHQ/rasa · GitHub

Could you open an issue on Github? We’ll make sure to look into it

Sure, Link to GitHub issue.