rasa: Running socket client throws errors during Interactive Learning

The 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.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16 (9 by maintainers)

Most upvoted comments

HI @MadPr0grammer! Sorry for missing your message. You absolutely can, i’ll assign you to the issue.