Duckling - RASA(Windows - have not used dockers)

I have installed duckling but not using docker. I have resolved all the errors raised during the build, by following instructions in the below file.

But still I am facing the error:

rasa.nlu.extractors.duckling_http_extractor - Failed to connect to duckling http server. Make sure the duckling server is running/healthy/not stale and the 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. Error: HTTPConnectionPool(host=ā€˜ducklingā€™, port=8000): Max retries exceeded with url: /parse (Caused by NewConnectionError(ā€˜<urllib3.connection.HTTPConnection object at 0x000001C037514208>: Failed to establish a new connection: [Errno 11001] getaddrinfo failedā€™))

Even when I am trying to execute the duckling-example-exe as below: stack exec duckling-example-exe This is the response: no port specified, defaulting to port 8000 Listening on http://0.0.0.0:8000

I would appreciate if anyone could help in resolving this error

i am also getting the same error on windows please help me if you can able to solve

Hi Varun,

Ensure that you have performed all the changes required for duckling windows added specfific fixes to run it on windows by allardy Ā· Pull Request #1 Ā· botpress/duckling Ā· GitHub

Perform the stack build and stack test (will help you understand where the issue is if the test fails), before executing the command stack exec duckling-example-exe

Once you see listening, open http://0.0.0.0:8000/ in the browser, if quack is displayed then duckling server has been properly set up and can take up requests.

Let me know if this helpsā€¦

1 Like

@aalaya6 Iā€™m relatively new and am struggling with getting duckling to work. Can you connect with me to explain how you installed Duckling without docker?