sanic.exceptions.NotFound: Requested URL /socket.io not found

I am getting this error after running the command rasa shell and when chatting. can some one help me sorting out this.

**Your input ->  hi**                                                                                                                                                                                 
> Exception occurred while handling uri: 'http://localhost:5005/socket.io/?EIO=4&transport=polling&t=NvxPG-L'
> Traceback (most recent call last):
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic_routing/router.py", line 79, in resolve
>     route, param_basket = self.find_route(
>   File "", line 9, in find_route
> sanic_routing.exceptions.NotFound: Not Found
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic_routing/router.py", line 79, in resolve
>     route, param_basket = self.find_route(
>   File "", line 9, in find_route
> sanic_routing.exceptions.NotFound: Not Found
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic/router.py", line 33, in _get
>     return self.resolve(
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic_routing/router.py", line 90, in resolve
>     return self.resolve(
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic_routing/router.py", line 96, in resolve
>     raise self.exception(str(e), path=path)
> sanic_routing.exceptions.NotFound: Not Found
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic/app.py", line 723, in handle_request
>     route, handler, kwargs = self.router.get(
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic/router.py", line 61, in get
>     return self._get(path, method, host)
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic/router.py", line 39, in _get
>     raise NotFound("Requested URL {} not found".format(e.path))
> sanic.exceptions.NotFound: Requested URL /socket.io not found
> Exception occurred while handling uri: 'http://localhost:5005/socket.io/?EIO=4&transport=polling&t=NvxPNNu'
> Traceback (most recent call last):
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic_routing/router.py", line 79, in resolve
>     route, param_basket = self.find_route(
>   File "", line 9, in find_route
> sanic_routing.exceptions.NotFound: Not Found
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic_routing/router.py", line 79, in resolve
>     route, param_basket = self.find_route(
>   File "", line 9, in find_route
> sanic_routing.exceptions.NotFound: Not Found
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic/router.py", line 33, in _get
>     return self.resolve(
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic_routing/router.py", line 90, in resolve
>     return self.resolve(
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic_routing/router.py", line 96, in resolve
>     raise self.exception(str(e), path=path)
> sanic_routing.exceptions.NotFound: Not Found
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic/app.py", line 723, in handle_request
>     route, handler, kwargs = self.router.get(
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic/router.py", line 61, in get
>     return self._get(path, method, host)
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic/router.py", line 39, in _get
>     raise NotFound("Requested URL {} not found".format(e.path))
> sanic.exceptions.NotFound: Requested URL /socket.io not found
> Exception occurred while handling uri: 'http://localhost:5005/socket.io/?EIO=4&transport=polling&t=NvxPSnB'
> Traceback (most recent call last):
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic_routing/router.py", line 79, in resolve
>     route, param_basket = self.find_route(
>   File "", line 9, in find_route
> sanic_routing.exceptions.NotFound: Not Found
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic_routing/router.py", line 79, in resolve
>     route, param_basket = self.find_route(
>   File "", line 9, in find_route
> sanic_routing.exceptions.NotFound: Not Found
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic/router.py", line 33, in _get
>     return self.resolve(
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic_routing/router.py", line 90, in resolve
>     return self.resolve(
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic_routing/router.py", line 96, in resolve
>     raise self.exception(str(e), path=path)
> sanic_routing.exceptions.NotFound: Not Found
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic/app.py", line 723, in handle_request
>     route, handler, kwargs = self.router.get(
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic/router.py", line 61, in get
>     return self._get(path, method, host)
>   File "/Users/rajithabandara/opt/anaconda3/envs/rasabotv3/lib/python3.8/site-packages/sanic/router.py", line 39, in _get
>     raise NotFound("Requested URL {} not found".format(e.path))
> sanic.exceptions.NotFound: Requested URL /socket.io not found

**Hello ! I am restaurant search assistant! How can I help?**

rasa --version

Rasa Version      :         3.0.3
Minimum Compatible Version: 3.0.0
Rasa SDK Version  :         3.0.2
Rasa X Version    :         0.42.2
Python Version    :         3.8.11
Operating System  :         macOS-10.16-x86_64-i386-64bit
Python Path       :         /Users/rajithabandara/opt/anaconda3/envs/rasabotv3/bin/python

@RajithaBandara please ref this thread for solution as its same rasa --version and machine [Mac]: Rasa 3.0 error socket.io - #13 by nik202

Gotcha: You need to solve all the compatability issue or even at the time of installation or upgrading rasa 3.0.3 and incase of depedency conflict etc you can even mention this --use-deprecated=legacy-resolver.

For this current issue discussion I also recommend the following threads (highly recommend) : TypeError on Rasa 3.0 'NoneType' object is not callable - #2 by ChrisRahme | Rasa 3.0 error socket.io - #34 by nik202

If you still not able to solve this issue please do mentin me @ nik202.

Thank you for the reply ill work on this.