cedextech / rasa-chatbot-templates

RASA chatbot use case boilerplate
https://www.kirandev.com
MIT License
304 stars 194 forks source link

Requested URL /webhook not found #1

Closed nathy84 closed 4 years ago

nathy84 commented 4 years ago

Hello

I try to start the code with rasa shell -p 5055 Unfortunately I get an error message: (venv) cp058:AI-News username$ rasa shell -p 5055 2019-11-22 11:36:27 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. 2019-11-22 11:36:27 INFO root - Starting Rasa server on http://localhost:5055 2019-11-22 11:36:31 INFO absl - Entry Point [tensor2tensor.envs.tic_tac_toe_env:TicTacToeEnv] registered with id [T2TEnv-TicTacToeEnv-v0] Bot loaded. Type a message and press enter (use '/stop' to exit): Your input -> Book room
Exception occurred while handling uri: 'http://localhost:5055/webhook' Traceback (most recent call last): File "/Users/burgener/Documents/Scripting/Python/AI-News/venv/lib/python3.6/site-packages/sanic/app.py", line 918, in handle_request handler, args, kwargs, uri = self.router.get(request) File "/Users/burgener/Documents/Scripting/Python/AI-News/venv/lib/python3.6/site-packages/sanic/router.py", line 407, in get return self._get(request.path, request.method, "") File "/Users/burgener/Documents/Scripting/Python/AI-News/venv/lib/python3.6/site-packages/sanic/router.py", line 470, in _get raise NotFound("Requested URL {} not found".format(url)) sanic.exceptions.NotFound: Requested URL /webhook not found 2019-11-22 11:36:39 ERROR rasa.core.processor - Encountered an exception while running action 'action_book_rooms'. Bot will continue, but the actions events are lost. Please check the logs of your action server for more information.

Any idea what I'm doing wrong?

freakeinstein commented 4 years ago

I believe that you're not running Actions server. To do that, open a new terminal and run command rasa run actions.

freakeinstein commented 4 years ago

Hope the issue is solved. Closing.