Socket Channel not working in rasa 3.0.0
See original GitHub issueRasa Open Source version
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
What happened?
Using the rasa chat widget to talk to the bot throws the following exception in rasa 3.0.0:
[2021-11-28 13:09:58 +0000] [4700] [ERROR] Exception occurred while handling uri: 'http://localhost:5005/socket.io/?EIO=4&transport=polling&t=Nrcgg60'
Traceback (most recent call last):
File "handle_request", line 83, in handle_request
class Sanic(BaseSanic, metaclass=TouchUpMeta):
File "/opt/venv/lib/python3.8/site-packages/engineio/asyncio_server.py", line 317, in handle_request
return await self._make_response(r, environ)
File "/opt/venv/lib/python3.8/site-packages/engineio/asyncio_server.py", line 385, in _make_response
response = make_response(
File "/opt/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
This did not happen in rasa 2.8.15.
This repo contains a reproducible example.
Command / Request
No response
Relevant log output
No response
Definition of done
- Determine if the cause is in Rasa Open Source 3.0
- If the problem is in
Rasa Chat Widget
, update this issue and move toFabric
backlog - Try to add test for this?
Issue Analytics
- State:
- Created 2 years ago
- Comments:26 (8 by maintainers)
Top Results From Across the Web
Socket Channel not working in rasa 3.1.0
It's just a matter of the sanic version meeting the compatibilities and all will be sorted. Good Luck! ... I'm facing the same...
Read more >Not able to connect to rasa custom action via slack bolt socket ...
Hi I am facing error when sending the message from slack to rasa via slack bolt. I am using socket mode so using...
Read more >THE RASA MASTERCLASS HANDBOOK - HubSpot
Connecting with messaging channels and deploying the assistant ... Test the newly trained model by running the Rasa CLI command, rasa shell nlu...
Read more >Create your chatbot using Rasa and deploy it on AWS - Medium
You can do that by running rasa init command in the terminal. ... You must enable the socket.io credentials in the credentials.yml file...
Read more >rasa Changelog - pyup.io
[10412](https://github.com/rasahq/rasa/issues/10412): Fix Socket IO connection ... Note that the parameter `template` will be deprecated in Rasa SDK 3.0.0.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
python-engineio
has released a new version with the fix: 4.3.1 🎉I am facing similar error with rasa 3.0.1 I just added https://cdn.jsdelivr.net/npm/rasa-webchat/lib/index.js on my index.html
I tried installing @nimitkh version using poetry but I got a version error with sanic==21.6.0 and sanic-routing==0.7.0