RasaHQ / rasa

💬 Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants
https://rasa.com/docs/rasa/
Apache License 2.0
18.91k stars 4.63k forks source link

socketio channel in Rasa 3.0 is not working #10411

Closed medicareamaze closed 2 years ago

medicareamaze commented 2 years ago

Rasa Open Source version

rasa -3.0.0

Rasa SDK version

3.0.0

Rasa X version

No response

Python version

3.8

What operating system are you using?

Linux, OSX

What happened?

Installed a fresh Rasa 3.0 and tried to connect from my website using socketio endpoint. Rasa 3.0.0 throws exception

Command / Request

Trigger a Get request to http://localhost:5005/socket.io/?EIO=4&transport=polling&t=NrceI9f

Relevant log output

`Exception occurred while handling uri: ‘http://localhost:5005/socket.io/?EIO=4&transport=polling&t=NrceI9f’ Traceback (most recent call last): File “handle_request”, line 83, in handle_request class Sanic(BaseSanic, metaclass=TouchUpMeta): File “/opt/anaconda3/lib/python3.8/site-packages/engineio/asyncio_server.py”, line 317, in handle_request return await self._make_response(r, environ) File “/opt/anaconda3/lib/python3.8/site-packages/engineio/asyncio_server.py”, line 385, in _make_response response = make_response( File “/opt/anaconda3/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`
sara-tagger commented 2 years ago

Thanks for raising this issue, @yennycheung will get back to you about it soon✨

Please also check out the docs and the forum in case your issue was raised there too 🤗
m-vdb commented 2 years ago

This is a duplicate of https://github.com/RasaHQ/rasa/issues/10412 and has been fixed in 3.0.9