[SOLVED] Duckling error while I run the demo chatbot in Window


I was trying to run the demo chatbot from GitHub - RasaHQ/rasa-demo: An example of a cool Rasa bot

I was getting the below error in Window 7 and I am not sure how to resolve this error. My rasa core and NLU are latest version.

2018-10-03 21:38:26 ERROR rasa_nlu.extractors.duckling_http_extractor - Failed to connect to duckling http server. Make sure the duckling server is running and t he proper host and port are set in the configuration. More information on how to run the server can be found on github: GitHub - facebook/duckling: Language, engine, and tooling for expressing, testing, and evaluating composable language rules on input strings. rt Error: HTTPConnectionPool(host=‘localhost’, port=8000): Max retries exceeded with url: /parse (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection ob ject at 0x0000000011BBACC0>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it’,))

Please follow the instructions in the readme, you need to run the duckling server

Thank you very much. Now I am able to run the docker and the demo app.

1 Like