-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Running socket client throws errors during Interactive Learning #4487
Comments
@erohmensing you can disconnect the socket client during the |
@soundaraj I know you can, but it would be nice if it didn't raise the error since it shouldn't matter whether or not the client is connected while you're using interactive mode via the CLI |
This also happens if you are using a different connector, e.g. If you normally run with socket and then are testing in |
I have the same exception " sanic.exceptions.NotFound: Requested URL /socket.io/ not found " . Do we have any workaround for this also when can we expect this issue to be closed. |
@optimiztik the exception does not cause any issues in the bot, it is only because your websocket it still open. The workaround, as @soundaraj said, is to disconnect the socket (close the page with the bot widget) while in interactive mode. The issue is open as a help wanted issue, which means it is not top priority for us to work on (seeing as it is annoying, but doesn't cause buggy behavior) and will be closed if someone decides to take it on and surpress the warning. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. Please create a new issue if you need more help. |
Still valid, IMO |
Hi @erohmensing ! I would like to work on this. May I please take this up? |
HI @MadPr0grammer! Sorry for missing your message. You absolutely can, i'll assign you to the issue. |
@erohmensing @tmbo can I take a look at this issue since it’s probably not actively worked on? |
Totally @UTkzhang. You're right, I haven't seen any PRs around it so should be safe to take up! |
@shadow-blade-X Are you still working on this? |
Hello.. Im facing the same issue. I have this deployed using a docker. Can someone please tell me how can handle this error? |
Hi, is this issue still worth resolving? |
➤ Maxime Verger commented: 💡 Heads up! We're moving issues to Jira: https://rasa-open-source.atlassian.net/browse/OSS. From now on, this Jira board is the place where you can browse (without an account) and create issues (you'll need a free Jira account for that). This GitHub issue has already been migrated to Jira and will be closed on January 9th, 2023. Do not forget to subscribe to the corresponding Jira issue! ➡️ More information in the forum: https://forum.rasa.com/t/migration-of-rasa-oss-issues-to-jira/56569. |
The socket client points to the rasa server, and if you don't change the defaults,
rasa interactive
runs on the same port asrasa run
– therefore, socket is listening for events duringrasa interactive
. However, since the socket endpoint is not available during this, it leads to an error:[2019-08-01 11:45:37 +0200] [23200] [ERROR] Exception occurred while handling uri: 'http://localhost:5005/socket.io/?EIO=3&transport=polling&t=MnCaWoQ'
Traceback (most recent call last):
File "c:\users\appdata\local\continuum\anaconda3\lib\site-packages\sanic\app.py", line 893, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "c:\users\appdata\local\continuum\anaconda3\lib\site-packages\sanic\router.py", line 407, in get
return self._get(request.path, request.method, "")
File "c:\users\appdata\local\continuum\anaconda3\lib\site-packages\sanic\router.py", line 469, in _get
raise NotFound("Requested URL {} not found".format(url))
sanic.exceptions.NotFound: Requested URL /socket.io/ not found
[2019-08-01 11:45:37 +0200] [23200] [ERROR] Exception occurred while handling uri: 'http://localhost:5005/socket.io/?EIO=3&transport=polling&t=MnCaXHh'
Traceback (most recent call last):
File "c:\users\appdata\local\continuum\anaconda3\lib\site-packages\sanic\app.py", line 893, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "c:\users\appdata\local\continuum\anaconda3\lib\site-packages\sanic\router.py", line 407, in get
return self._get(request.path, request.method, "")
File "c:\users\appdata\local\continuum\anaconda3\lib\site-packages\sanic\router.py", line 469, in _get
raise NotFound("Requested URL {} not found".format(url))
sanic.exceptions.NotFound: Requested URL /socket.io/ not found
[2019-08-01 11:45:37 +0200] [23200] [ERROR] Exception occurred while handling uri: 'http://localhost:5005/socket.io/?EIO=3&transport=polling&t=MnCaXHi'
If we are in interactive mode, we should probably consume this exception since it's not relevant.
The text was updated successfully, but these errors were encountered: