-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Environment:server running on ubuntu, database runs as cosmosdb in ms azure
So I am using this driver against azure cosmosdb with the MongoDB interface.
There seems to be load balancer in between me and the DB and whenever this one returns errors to the driver which seem to be manifesting in this example:
```
mongo error:The server returned an invalid reply to a database operation: missing field `n`
```
then the connection does not get closed but stays unusable and will now return errors on each following request.
so my question now is: is there a way to do this from my code side or does it require. changes in the driver?