# Mongodb Error : pool is draining / pool destroyed

**URL:** <https://discourse.nodered.org/t/mongodb-error-pool-is-draining-pool-destroyed/37470>\
**Category:** General\
**Created:** [14 December 2020 10:06 UTC](https://discourse.nodered.org/t/mongodb-error-pool-is-draining-pool-destroyed/37470 "2020-12-14T10:06:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![udusa](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/udusa/32/26151_2.png) [@udusa](https://discourse.nodered.org/u/udusa)\
**Post date:** [14 December 2020 10:06 UTC](https://discourse.nodered.org/t/mongodb-error-pool-is-draining-pool-destroyed/37470/1 "2020-12-14T10:06:47Z")

</div>

Hello,

I have a MongoDB server on a local network and a flow with a node-red-node-mongodb node, all works fines, but if for certain amount of time the mongodb server aren't available i am starting to get the following error : "MongoError: pool is draining, new operations prohibited" (update() node), then once the mongo server up/available again i am getting the "MongoError: pool destroyed"(find() node) error.

The problem is that "node-red-node-mongodb" node doesn’t reconnect.  
Any suggestions?

Thanks very much.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [12 February 2021 10:06 UTC](https://discourse.nodered.org/t/mongodb-error-pool-is-draining-pool-destroyed/37470/2 "2021-02-12T10:06:57Z")

</div>

Closed on 12 February 2021 10:06 UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
