-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Socket Channel not working in rasa 3.0.0 #10412
Comments
It looks like Rasa 3.0 is using |
@gausie Do you know what |
I have experimented this on rasa/webchat/ and it's working fine on rasa 3.0 [MacOS] with:
|
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 |
I am also facing similar error with Rasa v3.0.1. |
This issue happens because of this: miguelgrinberg/python-engineio#251 |
I made some investigation and here are the results: We can speed things up a bit by fixing this issue: miguelgrinberg/python-engineio#251 |
[update] on version rasa==3.0.2 and rasa-sdk==3.0.2 with the following versions, it working with rasa/webchat. [MacOS]
|
@nimitkh which python version are you using? |
@Italosayan It is 3.7.7 |
It's now fixed in the |
|
@amn41 may have discovered a different issue with
Using |
I am facing an exception while trying to start a conversation with the bot using rasa-webchat. Exception:
Few things to note:
|
Hi, [ERROR] Exception occurred while handling uri: 'ws://localhost:5005/socket.io/?EIO=4&transport=websocket&sid=-YcweomlAWd89WMIAAAA' During handling of the above exception, another exception occurred: Traceback (most recent call last): |
@donodje can we close this issue? |
Facing the same issue with rasa 3.0.8 (sanic==21.9.3) |
This fix is not released yet and will be released in 3.1 |
I'm facing an issue in webchat even when I tried with unreleased rasa having the fix for this issue. Versions:
Exception:
Also, I am facing an error when I killed the rasa core using Error:
Both of the errors didn't occur in the older version of rasa and rasa-sdk. |
If you look at the PR it was merged into |
@rgstephens I replicated the same process by switching to the |
You can try the docker image I built - stephens/rasa:3.0.8-full-10412. I've had this deployed for a couple of weeks and am using sockets with the botfront rasa chat widget. |
The socket issue still persists even with the latest Rasa version (3.2.4). I'm using rasa-webchat as the chat interface. The issue can be reproduced by:
Version Reference:
|
to try and overcome the
so i forked this restful chatbot interface so i don't need to use socket.io https://github.com/ltfschoen/Chatbot-Widget and that worked |
@ltfschoen I have several bots working with the botfront widget and 3.x here. They're all on various 3.x releases. |
i figured out what i was doing wrong. first thing i hadn't done was in credentials.yml i had i updated the index.html file so it had but when i create EC2 Security > Inbound rule to allow port forwarding on 5000 and 5005 on TCP 0.0.0.0/0 it still didn't work, but then i noticed in the terminal window of the Rasa server where i'd run so given that i knew that
but the error was telling me that the client was using an unsupported version, which was EngineIO v3, since the query string parameters from the client were in index.html i was using |
I see something similar with Rasa 3.4.0 from the official docker image (rasa/rasa:3.4.0-full) and recent versions of FF and Chrome using the web widget Rasa recommends in the docs, but it appears to only happen on refresh. Start a chat, works fine, hit refresh, get this error server side:
Note that I do not get the My credentials.yml settings for socketio are as follows:
Again, the initial chat works fine, this happens when refreshing the page. Perhaps it's a new/different bug? I've seen some people recommend Botfront but that project appears to be dead. |
Hey, did you find a solution for this ?? |
Rasa 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:
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
Rasa Chat Widget
, update this issue and move toFabric
backlogThe text was updated successfully, but these errors were encountered: