Cannot get rasa server response vi socketio

Hi guys, I’m trying to write a script to simulate client connection.

The code below can connect、send_message& disconnect properly.
I’m sure that server sended bot_uttered event, but client can’t recieve bot_uttered event from server.

Here is my code below, Thanks in advance

OS: Win 10 Rasa version: 2.8 Python version: 3.7 Rasa X, Rasa SDK: Not using

image

Hi! I think you can use default socketio.py and customize the script You can get the code here: socketio.py

This widget use socket io. You can get the code here botfront / rasa-webchat

Thanks for your reply, I’m using the socketio.py in my rasa server.
But the question is I can’t recieve bot_uttered event from server.