Details
-
Bug
-
Resolution: Won't Do
-
Unknown
-
None
-
None
-
None
Description
Summary
I'm currently experiencing a frustrating "bug". I've this error randomly appearing :
PoolClearedError [MongoPoolClearedError]: Connection pool for ....com:27017 was cleared because another operation failed with: "connection <monitor> to [...::]:27017 timed out"
Environment
- Nodejs v18.15.0
- mongoose v7.3.1
- mongodb v6.0.6
-Debian 11
- Replica set with 2 nodes (self hosted)
How to Reproduce
- I have sadly no idea about how to reproduce :/ My server is clearly not overloaded :

and the bug randomly pop out.
Additional Background
I'm running my code as usual, and this error comes sometimes after 5 our 6 hours, sometimes 2 minutes after i start my process