Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1885

connection 3 to cluster0-shard-00-00-z4j9e.azure.mongodb.net:27017 closed

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      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

       

            Assignee:
            daniel.aprahamian@mongodb.com Daniel Aprahamian (Inactive)
            Reporter:
            ekkis erick calder
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: