Running socket client throws errors during Interactive Learning
See original GitHub issueThe socket client points to the rasa server, and if you don’t change the defaults, rasa interactive
runs on the same port as rasa run
– therefore, socket is listening for events during rasa interactive
. However, since the socket endpoint is not available during this, it leads to an error:
<span class="error">[2019-08-01 11:45:37 +0200]</span> <span class="error">[23200]</span> <span class="error">[ERROR]</span> 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 <span class="error">[2019-08-01 11:45:37 +0200]</span> <span class="error">[23200]</span> <span class="error">[ERROR]</span> 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 <span class="error">[2019-08-01 11:45:37 +0200]</span> <span class="error">[23200]</span> <span class="error">[ERROR]</span> 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.
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (8 by maintainers)
Top GitHub Comments
HI @MadPr0grammer! Sorry for missing your message. You absolutely can, i’ll assign you to the issue.
➤ 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.