Exception occurred while handling uri: 'http://localhost:5005/favicon.ico
See original GitHub issuehello, I install rasa X new version,run “rasa shell”,It’s error, I get this inspecting the core logs:
2019-07-30 13:23:09,608 [ERROR] Exception occurred while handling uri: 'http://localhost:5005/'
Traceback (most recent call last):
File "/home/duan/anaconda3/lib/python3.7/site-packages/sanic/app.py", line 893, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/duan/anaconda3/lib/python3.7/site-packages/sanic/router.py", line 407, in get
return self._get(request.path, request.method, "")
File "/home/duan/anaconda3/lib/python3.7/site-packages/sanic/router.py", line 469, in _get
raise NotFound("Requested URL {} not found".format(url))
sanic.exceptions.NotFound: Requested URL / not found
2019-07-30 13:23:17,398 [ERROR] Exception occurred while handling uri: 'http://localhost:5005/favicon.ico'
Traceback (most recent call last):
File "/home/duan/anaconda3/lib/python3.7/site-packages/sanic/app.py", line 893, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/duan/anaconda3/lib/python3.7/site-packages/sanic/router.py", line 407, in get
return self._get(request.path, request.method, "")
File "/home/duan/anaconda3/lib/python3.7/site-packages/sanic/router.py", line 469, in _get
raise NotFound("Requested URL {} not found".format(url))
sanic.exceptions.NotFound: Requested URL /favicon.ico not found
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Rasa Open Source
when chat with rasa in terminal i get below exception. Exception occurred while handling uri: 'http://localhost:5005/favicon.ico' Traceback ...
Read more >I'm getting favicon.ico error - Stack Overflow
When I run my code, chrome is opening and everything is working just fine. I'm getting some sort of error in the Output...
Read more >Error [ERROR] Exception occurred while handling on async ...
On await asyncio.sleep(0.1) I am getting error: [ERROR] Exception occurred while handling uri: 'http://127.0.0.1:8000/api/new-answer'.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello, I tried to open it in a browser, with address http://localhost:5005, it returned ‘hello from Rasa 1.2.5’ but http://localhost:5005/favicon.ico, it returned the error above. But if I don’t open the browser, and test in another terminal, for example I sent:
It replied me
[{"recipient_id":"Me","text":"I'm doing very well. Thanks!"}]
I have this as well
Running Windows 10, fwiw.
When I initially execute
rasa run
there are no errors in the console.Simply hitting the url : http://localhost:5005/ correctly show this in the browser:
Hello from Rasa: 1.2.5
However hitting that url in the browser causes the following to display in the console:
I don’t think it’s a big deal, it’s simply not finding the favicon file when the Sanic server spins up.
Just for fun I dropped a random one in the root of the project, restarted rasa but that didn’t seem to help, which makes sense, the Sanic server DocRoot is probably elsewhere.
edit: Just to verify this is the result of a 404, the ngrok console displays this: