# Unable to run the sample producer consumer application

**URL:** <https://community.okteto.com/t/unable-to-run-the-sample-producer-consumer-application/582>\
**Category:** Help\
**Created:** [February 2, 2023, 7:03am UTC](https://community.okteto.com/t/unable-to-run-the-sample-producer-consumer-application/582 "2023-02-02T07:03:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amg-1137](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/amg-1137/32/295_2.png) [@amg-1137](https://community.okteto.com/u/amg-1137)\
**Post date:** [February 2, 2023, 7:03am UTC](https://community.okteto.com/t/unable-to-run-the-sample-producer-consumer-application/582/1 "2023-02-02T07:03:12Z")

</div>

Hi, I am trying to run [GitHub - okteto/flask-producer-consumer](https://github.com/okteto/flask-producer-consumer).  
I have created the required okteto secret mentioned in the prereq.

 ![image](https://us1.discourse-cdn.com/flex019/uploads/okteto/original/1X/c1ef644cd179e4c68376b905e31c3bc37b1327bb.png)  
But when i try to run the project on Okteto i get the following error:

```auto
2023-02-02 03:56:45.45 UTCmongodb-0mongodb{"t":{"$date":"2023-02-02T03:56:45.455+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"0.0.0.0"}}
2023-02-02 03:56:45.45 UTCmongodb-0mongodb{"t":{"$date":"2023-02-02T03:56:45.455+00:00"},"s":"I", "c":"NETWORK", "id":23016, "ctx":"listener","msg":"Waiting for connections","attr":{"port":27017,"ssl":"off"}}
2023-02-02 04:00:33.00 UTCmongodb-0[pod-event](combined from similar events): Readiness probe errored: rpc error: code = Unknown desc = failed to exec in container: failed to start exec "ce1523ac75f4594dc46ffdb0e14644728c72e1d604635886625429b6be3bcbbc": OCI runtime exec failed: exec failed: unable to start container process: exec: "mongo": executable file not found in $PATH: unknown

```

Please let me know how to resolve this, thanks!

---

<div class="post-metadata">

**Author:** ![jLopezbarb](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/jlopezbarb/32/48_2.png) [@jLopezbarb](https://community.okteto.com/u/jLopezbarb)\
**Post date:** [February 2, 2023, 9:08am UTC](https://community.okteto.com/t/unable-to-run-the-sample-producer-consumer-application/582/2 "2023-02-02T09:08:06Z")

</div>

Hi @amg-1137,

The problem was under the mongo healthcheck section. mongo replaced its `mongo` binary with `mongosh`. We have updated the repo with the fix and you should be able to deploy it without any problems.

Let us know if the problem persists.

---

<div class="post-metadata">

**Author:** ![amg-1137](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/amg-1137/32/295_2.png) [@amg-1137](https://community.okteto.com/u/amg-1137)\
**Post date:** [February 2, 2023, 9:36am UTC](https://community.okteto.com/t/unable-to-run-the-sample-producer-consumer-application/582/3 "2023-02-02T09:36:56Z")

</div>

hi @jLopezbarb , that seems to have fixed it. Thank you.  
Another query i had is there is almost no documentation on how to use this sample code. Is there no documentation available? How do i check the test that is being produced?

---

<div class="post-metadata">

**Author:** ![jLopezbarb](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/jlopezbarb/32/48_2.png) [@jLopezbarb](https://community.okteto.com/u/jLopezbarb)\
**Post date:** [February 2, 2023, 10:30am UTC](https://community.okteto.com/t/unable-to-run-the-sample-producer-consumer-application/582/4 "2023-02-02T10:30:04Z")

</div>

Hi again @amg-1137,

We don’t have any documentation for this example (just the `README.md`). We created it as a way to validate the compose integration with the Okteto platform.
