-
Type: Bug
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Empty show more show less
as of this morning, I'm quite consistently getting these "transient" error upon issuing a query to MongoDB Atlas from nodejs:
{ MongoNetworkError: connection 3 to cluster0-shard-00-00-z4j9e.azure.mongodb.net:27017 closed at TLSSocket.<anonymous> (/Users/ekkis/dev/tst/node_modules/mongodb-core/lib/connection/connection.js:276:9) at Object.onceWrapper (events.js:277:13) at TLSSocket.emit (events.js:194:15) at _handle.close (net.js:610:12) at TCP.done (_tls_wrap.js:386:7) name: 'MongoNetworkError', errorLabels: [ 'TransientTransactionError' ], [Symbol(mongoErrorContextSymbol)]: {} }
I've added the `readPreference=secondary` field to the URI with the result that now queries don't come back at all
I no longer can access my database programatically, though I can access it via the desktop tool