Exception when trying to run 'rasa shell' from the terminal

Hello,

I am getting the following type of exceptions when trying to run ‘rasa shell’:

rasa shell 2020-06-09 14:57:43 INFO root - Connecting to channel ‘cmdline’ which was specified by the ‘–connector’ argument. Any other channels will be ignored. To connect to all given channels, omit the ‘–connector’ argument. 2020-06-09 14:57:43 INFO root - Starting Rasa server on http://localhost:5005 Bot loaded. Type a message and press enter (use ‘/stop’ to exit): Exception occurred while handling uri: ‘http://localhost:5005/socket.io/?EIO=3&transport=polling&t=NAP8G0o’ Traceback (most recent call last): File “c:\users\titus.dude\anaconda3\envs\substormfaq\lib\site-packages\sanic\app.py”, line 940, in handle_request handler, args, kwargs, uri, name = self.router.get(request) File “c:\users\titus.dude\anaconda3\envs\substormfaq\lib\site-packages\sanic\router.py”, line 411, in get return self._get(request.path, request.method, “”) File “c:\users\titus.dude\anaconda3\envs\substormfaq\lib\site-packages\sanic\router.py”, line 475, in _get raise NotFound(“Requested URL {} not found”.format(url)) sanic.exceptions.NotFound: Requested URL /socket.io/ not found Exception occurred while handling uri: ‘http://localhost:5005/socket.io/?EIO=3&transport=polling&t=NAP8Kfk’ Traceback (most recent call last): File “c:\users\titus.dude\anaconda3\envs\substormfaq\lib\site-packages\sanic\app.py”, line 940, in handle_request handler, args, kwargs, uri, name = self.router.get(request) File “c:\users\titus.dude\anaconda3\envs\substormfaq\lib\site-packages\sanic\router.py”, line 411, in get return self._get(request.path, request.method, “”) File “c:\users\titus.dude\anaconda3\envs\substormfaq\lib\site-packages\sanic\router.py”, line 475, in _get raise NotFound(“Requested URL {} not found”.format(url)) sanic.exceptions.NotFound: Requested URL /socket.io/ not found

Can you please help me solve this problem? Thank you.

Hi @Titus!

You might have a socketio based client (like rasa-webchat) open in your browser. Close the client before starting shell.

Hope that helps. :slightly_smiling_face:

Hello @saurabh-m523!

Thank you. Yes, that was the problem. Have a great day! :slight_smile: