I followed this guide : Your Own Website for implementing the websockets however every time I try to use a websocket (widget for example) I get an error:
The WebSocket transport is not available, you must install a WebSocket server that is compatible with your async mode to enable it. See the documentation for details. (further occurrences of this error will be logged with level INFO)
[2021-11-27 20:51:35 +0200] [73467] [ERROR] Exception occurred while handling uri: ‘http://127.0.0.1:5005/socket.io/?EIO=4&transport=polling&t=NrYlGcK’
Traceback (most recent call last):
File “handle_request”, line 83, in handle_request
class Sanic(BaseSanic, metaclass=TouchUpMeta):
File “/home/ofek/Work/Voice-helper/Rasa/venv/lib/python3.8/site-packages/engineio/asyncio_server.py”, line 317, in handle_request
return await self._make_response(r, environ)
File “/home/ofek/Work/Voice-helper/Rasa/venv/lib/python3.8/site-packages/engineio/asyncio_server.py”, line 385, in _make_response
response = make_response(
File “/home/ofek/Work/Voice-helper/Rasa/venv/lib/python3.8/site-packages/engineio/async_drivers/sanic.py”, line 102, in make_response
return HTTPResponse(body=payload, content_type=content_type,
TypeError: ‘NoneType’ object is not callable
I am using http not https (I accidentally copied the wrong url) and localhost. I followed the video however I get the same error.
It seems that it doesnt matter what frontend I use, the problem persists.
Rasa Version : 3.0.0
Minimum Compatible Version: 3.0.0
Rasa SDK Version : 3.0.0
Rasa X Version : None
Python Version : 3.8.10
Operating System : Linux-5.11.0-40-generic-x86_64-with-glibc2.29
Python Path : /home/ofek/Work/Voice-helper/Rasa/venv/bin/python3
@Vast Even I will suggest, please create new environment and try use rasa and rasa-sdk 2.8.1 respectively and check its working on the older version of rasa, if you got some time? Don’t disturb the current environment.
@Vast right as expected, can you try downgrade to python-engineio to 4.2.1 and python-socketio to 5.4.0 as rasa3 is just launched so some issue can arise with packages. If the above rasa version 2.8.1 is working, don’t stop your learning please.