Hi,
I am facing an issue with socket io in rasa 3. I have gone through previous topic as well on the same issue. but after installing the packages as mentioned in the previous topic, sanic version said to be incompatible and even to server is not started.
packages and versions:
rasa 3.1.0
rasa-sdk 3.1.1
python-engineio 4.3.0
python-Levenshtein 0.12.2
python-socketio 5.5.0
sanic 21.12.1
Sanic-Cors 2.0.1
sanic-jwt 1.7.0
sanic-plugin-toolkit 1.2.0
Sanic-Plugins-Framework 0.8.2
sanic-routing 0.7.2
Operation System: windows 10
error:
Please help me with the compatible package issue. If there is any way or documentation for rasa 3.1.0 for compatible versions of packages like python-socket.io and engine.io.
Any help is appreciated.
Thanks in advance.
Error message:
2022-07-04 23:44:29 INFO rasa.core.processor - Loading model models\kpibot_selflearning_main_menu.tar.gz…
2022-07-04 23:44:33 INFO rasa.nlu.utils.spacy_utils - Trying to load SpaCy model with name ‘en_core_web_md’.
2022-07-04 23:44:40 INFO rasa.nlu.utils.spacy_utils - Trying to load SpaCy model with name ‘en_core_web_md’.
[2022-07-04 23:51:27 +0200] [29524] [ERROR] Exception occurred while handling uri: ‘ws://localhost:5005/socket.io/?EIO=4&transport=websocket&sid=EhKB87Fg6JR9J8bEAAAC’
Traceback (most recent call last):
File “handle_request”, line 125, in handle_request
class Sanic(BaseSanic, metaclass=TouchUpMeta):
sanic.exceptions.ServerError: Invalid response type None (need HTTPResponse)
Version:
Rasa Version : 3.1.0
Minimum Compatible Version: 3.0.0
Rasa SDK Version : 3.1.1
Rasa X Version : None
Python Version : 3.7.3
@wyq I have posted the solution in some of my post related to above error, can you please find that post? I not remember the thread link. Hint it have chatbot screenshot and all versions mentioned for sanic as it’s related to Sanic version. Thanks
Hi Nik thanks for your time, I have have gone through all the previous solutions you provided in some threads. I had checked with the sanic and python socket io version suggested. but still facing problem.