I’m using rasa webchat (GitHub - botfront/rasa-webchat: A feature-rich chat widget for Rasa and Botfront) for the frontend of my chatbot. Currently, I’m using rasa 2.5.0, because I remember having trouble with higher versions of rasa when using rasa webchat. Is anyone else familiar with it, and do you know if it works with the latest rasa version? If anything, what is the most recent rasa version that you could work with?
@Beyza can share on which rasa open-source version you are facing the rasa-webchat/botfront issue, I also faced some Sanic and SocketIO issues on the latest version of ROS i.e 3.0.2 but with some version update, it is working fine. My machine is Mac Book Pro and other Windows machines users also successfully overcame the issue.
Thanks for your reply! When I had issues, I was using rasa 2.8.x, but I don’t recall the exact errors I had (I could not get it to work anymore at all). I only remember that when I downgraded the rasa version, it worked fine. With my current version (2.5.0), I actually recently faced both Sanic and SocketIO errors as well, but I managed to fix it with version changes. I’m working on a Windows machine.
But since it works on 3.0.2 for you, maybe I could try a higher rasa version again in a different environment to see if it works for me as well. I just had to make sure that it works at all before putting in the effort.
@Beyza This repo GitHub - botfront/rasa-webchat: A feature-rich chat widget for Rasa and Botfront and code is working on 2.x any version without an issue but when it comes to 3.x it have some sanic version issue. I have 3 machines Mac, Windows,s and Ubuntu, and it’s working well. If you have any further issues please do let me know, else can I request to close this thread as a solution. Good Luck!
I get errors for sanic as well, and had the hope that you could maybe tell me how you solved this issue… I use Rasa 3.1 and use the botfront webchat via the html script with the version 1.0.1. This is the error traceback I get:
[2022-08-19 03:41:14 +0200] [31038] [ERROR] Exception occurred while handling uri: 'ws://localhost:5005/socket.io/?EIO=4&transport=websocket&sid=L6wwcOrO4wh9TswaAAAA'
Traceback (most recent call last):
File "handle_request", line 124, in handle_request
sanic.exceptions.ServerError: Invalid response type None (need HTTPResponse)
[2022-08-19 03:58:27 +0200] [31038] [ERROR] Exception occurred while handling uri: 'ws://localhost:5005/socket.io/?EIO=4&transport=websocket&sid=EZtJtJLaxnkSptCBAAAC'
Traceback (most recent call last):
File "handle_request", line 124, in handle_request
sanic.exceptions.ServerError: Invalid response type None (need HTTPResponse)