# Rasa action server and duckling not running via docker compose

**URL:** <https://forum.rasa.com/t/rasa-action-server-and-duckling-not-running-via-docker-compose/54298>\
**Category:** Getting Started with Rasa\
**Created:** [July 13, 2022, 4:46pm UTC](https://forum.rasa.com/t/rasa-action-server-and-duckling-not-running-via-docker-compose/54298 "2022-07-13T16:46:45Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![srishti](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@srishti](https://forum.rasa.com/u/srishti)\
**Post date:** [July 13, 2022, 4:46pm UTC](https://forum.rasa.com/t/rasa-action-server-and-duckling-not-running-via-docker-compose/54298/1 "2022-07-13T16:46:45Z")

</div>

Hi @nik202 , I have recently started to develop a chatbot using rasa and currently I am trying to talk to a bot using docker compose. I have set up a docker compose file, a docker file in the main folder and a docker file in the action folder. I have made sure that the action-server defined in the docker compose is same in the endpoints.yml file and followed the solution at- [Unable to run Duckling server using docker-compose - Rasa Open Source - Rasa Community Forum](http://forum.rasa.com/t/unable-to-run-duckling-server-using-docker-compose/51085).

When I run the docker compose file, the duckling, rasa server and action server starts but when I try to talk to the bot, the first error is “Failed to connect to duckling server” and also all the “action session” fails to start.

[docker-compose.yml](https://forum.rasa.com/uploads/short-url/wlEBp3Qi61Dxh7JNldtecNddtql.yml) (772 Bytes) [Dockerfile](https://forum.rasa.com/uploads/short-url/vMU9foKky9BKNHpRrgrN7GNQuls) (255 Bytes) [Dockerfile\_Action](https://forum.rasa.com/uploads/short-url/nICUCRBPPoTWCpl57rIAFDCKNn8) (214 Bytes)

Error on starting shell is: ‘’’ ERROR rasa.core.actions.action - Failed to run custom action ‘action\_session\_start’. Couldn’t connect to the server at ‘[http://action-server:5056/webhook](http://action-server:5056/webhook)’. Is the server running? Error: Cannot connect to host action-server:5056 ssl:default [Name or service not known] 2022-07-13 16:43:48 ERROR rasa.core.processor - Encountered an exception while running action ‘action\_session\_start’.Bot will continue, but the actions events are lost. Please check the logs of your action server for more information. ‘’’

‘’’ ERROR rasa.nlu.extractors.duckling\_entity\_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.](https://github.com/facebook/duckling#quickstart) Error: HTTPConnectionPool(host=‘localhost’, port=8000): Max retries exceeded with url: /parse (Caused by NewConnectionError(‘\<urllib3.connection.HTTPConnection object at 0x7f9d4c5ef490\>: Failed to establish a new connection: [Errno 111] Connection refused’)) ‘’’

I am using Rasa version 2.2.9

Please give suggestions to enable my bot and let me know if any further information is required.

Thank you

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [July 14, 2022, 6:36pm UTC](https://forum.rasa.com/t/rasa-action-server-and-duckling-not-running-via-docker-compose/54298/2 "2022-07-14T18:36:14Z")

</div>

@srishti why are you using 2.2.9 for any specific reason?

---

<div class="post-metadata">

**Author:** ![srishti](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@srishti](https://forum.rasa.com/u/srishti)\
**Post date:** [July 15, 2022, 5:55am UTC](https://forum.rasa.com/t/rasa-action-server-and-duckling-not-running-via-docker-compose/54298/3 "2022-07-15T05:55:53Z")

</div>

Hi @nik202, thank you for your reply. No specific reason for using rasa-2.2.9. I am trying to implement the bot from the git hub link: [sumantas98/Financial-Services-Bot: ✨ This is an example chatbot demonstrating how to build AI assistants for financial services and banking. (github.com)](https://github.com/sumantas98/Financial-Services-Bot) so, because of the requirements file, that version gets installed.

---

<div class="post-metadata">

**Author:** ![srishti](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@srishti](https://forum.rasa.com/u/srishti)\
**Post date:** [July 18, 2022, 1:27pm UTC](https://forum.rasa.com/t/rasa-action-server-and-duckling-not-running-via-docker-compose/54298/4 "2022-07-18T13:27:59Z")

</div>

Hi, Please suggest me the solution… Thank you

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [July 18, 2022, 11:19pm UTC](https://forum.rasa.com/t/rasa-action-server-and-duckling-not-running-via-docker-compose/54298/5 "2022-07-18T23:19:57Z")

</div>

Did you followed every instructions mentioned ?

---

<div class="post-metadata">

**Author:** ![srishti](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@srishti](https://forum.rasa.com/u/srishti)\
**Post date:** [July 19, 2022, 4:10am UTC](https://forum.rasa.com/t/rasa-action-server-and-duckling-not-running-via-docker-compose/54298/6 "2022-07-19T04:10:39Z")

</div>

yes, can you please check my docker files and docker compose file, there might be any mistake in them, that I could not find…Thanks

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [July 19, 2022, 1:25pm UTC](https://forum.rasa.com/t/rasa-action-server-and-duckling-not-running-via-docker-compose/54298/7 "2022-07-19T13:25:44Z")

</div>

Can we discuss over quick call @srishti do let me know. I have 30 mins. Thanks.

---

<div class="post-metadata">

**Author:** ![srishti](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@srishti](https://forum.rasa.com/u/srishti)\
**Post date:** [July 19, 2022, 1:48pm UTC](https://forum.rasa.com/t/rasa-action-server-and-duckling-not-running-via-docker-compose/54298/8 "2022-07-19T13:48:57Z")

</div>

Hi @nik202 , yes sure, just saw your reply.

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [July 19, 2022, 2:00pm UTC](https://forum.rasa.com/t/rasa-action-server-and-duckling-not-running-via-docker-compose/54298/9 "2022-07-19T14:00:07Z")

</div>

Hi going in meeting but will message after 30min so be active ok @srishti

---

<div class="post-metadata">

**Author:** ![srishti](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@srishti](https://forum.rasa.com/u/srishti)\
**Post date:** [July 19, 2022, 2:02pm UTC](https://forum.rasa.com/t/rasa-action-server-and-duckling-not-running-via-docker-compose/54298/10 "2022-07-19T14:02:22Z")

</div>

ok sure, yes, thank you

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [July 21, 2022, 9:02am UTC](https://forum.rasa.com/t/rasa-action-server-and-duckling-not-running-via-docker-compose/54298/13 "2022-07-21T09:02:19Z")

</div>

@srishti hope this thread helped you to archive your solution [Dockerizing my rasa chatbot application that has botfront - #11 by nik202](http://forum.rasa.com/t/dockerizing-my-rasa-chatbot-application-that-has-botfront/46096/11)

---

<div class="post-metadata">

**Author:** ![Odom](https://avatars.discourse-cdn.com/v4/letter/o/e495f1/32.png) [@Odom](https://forum.rasa.com/u/Odom)\
**Post date:** [August 9, 2022, 6:02pm UTC](https://forum.rasa.com/t/rasa-action-server-and-duckling-not-running-via-docker-compose/54298/14 "2022-08-09T18:02:56Z")

</div>

I also have the same problem.
