# Rasa with mongodb

**URL:** https://community.okteto.com/t/rasa-with-mongodb/287
**Category:** Help
**Created:** [October 11, 2022, 3:06pm UTC](https://community.okteto.com/t/rasa-with-mongodb/287 "2022-10-11T15:06:30Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Hebifa.Rafiki](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/hebifa.rafiki/32/182_2.png) [@Hebifa.Rafiki](https://community.okteto.com/u/Hebifa.Rafiki)
#### Post date: [October 11, 2022, 3:06pm UTC](https://community.okteto.com/t/rasa-with-mongodb/287/1 "2022-10-11T15:06:30Z")

</div>

Been trying to setup rasa with mongodb tracker store and i am completely stuck for the past three days and i am frustrated and need community help.

I keep getting the error message **ConnectionException: Cannot connect to tracker store.mongodb:29017: timed out**

---

<div class="post-metadata">

### Author: ![ramiro](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/ramiro/32/6_2.png) [@ramiro](https://community.okteto.com/u/ramiro)
#### Post date: [October 12, 2022, 5:01pm UTC](https://community.okteto.com/t/rasa-with-mongodb/287/2 "2022-10-12T17:01:48Z")

</div>

Hi @Hebifa.Rafiki. Could you share a repository or code snippets of your code and configuration?

Based on the error, I’d check to see if the name of your MongoDB services matches hostname you are using in the connection string.

---

<div class="post-metadata">

### Author: ![Hebifa.Rafiki](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/hebifa.rafiki/32/182_2.png) [@Hebifa.Rafiki](https://community.okteto.com/u/Hebifa.Rafiki)
#### Post date: [October 15, 2022, 1:38am UTC](https://community.okteto.com/t/rasa-with-mongodb/287/3 "2022-10-15T01:38:16Z")

</div>

Thanks @romiro for getting back. I ginally got it workinng. i noticed i had not initialized mongodb with a user and password and after initialization i was able to see a connection to it and it was successfully added as a tracker store.

However in order to access the mongodb through a client, i tried with Mongo Compass but the connection would not work completely. I am currently trying Mongo Express which i included in the docker-compose file but i have observed two things

1. My Logs files from my okteto namespace for mongo-express is continously in loading state so i am unable to see the logs for the deployment process of mongo-express

2. Mongo Express is reported to have successfully deployed (at least from the logs after running okteto up) but from the namespace it is continuously in Progressing mode for a very long time and then it terminates

 ![image](https://us1.discourse-cdn.com/flex019/uploads/okteto/original/1X/4b0bf2bbc373c07fc20479f4166da9d1cb957934.png)

---

<div class="post-metadata">

### Author: ![Hebifa.Rafiki](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/hebifa.rafiki/32/182_2.png) [@Hebifa.Rafiki](https://community.okteto.com/u/Hebifa.Rafiki)
#### Post date: [October 15, 2022, 1:44am UTC](https://community.okteto.com/t/rasa-with-mongodb/287/4 "2022-10-15T01:44:24Z")

</div>

Thank you @romiro for getting back. I finally got it working. I noticed i needed to initiate and create a new user at initialization and after doing this i was able to connect.

However, when i add mongo-express in the docker file, when i check the okteto namespace, it stays in Progressing for a long time and later terminates with an error.

 ![image](https://us1.discourse-cdn.com/flex019/uploads/okteto/original/1X/b3bc371f38714ec387cc6e091ca368b780c244b0.png)

The logging also stays at loading so i am not able to view the okteto logs.

How do i get mongo-express to work. i cannot see the logs from okteto namespace

---

<div class="post-metadata">

### Author: ![Hebifa.Rafiki](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/hebifa.rafiki/32/182_2.png) [@Hebifa.Rafiki](https://community.okteto.com/u/Hebifa.Rafiki)
#### Post date: [October 16, 2022, 2:58am UTC](https://community.okteto.com/t/rasa-with-mongodb/287/5 "2022-10-16T02:58:32Z")

</div>

[https://github.com/A4Ayub/Grace](https://github.com/A4Ayub/Grace) \<== This is where the repo is.

---

<div class="post-metadata">

### Author: ![ramiro](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/ramiro/32/6_2.png) [@ramiro](https://community.okteto.com/u/ramiro)
#### Post date: [October 18, 2022, 3:10am UTC](https://community.okteto.com/t/rasa-with-mongodb/287/6 "2022-10-18T03:10:01Z")

</div>

@Hebifa.Rafiki the repo is private, or non-existing. I was able to launch mongo and mongo-express [using this configuration](https://github.com/rberrelleza/mongo-express) without any issue, in case it helps.

---

<div class="post-metadata">

### Author: ![Hebifa.Rafiki](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/hebifa.rafiki/32/182_2.png) [@Hebifa.Rafiki](https://community.okteto.com/u/Hebifa.Rafiki)
#### Post date: [October 21, 2022, 8:17am UTC](https://community.okteto.com/t/rasa-with-mongodb/287/7 "2022-10-21T08:17:56Z")

</div>

Please share your github details i give you access.

We seem to be having alot of challenges with this.

In the meantime let me try follow your instructions and see if we will  
be able to launch the mongo-express

Quoting Ramiro Berrelleza via Okteto Community  
[notifications@okteto.discoursemail.com](mailto:notifications@okteto.discoursemail.com):

---

<div class="post-metadata">

### Author: ![Hebifa.Rafiki](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/hebifa.rafiki/32/182_2.png) [@Hebifa.Rafiki](https://community.okteto.com/u/Hebifa.Rafiki)
#### Post date: [October 21, 2022, 2:15pm UTC](https://community.okteto.com/t/rasa-with-mongodb/287/8 "2022-10-21T14:15:43Z")

</div>

@ramiro i followed your steps and was able to successfully connect mongodb-express and even login from the browser.

Thank you very much. You have been helpful. I will create a new issue separate from this one which i am facing. It is regarding action server. Please allow me to mention you on the issue which i had raised earlier and mentioned someone else but i have not got a response.

---

<div class="post-metadata">

### Author: ![Hebifa.Rafiki](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/hebifa.rafiki/32/182_2.png) [@Hebifa.Rafiki](https://community.okteto.com/u/Hebifa.Rafiki)
#### Post date: [November 7, 2022, 2:01am UTC](https://community.okteto.com/t/rasa-with-mongodb/287/9 "2022-11-07T02:01:08Z")

</div>

Hi Ramiro,

I have made significant progress with deployments and this is just  
amazing.

I have sent an email to add custom domains into our namespace. Could you  
kindly help with that.

Regards
